summary refs log tree commit diff stats
path: root/include/hw/intc/loongarch_pic_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/hw/intc/loongarch_pic_common.h')
-rw-r--r--include/hw/intc/loongarch_pic_common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/hw/intc/loongarch_pic_common.h b/include/hw/intc/loongarch_pic_common.h
index 0a1a28063c..43cce48978 100644
--- a/include/hw/intc/loongarch_pic_common.h
+++ b/include/hw/intc/loongarch_pic_common.h
@@ -76,5 +76,7 @@ struct LoongArchPICCommonClass {
     SysBusDeviceClass parent_class;
 
     DeviceRealize parent_realize;
+    int (*pre_save)(LoongArchPICCommonState *s);
+    int (*post_load)(LoongArchPICCommonState *s, int version_id);
 };
 #endif  /* HW_LOONGARCH_PIC_COMMON_H */