git: kernel - Misc fixes and debugging

看板DFBSD_commit作者時間14年前 (2011/12/28 02:05), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
commit 3338cc67bf8b657fca8ae9544aa3f89bb32cffb8 Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Mon Dec 12 09:37:20 2011 -0800 kernel - Misc fixes and debugging * Add required CLDs in the exception paths. The interrupt paths already CLD in PUSH_FRAME. * Note that the fast_syscall (SYSENTER) path has an implied CLD due to the hardware mask applied to rflags. * Add the IOPL bits to the set of bits set to 0 during a fast_syscall. * When creating a dummy interrupt frame we don't have to push the actual %cs. Just push $0 so the frame isn't misinterpreted as coming from userland. * Additional debug verbosity for freeze_on_seg_fault. * Reserve two void * fields for LWP debugging (for a later commit) Summary of changes: sys/platform/pc32/i386/exception.s | 2 +- sys/platform/pc64/apic/apic_vector.s | 21 +++++++--- sys/platform/pc64/x86_64/exception.S | 3 + sys/platform/pc64/x86_64/ipl.s | 2 +- sys/platform/pc64/x86_64/machdep.c | 2 +- sys/platform/pc64/x86_64/mp_machdep.c | 2 +- sys/platform/pc64/x86_64/swtch.s | 5 ++ sys/platform/pc64/x86_64/trap.c | 7 ++- sys/platform/pc64/x86_64/vm_machdep.c | 68 ++++++++++++++++++++++++++++++++- sys/sys/proc.h | 2 + 10 files changed, 100 insertions(+), 14 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3338cc67bf8b657fca8ae9544aa3f89bb32cffb8 -- DragonFly BSD source repository
文章代碼(AID): #1E-WZKse (DFBSD_commit)