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:
Mitchell Horne 2022-06-21 13:23:40 -03:00
parent 33734a1f76
commit 3a4256dd86

View File

@ -120,7 +120,8 @@ static int
riscv_timer_et_stop(struct eventtimer *et)
{
/* TODO */
/* Disable timer interrupts. */
csr_clear(sie, SIE_STIE);
return (0);
}