pub trait EntryPoint {
const IRQ_ENTRY: unsafe extern "C" fn() -> !;
unsafe fn start() -> !;
}
Expand description
Defines the entry points of a port instantiation. Implemented by
use_port!
.
The IRQ handler.
- The processor should be in IRQ mode.
- IRQs should be masked.
- The register state of the background context should be preserved so
that the handler can restore it later.
Proceed with the boot process.
- The processor should be in Supervisor mode.
- This method hasn’t been entered yet.