Commit Graph

6 Commits

Author SHA1 Message Date
c4b4dbeb18 interrupt: LoadGDT() with KERNEL_GDT_SIZE instead of calculating it 2021-11-14 18:19:10 +08:00
54f8aa54c1 interrupt, smp: fix GDT code/data segment order, fix GDT size 2021-11-14 17:31:11 +08:00
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
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
d25da95e1e Initial commit 2021-10-10 14:39:17 +08:00