Fix: mman behavior
This commit is contained in:
@@ -81,12 +81,7 @@ void add_interrupt_task(uint64_t priority,
|
||||
|
||||
void init_interrupt(void)
|
||||
{
|
||||
uint64_t cntfrq_el0;
|
||||
W_SYSREG(cntp_ctl_el0, 1);
|
||||
R_SYSREG(cntfrq_el0, cntfrq_el0);
|
||||
W_SYSREG(cntp_tval_el0, cntfrq_el0);
|
||||
|
||||
_enable_timer_irq(true);
|
||||
_enable_interrupt();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user