diff options
author | Ian Moffett <ian@osmora.org> | 2024-06-04 17:42:10 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-06-04 17:42:10 -0400 |
commit | 8d545ea74f1387c7c99b88ee12ed26fe84bf6061 (patch) | |
tree | 4de06173b0ebfa0f5eb91bdc80489e4660a939c0 /sys/vm/vm_init.c | |
parent | 45d9b05c8e5f18d566631260267b47ea779e7743 (diff) |
kernel: vm: Add physical memory allocator
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/vm/vm_init.c')
-rw-r--r-- | sys/vm/vm_init.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys/vm/vm_init.c b/sys/vm/vm_init.c index 255821a..3e9718d 100644 --- a/sys/vm/vm_init.c +++ b/sys/vm/vm_init.c @@ -29,8 +29,15 @@ #include <sys/limine.h> #include <vm/vm.h> +#include <vm/physmem.h> volatile struct limine_hhdm_request g_hhdm_request = { .id = LIMINE_HHDM_REQUEST, .revision = 0 }; + +void +vm_init(void) +{ + vm_physmem_init(); +} |