2 ms·
UBoot typically runs in supervisor mode while OpenSBI runs in machine mode (as would OPTEE) - OpenSBI's (and OPTEE's) memory is locked behind a PMAP block so it
by Taniwha 3y ago
UBoot typically runs in supervisor mode while OpenSBI runs in machine mode (as would OPTEE) - OpenSBI's (and OPTEE's) memory is locked behind a PMAP block so it can't be hacked from supervisor mode
If your riscv core has hypervisor support that sits between machine mode and supervisor modes
- synergy20 3y agoisn's OpenSBI's S means 'supervisor' mode? so OpenSBI is supposed to be in supervisor mode?
- Taniwha 3y agoNope, it runs in machine mode (I've ported it) - the S does stand for Supervisor, but I guess that's because it supervises the system
- brucehoult 3y agoSBI is the ABI for the Supervisor to call to get certain services that can't be done in S mode.