panic improvements
This commit is contained in:
parent
1a3259b811
commit
6aca680609
2 changed files with 5 additions and 7 deletions
|
|
@ -14,9 +14,6 @@ void kmain() {
|
|||
kprint("Stress testing memory...\n");
|
||||
while(1) {
|
||||
void *p = page_alloc();
|
||||
if (p == NULL) {
|
||||
kpanic("Expected OOM reached!");
|
||||
}
|
||||
}
|
||||
|
||||
poweroff();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue