qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6296] PPC OldWorld: use a more realistic timer frequency


From: Aurelien Jarno
Subject: [Qemu-devel] [6296] PPC OldWorld: use a more realistic timer frequency
Date: Wed, 14 Jan 2009 14:48:04 +0000

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 <address@hidden>

Modified Paths:
--------------
    trunk/hw/ppc_oldworld.c

Modified: trunk/hw/ppc_oldworld.c
===================================================================
--- trunk/hw/ppc_oldworld.c     2009-01-14 14:47:56 UTC (rev 6295)
+++ trunk/hw/ppc_oldworld.c     2009-01-14 14:48:04 UTC (rev 6296)
@@ -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;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]