aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc_mac.h
diff options
context:
space:
mode:
Diffstat (limited to 'hw/ppc_mac.h')
-rw-r--r--hw/ppc_mac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc_mac.h b/hw/ppc_mac.h
index 7d084184fc..524b2368a4 100644
--- a/hw/ppc_mac.h
+++ b/hw/ppc_mac.h
@@ -71,10 +71,10 @@ PCIBus *pci_pmac_u3_init(qemu_irq *pic,
/* Mac NVRAM */
typedef struct MacIONVRAMState MacIONVRAMState;
-MacIONVRAMState *macio_nvram_init (target_phys_addr_t size,
+MacIONVRAMState *macio_nvram_init (hwaddr size,
unsigned int it_shift);
void macio_nvram_setup_bar(MacIONVRAMState *s, MemoryRegion *bar,
- target_phys_addr_t mem_base);
+ hwaddr mem_base);
void pmac_format_nvram_partition (MacIONVRAMState *nvr, int len);
uint32_t macio_nvram_read (void *opaque, uint32_t addr);
void macio_nvram_write (void *opaque, uint32_t addr, uint32_t val);