#include <lunaix/mm/dmm.h>
#include <hal/cpu.h>
#include <libc/stdio.h>
+#include <lunaix/spike.h>
extern uint8_t __kernel_start;
void* k_start = vmm_v2p(&__kernel_start);
printf("The kernel's base address mapping: %p->%p\n", &__kernel_start, k_start);
- dmm_init();
-
// test malloc & free
uint32_t** arr = (uint32_t**) lx_malloc(10 * sizeof(uint32_t*));
lx_free(arr);
lx_free(big_);
- // assert(0);
}
\ No newline at end of file