1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#ifndef E500_CCSR_H #define E500_CCSR_H #include "hw/sysbus.h" #include "qom/object.h" struct PPCE500CCSRState { /*< private >*/ SysBusDevice parent; /*< public >*/ MemoryRegion ccsr_space; }; typedef struct PPCE500CCSRState PPCE500CCSRState; #define TYPE_CCSR "e500-ccsr" #define CCSR(obj) OBJECT_CHECK(PPCE500CCSRState, (obj), TYPE_CCSR) #endif /* E500_CCSR_H */