Platform:
- Supervisor Binary Interface SBI
- Execution modes from high privileged to low privileged:
- M-mode (for the user space)
- S-mode (for the kernel)
- U-mode (for SBI or timer interrupts)
- PLIC
- CLINT
GCC inline assembly syntax: https://gcc.gnu.org/onlinedocs/gcc/Extended-Asm.html https://gcc.gnu.org/onlinedocs/gcc/Local-Register-Variables.html
Various specifications: https://wiki.riscv.org/display/HOME/RISC-V+Technical+Specifications
Overview: architectures