diff options
author | sigsegv7 <ian@vegaa.systems> | 2023-10-04 19:21:14 -0400 |
---|---|---|
committer | sigsegv7 <ian@vegaa.systems> | 2023-10-04 19:26:28 -0400 |
commit | ccf6421ebfd30808a24b1a08aa6dbf963de1f24d (patch) | |
tree | 3bad85fcb50e1ba8e2471c0ed49b2b6513dcd56d /sys/include/arch/amd64/trap.h | |
parent | 3da66ee8c13dc5826d3eb1087b2b61bee7ceaf9e (diff) |
kernel/amd64: Initialize IDT and GDT first
This commit moves the interrupts_init() and gdt_load()
calls to the top so interrupts are set up first in case
something goes wrong so we can get information from
exception handlers.
Signed-off-by: sigsegv7 <ian@vegaa.systems>
Diffstat (limited to 'sys/include/arch/amd64/trap.h')
0 files changed, 0 insertions, 0 deletions