early placement heap doesn't need alignment
This commit is contained in:
parent
dafc4f93b6
commit
c1a77bc3c5
@ -91,9 +91,6 @@ int kmain(struct multiboot *mboot, uint32_t mboot_mag, uintptr_t esp) {
|
||||
last_mod = module_end;
|
||||
}
|
||||
}
|
||||
while (last_mod % 0x1000) {
|
||||
last_mod += 1;
|
||||
}
|
||||
debug_print(NOTICE, "Moving kernel heap start to 0x%x\n", last_mod);
|
||||
kmalloc_startat(last_mod);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user