diff --git a/src/gdt.asm b/src/gdt.asm index 1184260..a9c61a6 100644 --- a/src/gdt.asm +++ b/src/gdt.asm @@ -13,7 +13,7 @@ gdt_code: dw 0 ; 16-31 base db 0 ; 32-39 base db 10011010b ; 40-47 access - db 11001111b ; 48-55 limit (48-51) and flags (52-55) + db 11101111b ; 48-55 limit (48-51) and flags (52-55) db 0 ; 56-63 base gdt_data: @@ -21,7 +21,7 @@ gdt_data: dw 0 ; 16-31 base db 0 ; 32-39 base db 10010010b ; 40-47 access - db 11001111b ; 48-55 limit (48-51) and flags (52-55) + db 11101111b ; 48-55 limit (48-51) and flags (52-55) db 0 ; 56-63 base gdt_code_ring3: @@ -29,7 +29,7 @@ gdt_code_ring3: dw 0 db 0 db 11111010b - db 11001111b + db 11101111b db 0 gdt_data_ring3: @@ -37,7 +37,7 @@ gdt_data_ring3: dw 0 db 0 db 11110010b - db 11001111b + db 11101111b db 0 gdt_tss: