kernel
0.13.0
Module instruction
Module Items
Modules
Structs
Functions
In kernel::
arch::
riscv64
kernel
::
arch
::
riscv64
Module
instruction
Copy item path
Source
Modules
§
sbi
Structs
§
Instruction
Represents a RISC-V instruction. This struct is used to encapsulate the raw instruction data and provides methods to create an instruction from raw bytes or a usize value.
Functions
§
ecall
RISC-V environment call (ecall) with proper register preservation using clobber_abi to handle register preservation automatically
idle