riscv timer: implement riscv_timer_et_stop()
Simply by masking timer interrupts. MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D35463
This commit is contained in:
parent
33734a1f76
commit
3a4256dd86
@ -120,7 +120,8 @@ static int
|
||||
riscv_timer_et_stop(struct eventtimer *et)
|
||||
{
|
||||
|
||||
/* TODO */
|
||||
/* Disable timer interrupts. */
|
||||
csr_clear(sie, SIE_STIE);
|
||||
|
||||
return (0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user