mmu: Be more clear about what's happening when we run out of RAM

This commit is contained in:
K. Lange 2021-10-28 07:48:25 +09:00
parent dbd8c018e8
commit a83d641d2c
1 changed files with 2 additions and 2 deletions

View File

@ -113,7 +113,7 @@ uintptr_t mmu_first_n_frames(int n) {
}
arch_fatal_prepare();
printf("failed to allocate %d contiguous frames\n", n);
dprintf("Failed to allocate %d contiguous frames.\n", n);
arch_dump_traceback();
arch_fatal();
return (uintptr_t)-1;
@ -138,7 +138,7 @@ uintptr_t mmu_first_frame(void) {
}
arch_fatal_prepare();
printf("error: out allocatable frames\n");
dprintf("Out of memory.\n");
arch_dump_traceback();
arch_fatal();
return (uintptr_t)-1;