4 #include "hw/qdev-core.h"
5 #include "qom/object.h"
7 #define TYPE_WDT_DIAG288 "diag288"
8 typedef struct DIAG288Class DIAG288Class
;
9 typedef struct DIAG288State DIAG288State
;
10 DECLARE_OBJ_CHECKERS(DIAG288State
, DIAG288Class
,
11 DIAG288
, TYPE_WDT_DIAG288
)
13 #define WDT_DIAG288_INIT 0
14 #define WDT_DIAG288_CHANGE 1
15 #define WDT_DIAG288_CANCEL 2
19 DeviceState parent_obj
;
28 DeviceClass parent_class
;
31 int (*handle_timer
)(DIAG288State
*dev
,
32 uint64_t func
, uint64_t timeout
);
35 #endif /* WDT_DIAG288_H */