mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-28 15:34:33 +00:00
Update page table code
This commit is contained in:
parent
8ff3623ee4
commit
298c6b3921
@ -1,14 +1,10 @@
|
|||||||
%define KERNEL_OFFSET 0xFFFFFFFF80000000
|
|
||||||
%define V2P(a) ((a) - KERNEL_OFFSET)
|
|
||||||
|
|
||||||
%define PAGE_PRESENT 0x001
|
|
||||||
%define PAGE_WRITE 0x002
|
|
||||||
%define PAGE_GLOBAL 0x100
|
|
||||||
|
|
||||||
%define PAGE_SIZE 0x1000
|
|
||||||
%define ENTRIES_PER_PT 512
|
|
||||||
|
|
||||||
section .data
|
section .data
|
||||||
align PAGE_SIZE
|
align 0x1000
|
||||||
global BootPageTable
|
global BootPageTable
|
||||||
BootPageTable:
|
BootPageTable:
|
||||||
|
dq 0x0000000000000083
|
||||||
|
dq 0x0000000000000083
|
||||||
|
TIMES (512-2) dq 0
|
||||||
|
dq 0x0000000000000083
|
||||||
|
dq 0x0000000000000083
|
||||||
|
TIMES (512-2) dq 0
|
Loading…
x
Reference in New Issue
Block a user