2023-01-15 19:25:25 +00:00
|
|
|
[BITS 32]
|
|
|
|
|
2023-01-20 13:17:11 +00:00
|
|
|
PE_PRESENT equ 1 << 0
|
|
|
|
PE_WRITABLE equ 1 << 1
|
|
|
|
PE_USERMODE equ 1 << 2
|
|
|
|
PE_ACCESSED equ 1 << 5
|
|
|
|
PE_DIRTY equ 1 << 6
|
|
|
|
|
2023-07-02 14:47:18 +00:00
|
|
|
section .bss
|
2023-01-15 19:25:25 +00:00
|
|
|
align 4096
|
2023-07-02 14:47:18 +00:00
|
|
|
global page_directory
|
2023-01-15 19:25:25 +00:00
|
|
|
page_directory:
|
2023-07-02 14:47:18 +00:00
|
|
|
resb 4096
|
|
|
|
global boot_page_table
|
|
|
|
boot_page_table:
|
|
|
|
resb 4096
|