summaryrefslogtreecommitdiffstats
path: root/src/hw/ppc/e500-ccsr.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/ppc/e500-ccsr.h')
-rw-r--r--src/hw/ppc/e500-ccsr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/hw/ppc/e500-ccsr.h b/src/hw/ppc/e500-ccsr.h
new file mode 100644
index 0000000..12a2ba4
--- /dev/null
+++ b/src/hw/ppc/e500-ccsr.h
@@ -0,0 +1,17 @@
+#ifndef E500_CCSR_H
+#define E500_CCSR_H
+
+#include "hw/sysbus.h"
+
+typedef struct PPCE500CCSRState {
+ /*< private >*/
+ SysBusDevice parent;
+ /*< public >*/
+
+ MemoryRegion ccsr_space;
+} PPCE500CCSRState;
+
+#define TYPE_CCSR "e500-ccsr"
+#define CCSR(obj) OBJECT_CHECK(PPCE500CCSRState, (obj), TYPE_CCSR)
+
+#endif /* E500_CCSR_H */
OpenPOWER on IntegriCloud