gdt: change size bit to 1

This commit is contained in:
2025-04-07 14:15:43 +03:00
parent c92839c7f6
commit 03e718c2c8
+4 -4
View File
@@ -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: