diff options
author | Samuel Holland <samuel.holland@sifive.com> | 2024-11-04 20:10:07 -0800 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2024-11-28 11:37:25 +0530 |
commit | e3e5686ef903d037c6b5835a6752481a07faf99f (patch) | |
tree | c254982b0cd822c710a27e51c3b6a5f9e1a2ad1d /platform/generic/platform.c | |
parent | 56fddce83f163e5e90ea82bf78a8df3d990b0572 (diff) | |
download | opensbi-e3e5686ef903d037c6b5835a6752481a07faf99f.zip opensbi-e3e5686ef903d037c6b5835a6752481a07faf99f.tar.gz opensbi-e3e5686ef903d037c6b5835a6752481a07faf99f.tar.bz2 |
lib: sbi_irqchip: Register devices during cold init
Have the SBI irqchip core keep track of registered irqchip devices. This
is useful for any callbacks the irqchip driver may have, such as for
warm initialization, the external interrupt handler function, and any
future support for handling external interrupts (beyond IPIs) in M-mode.
This improves on the tracking done in fdt_irqchip.c, as it tracks device
instances, not just drivers, so callbacks can target a specific device.
Signed-off-by: Samuel Holland <samuel.holland@sifive.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'platform/generic/platform.c')
0 files changed, 0 insertions, 0 deletions