diff options
author | Uros Majstorovic <majstor@majstor.org> | 2021-11-17 20:42:47 +0100 |
---|---|---|
committer | Uros Majstorovic <majstor@majstor.org> | 2021-11-17 20:42:47 +0100 |
commit | b0e84c72d7a533f62ca750a73445da7fcebe8d18 (patch) | |
tree | d091c2307cd667fc9dd1c22e7c80e9ab9ceed445 /fw/fe310/eos/timer.c | |
parent | 9d1721008fe1d35abdedbff063ef29d35996124c (diff) |
wakeup cause added to init functions
Diffstat (limited to 'fw/fe310/eos/timer.c')
-rw-r--r-- | fw/fe310/eos/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fw/fe310/eos/timer.c b/fw/fe310/eos/timer.c index d8cf107..dbaaf91 100644 --- a/fw/fe310/eos/timer.c +++ b/fw/fe310/eos/timer.c @@ -46,7 +46,7 @@ void _eos_timer_handle(void) { if (*mtimecmp == 0) clear_csr(mie, MIP_MTIP); } -void eos_timer_init(void) { +void eos_timer_init(uint8_t wakeup_cause) { int i; uint64_t *mtimecmp = (uint64_t *) (CLINT_CTRL_ADDR + CLINT_MTIMECMP); |