Commit b0fb43d8e80d2d4685adefa3e3d33460249185f9

Authored by aurel32
1 parent aeeb69c7

PPC OldWorld: use a more realistic timer frequency

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6296 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 2 additions and 2 deletions
hw/ppc_oldworld.c
... ... @@ -144,8 +144,8 @@ static void ppc_heathrow_init (ram_addr_t ram_size, int vga_ram_size,
144 144 fprintf(stderr, "Unable to find PowerPC CPU definition\n");
145 145 exit(1);
146 146 }
147   - /* Set time-base frequency to 100 Mhz */
148   - cpu_ppc_tb_init(env, 100UL * 1000UL * 1000UL);
  147 + /* Set time-base frequency to 16.6 Mhz */
  148 + cpu_ppc_tb_init(env, 16600000UL);
149 149 env->osi_call = vga_osi_call;
150 150 qemu_register_reset(&cpu_ppc_reset, env);
151 151 envs[i] = env;
... ...