Commit 3a4256dd authored by Mitchell Horne's avatar Mitchell Horne
Browse files

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
parent 33734a1f
......@@ -120,7 +120,8 @@ static int
riscv_timer_et_stop(struct eventtimer *et)
{
/* TODO */
/* Disable timer interrupts. */
csr_clear(sie, SIE_STIE);
return (0);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment