diff options
Diffstat (limited to 'src/descriptors.c')
-rw-r--r-- | src/descriptors.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/descriptors.c b/src/descriptors.c index 82b8709..7df3a9e 100644 --- a/src/descriptors.c +++ b/src/descriptors.c @@ -84,6 +84,8 @@ setup_descriptors(void) { struct table_reg reg; + print(u8"Setting up GDT and IDT\n"); + disable_interrupts(); encode_descriptors(®, GDT_START, GDT_END); set_gdt(®, DESCRIPTOR_SIZE*KERNEL_CODE_SEGMENT, DESCRIPTOR_SIZE*KERNEL_DATA_SEGMENT, DESCRIPTOR_SIZE*TASK_STATE_SEGMENT); |