From: Alexander Graf Date: Tue, 3 Jan 2012 17:55:38 +0000 (+0100) Subject: PPC: 440EP: Initialize timer X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d29d3404fc1bb9e47b0e1cdc16218a574fbc2754;p=qemu.git PPC: 440EP: Initialize timer When using TCG with a BookE PowerPC core, we need to explicitly initialize the BookE timers with the correct frequencies. This was missing for 440EP, since that code came from KVM and was never used with TCG. Signed-off-by: Alexander Graf --- diff --git a/hw/ppc440.c b/hw/ppc440.c index cd8a95d52b..f7779bfcb9 100644 --- a/hw/ppc440.c +++ b/hw/ppc440.c @@ -56,6 +56,7 @@ CPUState *ppc440ep_init(MemoryRegion *address_space_mem, ram_addr_t *ram_size, exit(1); } + ppc_booke_timers_init(env, 400000000, 0); ppc_dcr_init(env, NULL, NULL); /* interrupt controller */