aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc440.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc440.h')
-rw-r--r--hw/ppc440.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/hw/ppc440.h b/hw/ppc440.h
index 087af1963..36156496a 100644
--- a/hw/ppc440.h
+++ b/hw/ppc440.h
@@ -3,6 +3,7 @@
*
* Copyright 2007 IBM Corporation.
* Authors: Jerone Young <jyoung5@us.ibm.com>
+ * Christian Ehrhardt <ehrhardt@linux.vnet.ibm.com>
*
* This work is licensed under the GNU GPL licence version 2 or later
*
@@ -20,9 +21,12 @@
#include "exec-all.h"
#include "boards.h"
+#define PPC440_MAX_RAM_SLOTS 4
+
void ppc440ep_init(CPUState *env,
- target_phys_addr_t ram_bases[2],
- target_phys_addr_t ram_sizes[2],
+ target_phys_addr_t ram_bases[PPC440_MAX_RAM_SLOTS],
+ target_phys_addr_t ram_sizes[PPC440_MAX_RAM_SLOTS],
+ int nbanks,
qemu_irq **picp,
ppc4xx_pci_t **pcip,
int do_init);