stage1/gdt: Mark accessed flag in descriptors

This commit is contained in:
mintsuki 2023-09-09 09:45:47 -05:00
parent 2642249edd
commit 68f82c3d30
1 changed files with 2 additions and 2 deletions

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)