kernel: implement initcalls and a testing system

This commit is contained in:
2023-02-26 10:05:39 +00:00
parent bc1bc9fec5
commit d41ea0cd52
16 changed files with 314 additions and 40 deletions

8
test/test.c Normal file
View File

@@ -0,0 +1,8 @@
#include <socks/init.h>
#include <socks/printk.h>
int run_all_tests(void)
{
printk("############ RUNNING KERNEL TESTS ############");
return start_initlevel(INITLEVEL_TESTS);
}