From 5fb1af3ab12880331fb1e2150aa23b1278e60ddd Mon Sep 17 00:00:00 2001 From: Kimplul Date: Thu, 5 May 2022 23:19:42 +0300 Subject: riscv64 boots with clang (sort of) --- common/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'common/main.c') diff --git a/common/main.c b/common/main.c index 0e33ecc..7168aeb 100644 --- a/common/main.c +++ b/common/main.c @@ -1,4 +1,5 @@ #include +#include #include #include #include @@ -23,5 +24,6 @@ void __main main(void *fdt) setup_io_dbg(b); init_irq(fdt); + init_timer(fdt); init_proc(fdt, b); } -- cgit v1.3