From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:43053) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RoSQ5-0006tZ-N0 for qemu-devel@nongnu.org; Fri, 20 Jan 2012 23:19:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RoSQ4-0001PQ-NR for qemu-devel@nongnu.org; Fri, 20 Jan 2012 23:19:13 -0500 From: Alexander Graf Date: Sat, 21 Jan 2012 05:18:46 +0100 Message-Id: <1327119551-29674-2-git-send-email-agraf@suse.de> In-Reply-To: <1327119551-29674-1-git-send-email-agraf@suse.de> References: <1327119551-29674-1-git-send-email-agraf@suse.de> Subject: [Qemu-devel] [PATCH 01/26] PPC: 440EP: Initialize timer List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-ppc@nongnu.org Cc: Blue Swirl , qemu-devel Developers , Aurelien Jarno 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 files changed, 1 insertions(+), 0 deletions(-) diff --git a/hw/ppc440.c b/hw/ppc440.c index cd8a95d..f7779bf 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 */ -- 1.6.0.2