fixed regression
This commit is contained in:
parent
3be25b99d2
commit
3e73d6384e
2 changed files with 1 additions and 2 deletions
|
@ -230,7 +230,7 @@ cpu_init:
|
||||||
|
|
||||||
ALIGN 4
|
ALIGN 4
|
||||||
stublet:
|
stublet:
|
||||||
mov esp, startup_stack
|
mov esp, startup_stack-4
|
||||||
; save pointer to the multiboot structure
|
; save pointer to the multiboot structure
|
||||||
push ebx
|
push ebx
|
||||||
; initialize cpu features
|
; initialize cpu features
|
||||||
|
|
|
@ -109,7 +109,6 @@ int mmu_init(void)
|
||||||
|
|
||||||
while (mmap < mmap_end) {
|
while (mmap < mmap_end) {
|
||||||
if (mmap->type == MULTIBOOT_MEMORY_AVAILABLE) {
|
if (mmap->type == MULTIBOOT_MEMORY_AVAILABLE) {
|
||||||
/
|
|
||||||
// set the available memory as "unused"
|
// set the available memory as "unused"
|
||||||
addr = mmap->addr;
|
addr = mmap->addr;
|
||||||
end_addr = addr + mmap->len;
|
end_addr = addr + mmap->len;
|
||||||
|
|
Loading…
Add table
Reference in a new issue