git: kernel64 - Fix disabled interrupts during dbg/bpt trap
dillon at crater.dragonflybsd.org
Mon Jan 31 13:43:32 PST 2011
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Mon Jan 31 13:40:55 2011 -0800
kernel64 - Fix disabled interrupts during dbg/bpt trap
* Interrupts were left improperly disabled during a dbg or bpt trap.
i386 enables interrupts for these traps. x86-64 needs to as well
or it will hit an assertion in lwkt_switch() under certain circumstances.
* Make debug code in lwkt_switch() also require INVARIANTS to function.
NOTE: This is temporary debug code and should be removed at some point
after 48-core testing is complete.
Summary of changes:
sys/kern/lwkt_thread.c | 2 +-
sys/platform/pc64/x86_64/exception.S | 15 ++++++++++-----
2 files changed, 11 insertions(+), 6 deletions(-)
DragonFly BSD source repository
More information about the Commits