KERNEL: Physical Page Frame allocation
Rewriting the setup to allow for physical memory allocation again to work.
This commit is contained in:
@ -35,7 +35,7 @@ _start:
|
||||
|
||||
/* push the magic value */
|
||||
pushl %eax
|
||||
call testLauncher
|
||||
call prekernelSetup
|
||||
|
||||
# Get physical address of the boot_page_table
|
||||
movl $(boot_page_table - 0xC0000000), %edi
|
||||
@ -60,7 +60,6 @@ _start:
|
||||
3: # Map VGA video memory to 0xC03FF00 as "present, writable"
|
||||
movl $(0x000B8000 | 0x003), boot_page_table - 0xC0000000 + 1023 * 4
|
||||
|
||||
|
||||
# IMPORTANT NOTE FROM WIKI.OSDEV.ORG/HIGHER_HALF_X86_BARE_BONES
|
||||
|
||||
# The page table is used at both page directory entry 0 (virtually from 0x0
|
||||
|
Reference in New Issue
Block a user