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

git: kernel - Misc fixes and debugging


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 12 Dec 2011 09:40:17 -0800 (PST)

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



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