Userspace dlmalloc port, supporting syscalls mman_map()/mman_unmap()

This commit is contained in:
2025-09-10 21:52:01 +02:00
parent 91c493c818
commit 2f9f4d9397
19 changed files with 378 additions and 2 deletions

View File

@ -57,7 +57,7 @@ void *pmm_alloc(size_t pages) {
if (!phys) {
ERR("pmm", "phys memory ran out\n");
hal_hang();
return NULL;
}
return (void *)phys;
}