SUSTemu is a RV64 system emulator, which supports IM extension. It draws lessons from Nemu(NJU emulator).
- flash
- serial
- rtc
- keyborad
- vga
8 PMPs are provided for security. S mode is under task.
Interrupt is under plan.
- Enclave should save context after sbi_call, as application can't save context in enclave
- pc should be set to 0xffffffff8000000
- The address under 0x80000000 should be accessed by user level apps.