mirror of
https://github.com/riscv-software-src/opensbi.git
synced 2026-04-13 14:21:40 +01:00
lib: utils/irqchip: Add unique_id to plic, aplic, and imsic data
Add a 32-bit unique ID to plic, aplic, and imsic data which can be used to differentiate multiple irqchip devices. Signed-off-by: Anup Patel <anup.patel@oss.qualcomm.com> Link: https://lore.kernel.org/r/20260213055342.3124872-7-anup.patel@oss.qualcomm.com Signed-off-by: Anup Patel <anup@brainfault.org>
This commit is contained in:
@@ -24,6 +24,7 @@ struct imsic_regs {
|
||||
};
|
||||
|
||||
struct imsic_data {
|
||||
u32 unique_id;
|
||||
bool targets_mmode;
|
||||
u32 guest_index_bits;
|
||||
u32 hart_index_bits;
|
||||
|
||||
Reference in New Issue
Block a user