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

git: kernel - Make the x86-64 double-fault exception operational


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Oct 2010 12:03:08 -0700 (PDT)

commit 093565f2299e17b9488a3a58197f6d9bab0cca9e
Author: Matthew Dillon <dillon@apollo.backplane.com>
Date:   Fri Oct 29 12:00:35 2010 -0700

    kernel - Make the x86-64 double-fault exception operational
    
    * Finish implementing the double-fault exception.  Only cpu0 implemented
      the proper interrupt stack configuration before.  Now all cpus implement
      the proper interrupt stack.
    
    * For x86-64 use the idle thread stack for the double-fault exception
      stack for now (probably not the best idea but better than nothing).
    
    * For both i386 and x86-64, when a double fault occurs, report whether
      it is a generic double fault or whether it is due to a kernel stack
      guard.

Summary of changes:
 sys/platform/pc32/i386/trap.c         |   22 ++++++++++++++++++++--
 sys/platform/pc64/x86_64/machdep.c    |    8 ++++----
 sys/platform/pc64/x86_64/mp_machdep.c |    9 ++++++---
 sys/platform/pc64/x86_64/trap.c       |   25 ++++++++++++++++++++++++-
 4 files changed, 54 insertions(+), 10 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/093565f2299e17b9488a3a58197f6d9bab0cca9e


-- 
DragonFly BSD source repository



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