add: documentation: memory
This commit is contained in:
@ -36,6 +36,11 @@ void kernel_main(void)
|
||||
"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");
|
||||
while (true) {
|
||||
void *ptr = alloc_pages(4096);
|
||||
memset(ptr, ~0, 4096);
|
||||
PRINT_PTR(ptr);
|
||||
}
|
||||
/* int i = 0; */
|
||||
/* while (vmalloc(10)) */
|
||||
/* ; */
|
||||
|
Reference in New Issue
Block a user