wip: memory change
This commit is contained in:
@ -31,13 +31,13 @@ void kernel_main(void)
|
||||
init_idt();
|
||||
init_memory();
|
||||
load_drivers();
|
||||
memset((void *)0x10001, 'a', 10);
|
||||
kprintf(KERN_ALERT
|
||||
"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");
|
||||
/* vmalloc(10); */
|
||||
/* while (!vmalloc(10)) */
|
||||
/* ; */
|
||||
/* kprintf("%p\n", vmalloc(10)); */
|
||||
int i = 0;
|
||||
while (vmalloc(10))
|
||||
kprintf("%d\n", i++);
|
||||
shell_init();
|
||||
}
|
||||
|
Reference in New Issue
Block a user