[][src]Trait r3_port_arm::InterruptController

pub trait InterruptController {
    unsafe fn acknowledge_interrupt() -> Option<InterruptNum>;
unsafe fn end_interrupt(num: InterruptNum); unsafe fn init() { ... } }

An abstract interface to an interrupt controller. Implemented by use_gic!.

Required methods

unsafe fn acknowledge_interrupt() -> Option<InterruptNum>

Get the currently signaled interrupt and acknowledge it.

Safety

This is only intended to be called by the port in an IRQ handler.

unsafe fn end_interrupt(num: InterruptNum)

Notify that the kernel has completed the processing of the specified interrupt.

Safety

This is only intended to be called by the port in an IRQ handler.

Loading content...

Provided methods

unsafe fn init()

Initialize the driver. This will be called just before entering PortToKernel::boot.

Safety

This is only intended to be called by the port.

Loading content...

Implementors

Loading content...