Add an INVARIANTS test in both the trap code and system call code. The
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 20:59:19 +0000 (20:59 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 5 Jun 2006 20:59:19 +0000 (20:59 +0000)
commit7527bc819259c99c88098ec29e1b6b827d3780db
tree6b5ff664958b5c79eabfdd5e252490ababe6c271
parentb1f72a5cb80b7421ea152515e8aa4ea8054543db
Add an INVARIANTS test in both the trap code and system call code.  The
system will now panic if the critical section count recorded at the beginning
of a system call or trap does not match the count recorded at the end.
sys/i386/i386/trap.c
sys/platform/pc32/i386/trap.c