Use mstatus.MPP to check existence of U-mode
misa is allowed to be hardwired to 0, so checking its U bit could incorrectly suggest that U-mode is not supported.
parent
6f7ebb61
Please register or sign in to comment
misa is allowed to be hardwired to 0, so checking its U bit could incorrectly suggest that U-mode is not supported.