[6296] PPC OldWorld: use a more realistic timer frequency
Revision: 6296
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6296 Author: aurel32 Date: 2009-01-14 14:48:04 +0000 (Wed, 14 Jan 2009)
Log Message:
-----------
PPC OldWorld: use a more realistic timer frequency
Signed-off-by Aurelien Jarno <[email protected]>
Modified Paths:
--------------
trunk/hw/ppc_oldworld.c
Modified: trunk/hw/ppc_oldworld.c
===================================================================
hw/ppc_oldworld.c +2 -2
@@ -144,8 +144,8 @@fprintf (stderr,"Unable to find PowerPC CPU definition\n" );exit (1 ); } -/* Set time-base frequency to 100 Mhz */ -cpu_ppc_tb_init (env,100UL *1000UL *1000UL ); +/* Set time-base frequency to 16.6 Mhz */ +cpu_ppc_tb_init (env,16600000UL ); env->osi_call = vga_osi_call;qemu_register_reset (&cpu_ppc_reset, env); envs[i] = env;