aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Cunningham <cc@localhost>2022-01-05 14:01:29 -0800
committerChristian Cunningham <cc@localhost>2022-01-05 14:01:29 -0800
commit3a8ed19bf83f11ff00c4904fab2cc083b7e33478 (patch)
tree9d9a6f92f9d74001e969d23ea79ad26f6227fea2 /src/util
parentf3ea4cd0c22f351d8dfffb0e937194c4b526b665 (diff)
Cleaned up/ Standardized
Diffstat (limited to 'src/util')
-rw-r--r--src/util/status.c2
-rw-r--r--src/util/time.h3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/util/status.c b/src/util/status.c
index bd529da..6ab21c0 100644
--- a/src/util/status.c
+++ b/src/util/status.c
@@ -6,8 +6,6 @@
#include "../util/status.h"
#include "../util/time.h"
-extern char* os_info_v;
-
void output_irq_status(void)
{
// Basic IRQ
diff --git a/src/util/time.h b/src/util/time.h
index 13875e2..f6dacb0 100644
--- a/src/util/time.h
+++ b/src/util/time.h
@@ -9,7 +9,8 @@ unsigned long read_cntv_tval(void);
void write_cntv_tval(unsigned long val);
unsigned long read_cntfrq(void);
-static inline void enablecntv(void) {
+static inline void enablecntv(void)
+{
unsigned long cntv_ctl;
cntv_ctl = 1;
asm volatile ("mcr p15, 0, %0, c14, c3, 1" :: "r"(cntv_ctl) ); // write CNTV_CTL