adding kmalloc and memory management
This commit is contained in:
parent
6aca680609
commit
3270717168
3 changed files with 126 additions and 22 deletions
|
|
@ -11,10 +11,12 @@ void kmain() {
|
|||
knewline();
|
||||
page_init();
|
||||
|
||||
kprint("Stress testing memory...\n");
|
||||
while(1) {
|
||||
void *p = page_alloc();
|
||||
}
|
||||
//kprint("Stress testing memory...\n");
|
||||
//while(1) {
|
||||
// void *p = page_alloc();
|
||||
//}
|
||||
|
||||
test_memory_integrity();
|
||||
|
||||
poweroff();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue