stage1/gdt: Mark accessed flag in descriptors

This commit is contained in:
mintsuki 2023-09-09 09:45:47 -05:00
parent 9d10f95010
commit b1c5f561d4

View File

@ -7,7 +7,7 @@ gdt:
dw 0xffff ; Limit
dw 0x0000 ; Base (low 16 bits)
db 0x00 ; Base (mid 8 bits)
db 10011010b ; Access
db 10011011b ; Access
db 11001111b ; Granularity
db 0x00 ; Base (high 8 bits)
@ -15,7 +15,7 @@ gdt:
dw 0xffff ; Limit
dw 0x0000 ; Base (low 16 bits)
db 0x00 ; Base (mid 8 bits)
db 10010010b ; Access
db 10010011b ; Access
db 11001111b ; Granularity
db 0x00 ; Base (high 8 bits)