Commit Graph

7 Commits

Author SHA1 Message Date
9f757efa5e interrupt: move ReloadSegments before enabling interrupt 2021-11-07 17:55:43 +08:00
3b9fc2f4d0 interrupt: remove global IDTR/GDTR
LIDT/LGDT is now called with addresses in stack
2021-11-07 17:48:41 +08:00
b89617b46a interrupt: load data segment 0 instead of 2 2021-10-14 15:52:38 +08:00
aa11d25fa8 interrupt: load GDT/IDT on the stack
We have to use a separate Assembly function to do that, but maybe with some effort we can make that inline too
2021-10-14 15:51:50 +08:00
ebdc816d82 interrupt: make LoadIDT/GDT() inline 2021-10-14 14:45:57 +08:00
4b59394238 interrupt: dump all registers and panic on INT<32 2021-10-11 22:52:02 +08:00
d25da95e1e Initial commit 2021-10-10 14:39:17 +08:00