From 2612bc83c57d3bc36d6042db14d898324c0091ff Mon Sep 17 00:00:00 2001 From: Christian Cunningham Date: Tue, 22 Mar 2022 16:32:38 -0700 Subject: Schedule upon task addition Disable local timer Added CPSR Test --- src/sys/core.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/sys/core.c') diff --git a/src/sys/core.c b/src/sys/core.c index 9099a82..ef8d4b7 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -32,14 +32,14 @@ void sysinit(void) // Enable UART GPU IRQ store32(1<<25, IRQ_ENABLE2); // Enable Timer - // Get the frequency - cntfrq = read_cntfrq(); - // Clear cntv interrupt and set next 1 second timer - write_cntv_tval(cntfrq/100); - // Route timer to core0 fiq - routing_core0cntv_to_core0fiq(); - // Enable timer - enablecntv(); + //// Get the frequency + //cntfrq = read_cntfrq(); + //// Clear cntv interrupt and set next 1 second timer + //write_cntv_tval(cntfrq/100); + //// Route timer to core0 fiq + //routing_core0cntv_to_core0fiq(); + //// Enable timer + //enablecntv(); // Enable system timer store32(SYS_TIMER_SC_M0, IRQ_ENABLE1); -- cgit v1.2.1