From b1c5f561d4cc0f06c652ad1f689bd57280b90517 Mon Sep 17 00:00:00 2001 From: mintsuki Date: Sat, 9 Sep 2023 09:45:47 -0500 Subject: [PATCH] stage1/gdt: Mark accessed flag in descriptors --- stage1/gdt.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stage1/gdt.asm b/stage1/gdt.asm index 6c4c3638..42c3f688 100644 --- a/stage1/gdt.asm +++ b/stage1/gdt.asm @@ -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)