git: kernel - Misc fixes and debugging

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Dec 12 09:42:05 PST 2011


commit 3338cc67bf8b657fca8ae9544aa3f89bb32cffb8
Author: Matthew Dillon <dillon at 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





More information about the Commits mailing list