npx_intr() expects an interrupt frame but was given something inbetween an
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 15 Jan 2004 00:03:08 +0000 (00:03 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 15 Jan 2004 00:03:08 +0000 (00:03 +0000)
commitbc588e93d717531ddba3a8fb4d1b54155ed5c15d
treea290f9d919250ee70c77a30d9ea452b111ac38b0
parente135993399aedd98cc2e83e3b3ea23cbd868221f
npx_intr() expects an interrupt frame but was given something inbetween an
interrupt frame and a trap frame, causing a panic.  Save/restore %ebx
(the CPL) just like the other entry points in this file do, push the
two 32 bit words required to convert the trap frame into an interrupt
frame, and clean up the frame on return for the jump to doreti.

Reported-by: David Rhodus <drhodus@catpa.com>
sys/i386/i386/exception.s
sys/platform/pc32/i386/exception.s