Received: from eggs.gnu.org ([2001:4830:134:3::10]:37618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgV11-0000uu-Cj for Qemu-devel@nongnu.org; Wed, 13 Nov 2013 02:37:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VgV0s-0005fQ-R5 for Qemu-devel@nongnu.org; Wed, 13 Nov 2013 02:37:31 -0500 Received: from nm19-vm0.bullet.mail.bf1.yahoo.com ([98.139.213.162]:36228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VgUrn-00037Q-8o for Qemu-devel@nongnu.org; Wed, 13 Nov 2013 02:27:59 -0500 Message-ID: <1384327613.27418.YahooMailNeo@web162604.mail.bf1.yahoo.com> Date: Tue, 12 Nov 2013 23:26:53 -0800 (PST) From: Fardin MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="1866672204-885177749-1384327613=:27418" Subject: [Qemu-devel] Adding some code to the QEMU used inside Android Emulator Reply-To: Fardin List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Qemu-devel@nongnu.org" , "fardin.abdi@gmail.com" --1866672204-885177749-1384327613=:27418 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi everyone,=A0=0A=0AMy question might look very stupid but the answer woul= d really help me.=A0=0A=0AI am working on Android emulator which is using Q= EMU. I need to print out the value of=A0env->cp15.c13_fcse everytime the=A0= voidtlb_flush(CPUState*env,intflush_global) in exec.c is called. The proble= m is when compiling for other targets there is no -
Hi everyone, 

My question might loo= k very stupid but the answer would really help me. 

<= /div>
I am working on Android emulator which is using QEMU. I need to print out th= e value of env->cp15.c13_fcse everytime the void tlb_flush(CPUState *env, int flush_global) in exec.c is called. The problem is when compi= ling for other targets there is no -<cp15.c13_fcse member.
=

Therefo= re I only want to compile this for the ARM architecture (Which I assume is = the target for Android Emulator).

I tried to use the following = but it didn't work. Actually nothing is compiled for emulator.

<= div style=3D"background-color: transparent;">#if defined(__arm__) || defined(arm)= || defined(__arm__) || defined(ARM) || defined(_ARM_) || defined(WTF_CPU_A= RM) =0A

I would be grateful, if anyone can help = me with this.


Cheers,
--Fardin
--1866672204-885177749-1384327613=:27418--