summaryrefslogtreecommitdiffhomepage
path: root/src/loader/ent.asm
diff options
context:
space:
mode:
Diffstat (limited to 'src/loader/ent.asm')
-rw-r--r--src/loader/ent.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/loader/ent.asm b/src/loader/ent.asm
index 47cf49b..c518aad 100644
--- a/src/loader/ent.asm
+++ b/src/loader/ent.asm
@@ -18,7 +18,8 @@ _start:
sub ecx, bss_begin
rep stosb
- lgdt [gdt]
+ lgdt [gdt] ; Load GDT
+
jmp 0x18:.reload_cs
.reload_cs:
@@ -29,5 +30,4 @@ _start:
mov gs, ax
mov ss, ax
- cli
jmp start