class DevicetreeIrqResolver
Defined at line 102 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
Helper class for decoding interrupt cells and obtaining IRQ numbers.
Public Methods
void DevicetreeIrqResolver ()
Defined at line 109 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
void DevicetreeIrqResolver (devicetree::ByteView bytes)
Defined at line 110 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
void DevicetreeIrqResolver (devicetree::ByteView bytes)
Defined at line 110 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
void DevicetreeIrqResolver (devicetree::ByteView bytes)
Defined at line 110 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
void DevicetreeIrqResolver (devicetree::ByteView bytes)
Defined at line 110 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
IrqConfig GetIrqConfig (size_t index)
Obtains the IRQ number from the interrupt described by the |index|-th element in the interrupt
property.
Defined at line 123 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
IrqConfig GetIrqConfig (size_t index)
Obtains the IRQ number from the interrupt described by the |index|-th element in the interrupt
property.
Defined at line 123 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
IrqConfig GetIrqConfig (size_t index)
Obtains the IRQ number from the interrupt described by the |index|-th element in the interrupt
property.
Defined at line 123 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
size_t num_entries ()
May only be called after resolving the IRQ Controller, see |ResolveIrqController()|.
Defined at line 132 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
bool NeedsInterruptParent ()
Returns whether additional scans are required to resolve the |interrupt_parent|.
This is only meaningful if |ResolveIrqController| returned false.
Defined at line 139 of file ../../zircon/kernel/phys/lib/boot-shim/include/lib/boot-shim/devicetree.h
fit::result<fit::failed, bool> ResolveIrqController (const devicetree::PropertyDecoder & decoder)
Attempts to either resolve |interrupt-parent| property from the |decoder| hierarchy
or find the |interrupt-controller| along the way.
On success with a return value |true|, the |interrupt-controller| node has been resolved,
On success with a return value |false|,the |interrupt-parent| was resolved but the
|interrupt-controller| has not. On failure, a malformed node or property has been encountered
and no further actions can be performed.
Defined at line 159 of file ../../zircon/kernel/phys/lib/boot-shim/devicetree-irq-resolver.cc