diff options
author | Christian Cunningham <cc@localhost> | 2022-01-20 16:28:18 -0700 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2022-01-20 16:28:18 -0700 |
commit | 022dfd0f42962da6c60fbeb5604e1455a07eaaa6 (patch) | |
tree | 9798813d345b18a00337c26ec6384b42fe41e208 /src/sys | |
parent | a9171b3f7499dfff1f40bf3503fdf13a20487b68 (diff) |
Added System Timer Hook
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/core.c b/src/sys/core.c index 0b4b91a..d658d90 100644 --- a/src/sys/core.c +++ b/src/sys/core.c @@ -33,6 +33,7 @@ void sysinit(void) cmdidx = 0; for(int i = 0; i < 2048; i++) cmd[i] = 0; + *(unsigned long*) SYS_TIMER_C0 = 60000000; // 60 second trigger ///... // Route GPU interrupts to Core 0 |