diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-02 22:04:06 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-02 22:04:06 +0000 |
commit | fa296b0fb4ceb0a2535bce201a76f1c00ca21468 (patch) | |
tree | b1e540f98e417cfb8768b75bbeb3e849aea5f82c /hw/ppc_chrp.c | |
parent | 3fc6c082e3aad85addf25d36740030982963c0c8 (diff) | |
download | hqemu-fa296b0fb4ceb0a2535bce201a76f1c00ca21468.zip hqemu-fa296b0fb4ceb0a2535bce201a76f1c00ca21468.tar.gz |
PIC fix - changed back TB frequency to 100 MHz
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1490 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_chrp.c')
-rw-r--r-- | hw/ppc_chrp.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c index 4437911..515806f 100644 --- a/hw/ppc_chrp.c +++ b/hw/ppc_chrp.c @@ -307,8 +307,8 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, } cpu_ppc_register(cpu_single_env, def); - /* Set time-base frequency to 10 Mhz */ - cpu_ppc_tb_init(cpu_single_env, 10UL * 1000UL * 1000UL); + /* Set time-base frequency to 100 Mhz */ + cpu_ppc_tb_init(cpu_single_env, 100UL * 1000UL * 1000UL); cpu_single_env->osi_call = vga_osi_call; @@ -328,7 +328,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, pci_set_pic(pci_bus, set_irq, pic); /* XXX: suppress that */ - pic_init(pic_irq_request, NULL); + isa_pic = pic_init(pic_irq_request, NULL); /* XXX: use Mac Serial port */ serial_init(0x3f8, 4, serial_hds[0]); @@ -370,7 +370,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, pci_set_pic(pci_bus, set_irq, pic); /* XXX: suppress that */ - pic_init(pic_irq_request, NULL); + isa_pic = pic_init(pic_irq_request, NULL); /* XXX: use Mac Serial port */ serial_init(0x3f8, 4, serial_hds[0]); |