diff options
author | Christian Cunningham <cc@localhost> | 2021-12-27 22:20:20 -0800 |
---|---|---|
committer | Christian Cunningham <cc@localhost> | 2021-12-27 22:20:20 -0800 |
commit | 602739b35d874de509fbe4bb0b5b9b0b754237d9 (patch) | |
tree | 62306c6e27915b42f22ab9dfb51217638e566a67 /src/util/time.c | |
parent | 4ed33f1bd200666d485fb85a6a6dccec4855926e (diff) |
Inlined functions
Diffstat (limited to 'src/util/time.c')
-rw-r--r-- | src/util/time.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/util/time.c b/src/util/time.c index f6d8f04..c09567f 100644 --- a/src/util/time.c +++ b/src/util/time.c @@ -12,20 +12,6 @@ unsigned long read_core0timer_pending(void) return tmp; } -void enable_cntv(void) -{ - unsigned long cntv_ctl; - cntv_ctl = 1; - asm volatile ("mcr p15, 0, %0, c14, c3, 1" :: "r"(cntv_ctl) ); // write CNTV_CTL -} - -void disable_cntv(void) -{ - unsigned long cntv_ctl; - cntv_ctl = 0; - asm volatile ("mcr p15, 0, %0, c14, c3, 1" :: "r"(cntv_ctl) ); // write CNTV_CTL -} - unsigned long long read_cntvct(void) { unsigned long long val; |