PMM and liballoc port

This commit is contained in:
2025-12-17 22:42:48 +01:00
parent 13fee12f59
commit f60d8d6861
32 changed files with 1202 additions and 12 deletions

View File

@@ -1,11 +1,18 @@
#include <limine/limine.h>
#include <amd64/init.h>
#include <sys/debug.h>
#include <mm/pmm.h>
#include <mm/liballoc.h>
void bootmain(void) {
amd64_init();
DEBUG("Hello from amd64!\n");
pmm_init();
int *a = malloc(sizeof(int));
*a = 6969;
DEBUG("a=%p, *a=%d\n", a, *a);
for (;;);
}