kernel: implement initcalls and a testing system
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
#include <arch/stdcon.h>
|
||||
#include <sys/mman.h>
|
||||
|
||||
#define PMEM_SIZE 0x2000000
|
||||
#define PMEM_SIZE 0x4000000
|
||||
|
||||
extern void kernel_init(uintptr_t arg);
|
||||
|
||||
@@ -56,6 +56,7 @@ int ml_init(uintptr_t arg)
|
||||
vm_bootstrap(vm_zones, sizeof vm_zones / sizeof vm_zones[0]);
|
||||
|
||||
object_bootstrap();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user