aboutsummaryrefslogtreecommitdiff
path: root/src/sys/core.c
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-02-04 00:05:50 -0700
committerChristian Cunningham <cc@localhost>2022-02-04 00:05:50 -0700
commitcfebe5feb55777bb377ff310b8cde03f3e0c25ff (patch)
tree7877e930627b5665431ed2104fb79e20a8ef1159 /src/sys/core.c
parentf4f23afb28268570d0da7f70bda6d2bcf760f839 (diff)
Access Uart through rotating buffer
Diffstat (limited to 'src/sys/core.c')
-rw-r--r--src/sys/core.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/core.c b/src/sys/core.c
index b29412f..d761336 100644
--- a/src/sys/core.c
+++ b/src/sys/core.c
@@ -28,6 +28,7 @@ void sysinit(void)
stimeh = *(unsigned long*)SYS_TIMER_CHI;
stimel = *(unsigned long*)SYS_TIMER_CLO;
*(unsigned long*) SYS_TIMER_C0 = 60000000 + stimeh; // 60 second trigger
+ uart_init();
///...
// Route GPU interrupts to Core 0