MPFS: Set correct interrupt per mode (M-/S-mode) for mtimer
This commit is contained in:
parent
a94b7b9cca
commit
47945e83b2
@ -68,7 +68,7 @@ void up_timer_initialize(void)
|
||||
|
||||
struct oneshot_lowerhalf_s *lower = riscv_mtimer_initialize(
|
||||
MPFS_CLINT_MTIME, MPFS_CLINT_MTIMECMP0 + hart_id * sizeof(uintptr_t),
|
||||
RISCV_IRQ_MTIMER, MTIMER_FREQ);
|
||||
RISCV_IRQ_TIMER, MTIMER_FREQ);
|
||||
|
||||
DEBUGASSERT(lower);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user