aboutsummaryrefslogtreecommitdiff
path: root/arch/riscv/main.c
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2021-09-12 21:51:10 +0300
committerKimplul <kimi.h.kuparinen@gmail.com>2021-09-12 21:51:10 +0300
commitd95c714c8cfdc5818b0e0f0c99cf2e5be66de202 (patch)
tree3b7b7a4fda733f284a4f77a9e67cc509201cfeca /arch/riscv/main.c
parent1ab464d959b9ee3d3bb6758ac0d9d33fc6c77e46 (diff)
downloadkmi-d95c714c8cfdc5818b0e0f0c99cf2e5be66de202.tar.gz
kmi-d95c714c8cfdc5818b0e0f0c99cf2e5be66de202.zip
Initial physical page manager
+ Will probably still need a fair bit of tweakind and documentation improvements, but seems to work outside of the kernel. Also no valgrind errors, which is quite promising I guess.
Diffstat (limited to 'arch/riscv/main.c')
-rw-r--r--arch/riscv/main.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/riscv/main.c b/arch/riscv/main.c
deleted file mode 100644
index 9334fb3..0000000
--- a/arch/riscv/main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include <pages.h>
-#include <apos/main.h>
-
-void yeet()
-{
- int a = 23;
-}
-
-void __main main(struct mm_ptinfo *pageinfo)
-{
- yeet();
- while(1){};
-}