Unbreak the nmi handler (again): I placed INTR_CLEAR_GPRS in the wrong
authorguenther <guenther@openbsd.org>
Thu, 12 Jul 2018 14:24:54 +0000 (14:24 +0000)
committerguenther <guenther@openbsd.org>
Thu, 12 Jul 2018 14:24:54 +0000 (14:24 +0000)
commit3434ff5a2266b4215fe9d80f494f74f0f7c86b7e
treed56c9e958860287fb290bb65d560bab0c0d161f0
parent57cf9fc6a015052413f67fc403f07f33be10bf87
Unbreak the nmi handler (again): I placed INTR_CLEAR_GPRS in the wrong
place and GS.base was horked on return.  Also, the frame passed to ddb
didn't have the %rbp<-->tf_err swap, which would have confused backtraces.
Now if we can just come up with a way to automate testing the NMI handler
with qemu...
sys/arch/amd64/amd64/vector.S