mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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>
This commit is contained in:
parent
5134cf9b5d
commit
36ad84ecb2
2 changed files with 30 additions and 0 deletions
|
@ -21,6 +21,7 @@ struct LoongarchIPIState {
|
|||
struct LoongarchIPIClass {
|
||||
LoongsonIPICommonClass parent_class;
|
||||
DeviceRealize parent_realize;
|
||||
ResettablePhases parent_phases;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue