aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc_mac.h
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:40:23 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-12 17:40:23 +0000
commit7fa9ae1aaab87bd197a34623a1c264dca51d6217 (patch)
treeacc5debc4d208f4b0f116a04d9975c1d73011802 /hw/ppc_mac.h
parentb4ed08e09e1afefff885baffbea6e092386addc2 (diff)
downloadqemu-7fa9ae1aaab87bd197a34623a1c264dca51d6217.zip
qemu-7fa9ae1aaab87bd197a34623a1c264dca51d6217.tar.gz
qemu-7fa9ae1aaab87bd197a34623a1c264dca51d6217.tar.bz2
Use ESCC for PowerMac serial
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6271 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_mac.h')
-rw-r--r--hw/ppc_mac.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/ppc_mac.h b/hw/ppc_mac.h
index d895b89..cc70fb7 100644
--- a/hw/ppc_mac.h
+++ b/hw/ppc_mac.h
@@ -37,6 +37,8 @@
#define KERNEL_LOAD_ADDR 0x01000000
#define INITRD_LOAD_ADDR 0x01800000
+#define ESCC_CLOCK 3686400
+
/* DBDMA */
void dbdma_init (int *dbdma_mem_index);
@@ -46,7 +48,7 @@ void cuda_init (int *cuda_mem_index, qemu_irq irq);
/* MacIO */
void macio_init (PCIBus *bus, int device_id, int is_oldworld, int pic_mem_index,
int dbdma_mem_index, int cuda_mem_index, void *nvram,
- int nb_ide, int *ide_mem_index);
+ int nb_ide, int *ide_mem_index, int escc_mem_index);
/* NewWorld PowerMac IDE */
int pmac_ide_init (BlockDriverState **hd_table, qemu_irq irq);