DragonFly BSD
DragonFly commits List (threaded) for 2011-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: kernel64 - Fix disabled interrupts during dbg/bpt trap


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 31 Jan 2011 13:42:37 -0800 (PST)

commit bd52bedfc1ee463fcac536b3095817ff4400c191
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]