mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 00:14:32 -08:00
[kernel] Make IDT per-cpu, not global
Since we modify IST entries while handling interrupts, the IDT cannot be a global data structure. Allocate new ones for each CPU.
This commit is contained in:
@@ -15,6 +15,7 @@ struc CPU_DATA
|
||||
.tcb: resq 1
|
||||
.thread: resq 1
|
||||
.process: resq 1
|
||||
.idt: resq 1
|
||||
.tss: resq 1
|
||||
.gdt: resq 1
|
||||
endstruc
|
||||
|
||||
Reference in New Issue
Block a user