From d29d3404fc1bb9e47b0e1cdc16218a574fbc2754 Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Tue, 3 Jan 2012 18:55:38 +0100 Subject: [PATCH] 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 --- hw/ppc440.c | 1 + 1 file changed, 1 insertion(+) 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 */