diff options
author | Christian Cunningham <cc@localhost> | 2022-01-20 14:46:12 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-20 14:46:12 -0700 |
commit | fc3002f17b1e698cd73d57d000e1f28269980daa (patch) | |
tree | bf3664d0b8bd805a22590aba977697b9b0c7e7e2 /src | |
parent | 551085f910bb601d3ffe0fc548a1daf5bdc54f9b (diff) |
Route timer to FIQ
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/core.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/sys/core.c b/src/sys/core.c index c1c75ba..5bf631f 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -28,7 +28,7 @@ void testlocal(void); void sysinit(void) { // Route GPU interrupts to Core 0 - store32(0x00, GPU_INTERRUPTS_ROUTING); + store32(0x04, GPU_INTERRUPTS_ROUTING); // Mask Overrun of UART0 store32(1<<4, UART0_IMSC); @@ -41,8 +41,10 @@ void sysinit(void) cntfrq = read_cntfrq(); // Clear cntv interrupt and set next 1 second timer write_cntv_tval(cntfrq); - // Route timer to core0 irq - routing_core0cntv_to_core0irq(); + //// Route timer to core0 irq + //routing_core0cntv_to_core0irq(); + // Route timer to core0 fiq + routing_core0cntv_to_core0fiq(); // Enable timer enablecntv(); |