Macro r3_port_arm::use_gic
source · macro_rules! use_gic { (unsafe impl PortInterrupts for $Traits:ty) => { ... }; }
Expand description
Implement PortInterrupts, InterruptController, and Gic on
the given kernel trait type using the General Interrupt Controller (GIC) on
the target.
Requires GicOptions.
Safety
- The target must really include a GIC.
GicOptionsshould be configured correctly and the memory-mapped registers should be accessible.