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!.

Required Associated Constants

source

const IRQ_ENTRY: unsafe extern "C" fn() -> !

The IRQ handler.

Safety
  • 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.

Required Methods

Proceed with the boot process.

Safety
  • The processor should be in Supervisor mode.
  • This method hasn’t been entered yet.

Implementors