fixed regression

This commit is contained in:
Steffen Vogel 2013-10-17 13:09:20 +02:00
parent 3be25b99d2
commit 3e73d6384e
2 changed files with 1 additions and 2 deletions

View file

@ -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

View file

@ -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;