From 9169796632fcdeb5e8e74ed60c6cbe31081e51f2 Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Thu, 24 Feb 2022 23:38:38 -0700 Subject: MMU and working on hardware --- src/sys/core.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/sys/core.c') diff --git a/src/sys/core.c b/src/sys/core.c index 1ee898c..99c08ae 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -5,12 +5,12 @@ #include #include #include +#include #include #include #include #include #include -#include #include #include @@ -35,7 +35,7 @@ void sysinit(void) // Get the frequency cntfrq = read_cntfrq(); // Clear cntv interrupt and set next 1 second timer - write_cntv_tval(cntfrq); + write_cntv_tval(cntfrq/100); // Route timer to core0 fiq routing_core0cntv_to_core0fiq(); // Enable timer @@ -47,6 +47,8 @@ void sysinit(void) lfb_init(); lfb_showpicture(); + mmu_init(); + // Start Scheduler init_scheduler(); } -- cgit v1.2.1