This commit is contained in:
Robert Morris 2019-10-27 08:03:19 -04:00
parent f2ab0eb644
commit d9160fb4b9
6 changed files with 12 additions and 10 deletions

View file

@ -36,6 +36,7 @@ start()
// delegate all interrupts and exceptions to supervisor mode.
w_medeleg(0xffff);
w_mideleg(0xffff);
w_sie(r_sie() | SIE_SEIE | SIE_STIE | SIE_SSIE);
// ask for clock interrupts.
timerinit();