wip: memory change

This commit is contained in:
2024-10-18 14:45:37 +02:00
parent 9e85807a09
commit 7128f2640a
21 changed files with 121 additions and 76 deletions

View File

@ -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();
}