summaryrefslogtreecommitdiff
path: root/src/boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/boot')
-rw-r--r--src/boot/bootloader.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/boot/bootloader.asm b/src/boot/bootloader.asm
index 4b803fa..918ff9b 100644
--- a/src/boot/bootloader.asm
+++ b/src/boot/bootloader.asm
@@ -30,7 +30,9 @@ step2:
sti ; Enable interrupts
.load_protected:
- cli
+ cli ; Interrupts will be disabled until we finish setting up the interrupt
+ ; table and remapping the PIC controllers
+ ; Interrupts will be enabled back in _start symbol in kernel.asm
lgdt[gdt_table]
mov eax, cr0
or eax, 0x1