fix: start frame allocator after kernel code
This commit is contained in:
@ -66,7 +66,13 @@ void kernel_main(multiboot_info_t *mbd, uint32_t magic)
|
||||
"I see no way to confuse an array of 256 seg:off pairs with a "
|
||||
"complex 8*unknown quantity -byte descriptor table. -- Troy "
|
||||
"Martin 03:50, 22 March 2009 (UTC)\n");
|
||||
/* alloc_frame(); */
|
||||
|
||||
// PRINT_PTR(alloc_frame());
|
||||
/*void *ptr;
|
||||
while ((ptr = alloc_pages(PAGE_SIZE * 1020))) {
|
||||
if (ptr)
|
||||
memset(ptr, ~0, PAGE_SIZE * 1020);
|
||||
}*/
|
||||
/* vmalloc(10); */
|
||||
while (vmalloc(10))
|
||||
;
|
||||
|
Reference in New Issue
Block a user