Files
riscv-operating-system-mooc/code
Wang Chen 457713c30e Don't set MPIE explicitly
Because according to ISA specification: interrupts for M-mode, which
is higher than U-mode, are always globally enabled regardless of the
setting of the global MIE bit.
We don't set mstatus.MPIE to 1 explicitly to avoid misleading people
into thinking it is must-haveto-do.

Signed-off-by: Wang Chen <wangchen20@iscas.ac.cn>
Co-authored-by: LiuJiLan <ldc31415926@126.com>
2023-06-18 09:11:19 +08:00
..
2022-01-27 11:06:44 +08:00
2023-06-18 09:11:19 +08:00
2021-09-06 10:30:57 +08:00