From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UKsbv-00027A-M3 for qemu-devel@nongnu.org; Wed, 27 Mar 2013 11:50:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UKsbr-00013B-P5 for qemu-devel@nongnu.org; Wed, 27 Mar 2013 11:49:59 -0400 Message-ID: <51531522.2060402@adacore.com> Date: Wed, 27 Mar 2013 16:49:54 +0100 From: Fabien Chouteau MIME-Version: 1.0 References: <1364392235-6193-1-git-send-email-chouteau@adacore.com> <4427FBE0-BA0D-4BFD-9D7C-F1406DF5239A@suse.de> <5153093D.6040802@adacore.com> <6F814D75-FCE6-4B8A-8510-0AE8FCFB0A9E@suse.de> In-Reply-To: <6F814D75-FCE6-4B8A-8510-0AE8FCFB0A9E@suse.de> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [Qemu-ppc] [PATCH] PPC: init_excp_7x0: fix hreset entry point. List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alexander Graf Cc: qemu-ppc@nongnu.org, qemu-devel@nongnu.org On 03/27/2013 04:10 PM, Alexander Graf wrote: >> It's actually already implemented (helper_regs.h:96). The question is: >> what is the value of MSR[IP] at reset? > > For 740 / 750, it's 1. All other bits are 0. Is it true for all PPC, because MSR_EP/IP is set for all kind of CPU right now. > >> Also, we might want to call hreg_store_msr() in ppc_cpu_reset() instead >> of just setting the value env->msr, this way we don't need >> hreset_excp_prefix as the MSR[IP] will be used to set the value of >> env->excp_prefix. Something like: > > Sounds good :) > Alright, we can get rid of hreset_excp_prefix then. Thanks, -- Fabien Chouteau