aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/e500-ccsr.h
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2012-12-15 09:05:26 +0000
committerBlue Swirl <blauwirbel@gmail.com>2012-12-15 09:05:26 +0000
commit6d4e18925a65306afabaad7b63a4588c18919e99 (patch)
tree3d46feb2372756bc5dcb37641f3c8030431fcf23 /hw/ppc/e500-ccsr.h
parent659f807c0a700317a7a0fae7a6e6ebfe68bfbbc4 (diff)
parenta64ae610b978dfd8ccfb7f6c5d4cfe62d7542fbd (diff)
Merge branch 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf
* 'ppc-for-upstream' of git://repo.or.cz/qemu/agraf: (40 commits) pseries: Increase default NVRAM size target-ppc: Don't use hwaddr to represent hardware state PPC: e500: pci: Export slot2irq calculation PPC: E500plat: Make a lot of PCI slots available PPC: E500: Move PCI slot information into params PPC: E500: Generate dt pci irq map dynamically PPC: E500: PCI: Make IRQ calculation more generic PPC: E500: PCI: Make first slot qdev settable openpic: Accelerate pending irq search openpic: fix minor coding style issues MSI-X: Fix endianness PPC: e500: Declare pci bridge as bridge PPC: e500: Add MSI support openpic: add Shared MSI support openpic: make brr1 model specific openpic: convert to qdev openpic: remove irq_out openpic: rename openpic_t to OpenPICState openpic: convert simple reg operations to builtin bitops openpic: remove unused type variable ...
Diffstat (limited to 'hw/ppc/e500-ccsr.h')
-rw-r--r--hw/ppc/e500-ccsr.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/hw/ppc/e500-ccsr.h b/hw/ppc/e500-ccsr.h
new file mode 100644
index 0000000000..f20f51bcd2
--- /dev/null
+++ b/hw/ppc/e500-ccsr.h
@@ -0,0 +1,17 @@
+#ifndef E500_CCSR_H
+#define E500_CCSR_H
+
+#include "../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 */