git: kernel64 - Fix disabled interrupts during dbg/bpt trap
Matthew Dillon
dillon at crater.dragonflybsd.org
Mon Jan 31 13:43:32 PST 2011
commit bd52bedfc1ee463fcac536b3095817ff4400c191
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/bd52bedfc1ee463fcac536b3095817ff4400c191
--
DragonFly BSD source repository
More information about the Commits
mailing list