[−][src]Trait r3_port_riscv::EntryPoint
Defines the entry points of a port instantiation. Implemented by
use_port!
.
Required methods
pub unsafe fn start() -> !
[src]
Proceed with the boot process.
Safety
- The processor should be in M-mode and have M-mode interrupts masked.
- This method hasn't been entered yet.
pub unsafe fn exception_handler() -> !
[src]
The trap handler.
Safety
- The processor should be in M-mode and have M-mode interrupts masked.
- The register state of the background context should be preserved so that the handler can restore it later.