aboutsummaryrefslogtreecommitdiff
path: root/hw/hppa/hppa_sys.h
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2017-10-08 16:47:27 -0400
committerRichard Henderson <richard.henderson@linaro.org>2018-01-31 05:30:50 -0800
commita72bd606ca9754e2d2aecf75acd3c27564ad4fe0 (patch)
treeb5750b17922ae05209e6c2c0ffe381693b7f3f6f /hw/hppa/hppa_sys.h
parent7b93dab51e929d7c2878cb5ad92b4419e3318e73 (diff)
hw/hppa: Implement DINO system board
Now that we have the prerequisites in target/hppa/, implement the hardware for a PA7100LC. This also enables build for hppa-softmmu. Signed-off-by: Helge Deller <deller@gmx.de> [rth: Since it is all new code, squashed all branch development withing hw/hppa/ to a single patch.] Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/hppa/hppa_sys.h')
-rw-r--r--hw/hppa/hppa_sys.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/hw/hppa/hppa_sys.h b/hw/hppa/hppa_sys.h
new file mode 100644
index 0000000000..a182d1f34e
--- /dev/null
+++ b/hw/hppa/hppa_sys.h
@@ -0,0 +1,24 @@
+/* HPPA cores and system support chips. */
+
+#ifndef HW_HPPA_SYS_H
+#define HW_HPPA_SYS_H
+
+#include "target/hppa/cpu-qom.h"
+#include "hw/pci/pci.h"
+#include "hw/pci/pci_host.h"
+#include "hw/ide.h"
+#include "hw/i386/pc.h"
+#include "hw/irq.h"
+
+#include "hw/hppa/hppa_hardware.h"
+
+PCIBus *dino_init(MemoryRegion *, qemu_irq *, qemu_irq *);
+
+#define TYPE_DINO_PCI_HOST_BRIDGE "dino-pcihost"
+
+/* hppa_pci.c. */
+extern const MemoryRegionOps hppa_pci_ignore_ops;
+extern const MemoryRegionOps hppa_pci_conf1_ops;
+extern const MemoryRegionOps hppa_pci_iack_ops;
+
+#endif