Browse Source

also set gs

K. Lange 2 years ago
parent
commit
905f5c2c95
1 changed files with 1 additions and 0 deletions
  1. 1 0
      kernel/gdt.S

+ 1 - 0
kernel/gdt.S

@@ -14,6 +14,7 @@ gdt_flush:
     mov %ax, %es
     mov %ax, %fs
     mov %ax, %ss
+    mov %ax, %gs
 
     ljmp $0x08, $.flush
 .flush: