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

Matthew Dillon dillon at
Fri Oct 29 12:05:52 PDT 2010

commit 093565f2299e17b9488a3a58197f6d9bab0cca9e
Author: Matthew Dillon <dillon at>
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

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(-)

DragonFly BSD source repository

More information about the Commits mailing list