Reduced number of statically allocated page tables
This commit is contained in:
@@ -124,7 +124,7 @@ _tempPgDir:
|
|||||||
_tempIdentityMap:
|
_tempIdentityMap:
|
||||||
.skip 4096
|
.skip 4096
|
||||||
_tempPgTable:
|
_tempPgTable:
|
||||||
.skip 8192
|
.skip 4096
|
||||||
|
|
||||||
_bootCmdLine:
|
_bootCmdLine:
|
||||||
.skip 64
|
.skip 64
|
||||||
@@ -143,6 +143,9 @@ memory_map:
|
|||||||
.global _start
|
.global _start
|
||||||
.type _start, @function
|
.type _start, @function
|
||||||
_start:
|
_start:
|
||||||
|
|
||||||
|
cli
|
||||||
|
|
||||||
# This platform reqires a Multiboot2 bootloader.
|
# This platform reqires a Multiboot2 bootloader.
|
||||||
cmp $0x36d76289, %eax
|
cmp $0x36d76289, %eax
|
||||||
jne .err
|
jne .err
|
||||||
@@ -212,12 +215,6 @@ _start:
|
|||||||
push %ebx
|
push %ebx
|
||||||
call initialize
|
call initialize
|
||||||
|
|
||||||
# mov $_bootCmdLine, %eax
|
|
||||||
# push %eax
|
|
||||||
|
|
||||||
# Call main function
|
|
||||||
# call main
|
|
||||||
|
|
||||||
.err:
|
.err:
|
||||||
cli
|
cli
|
||||||
2: hlt
|
2: hlt
|
||||||
|
|||||||
Reference in New Issue
Block a user