diff options
| author | Bibo Mao <maobibo@loongson.cn> | 2025-03-07 09:34:41 +0800 |
|---|---|---|
| committer | Bibo Mao <maobibo@loongson.cn> | 2025-05-06 09:17:32 +0800 |
| commit | 36ad84ecb26d6a28c78d079dc51063d972600592 (patch) | |
| tree | c4bfe330d6522741be4b4c0c4947c0e4a1331553 /include/hw/intc | |
| parent | 5134cf9b5d3aee4475fe7e1c1c11b093731073cf (diff) | |
| download | focaccia-qemu-36ad84ecb26d6a28c78d079dc51063d972600592.tar.gz focaccia-qemu-36ad84ecb26d6a28c78d079dc51063d972600592.zip | |
hw/intc/loongarch_ipi: Add reset support
Add reset support with ipi object, register reset callback and clear internal registers when virt machine resets. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn>
Diffstat (limited to 'include/hw/intc')
| -rw-r--r-- | include/hw/intc/loongarch_ipi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/intc/loongarch_ipi.h b/include/hw/intc/loongarch_ipi.h index 923bf21ecb..a7c6bf85d3 100644 --- a/include/hw/intc/loongarch_ipi.h +++ b/include/hw/intc/loongarch_ipi.h @@ -21,6 +21,7 @@ struct LoongarchIPIState { struct LoongarchIPIClass { LoongsonIPICommonClass parent_class; DeviceRealize parent_realize; + ResettablePhases parent_phases; }; #endif |