diff options
author | Luca Dariz <luca@orpolo.org> | 2023-07-29 19:45:14 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-08-04 23:34:18 +0200 |
commit | 8b29b18fda413928c32473475ca51aa05c52db18 (patch) | |
tree | e3dca31b5321ae00d7c88b5dc6a78161622fcbeb /kern/timer.c | |
parent | bdcafee412ab6eec58f6b315e16e57fe3dad002f (diff) | |
download | gnumach-8b29b18fda413928c32473475ca51aa05c52db18.tar.gz gnumach-8b29b18fda413928c32473475ca51aa05c52db18.tar.bz2 gnumach-8b29b18fda413928c32473475ca51aa05c52db18.zip |
x86_64: install emergency handler for double fault
* i386/i386/idt.c: add selector for the interrupt-specific stack
* i386/i386/ktss.c: configure ist1 to use a dedicated stack
* i386/i386/trap.c: add double fault handler, which just prints the
state and panics. There is not much else to do in this case but it's
useful for troubleshooting
* x86_64/idt_inittab.S: allow to specify an interrupt stack for custom
handlers
* x86_64/locore.S: add double fault handler
Message-Id: <20230729174514.1145656-1-luca@orpolo.org>
Diffstat (limited to 'kern/timer.c')
0 files changed, 0 insertions, 0 deletions