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

看板DFBSD_commit作者時間15年前 (2011/02/01 06:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1DHp4X2U (DFBSD_commit)