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

看板DFBSD_commit作者時間15年前 (2010/11/20 09:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CvoL2eH (DFBSD_commit)