mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-19 03:01:43 +00:00
Move bootloader code to a separate directory
This commit is contained in:
13
Architecture/i686/Bootstrap/MB2PageTable.asm
Normal file
13
Architecture/i686/Bootstrap/MB2PageTable.asm
Normal file
@@ -0,0 +1,13 @@
|
||||
KERNEL_VIRTUAL_BASE equ 0xC0000000 ; 3GB
|
||||
KERNEL_PAGE_NUMBER equ (KERNEL_VIRTUAL_BASE >> 22) ; 768
|
||||
|
||||
section .data
|
||||
global BootPageTable
|
||||
align 0x1000
|
||||
BootPageTable:
|
||||
dd 0x00000083
|
||||
dd 0x00000083
|
||||
times (KERNEL_PAGE_NUMBER - 2) dd 0
|
||||
dd 0x00000083
|
||||
dd 0x00000083
|
||||
times (1024 - KERNEL_PAGE_NUMBER - 2) dd 0
|
Reference in New Issue
Block a user