Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N08A3-0001l4-FF for qemu-devel@nongnu.org; Tue, 20 Oct 2009 02:25:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N089y-0001kZ-Il for qemu-devel@nongnu.org; Tue, 20 Oct 2009 02:25:34 -0400 Received: from [199.232.76.173] (port=35424 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N089y-0001kW-DN for qemu-devel@nongnu.org; Tue, 20 Oct 2009 02:25:30 -0400 Received: from mail-qy0-f194.google.com ([209.85.221.194]:51854) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N089y-0000z3-5K for qemu-devel@nongnu.org; Tue, 20 Oct 2009 02:25:30 -0400 Received: by qyk32 with SMTP id 32so3731763qyk.4 for ; Mon, 19 Oct 2009 23:25:29 -0700 (PDT) MIME-Version: 1.0 Date: Tue, 20 Oct 2009 08:25:27 +0200 Message-ID: <889a3be10910192325y142b3fd3jedc93fc95c8602ea@mail.gmail.com> From: Johnny Giacomoni Content-Type: multipart/alternative; boundary=0014853926609ce955047657ed0b Subject: [Qemu-devel] QEMU Target CPU support for PowerPC MPC8270 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0014853926609ce955047657ed0b Content-Type: text/plain; charset=ISO-8859-1 Hi everybody ! I currently work on Linux (Open SUSE) to emulate a CPU (MC8270, FreeScale). I know that QEMU is designed to simulate Operating Systems, but I just want to emulate a CPU. It seem to be possible with QEMU. So, by seeing on http://www.qemu.org/status.html that PowerPC target is testing, I wonder if it's not supported yet. For example, I've created a HelloWorld program which has to be executed on a PowerPC CPU. To reach this goal, I first cross-compiled it (thanks to crosstools) with a powerpc-powerpc-linux-gnu TARGET. So, when I use qemu-ppc -cpu MPC8270 it works, but just because it's running on Linux. I just want a program being sure that it runs only on a PowerPC CPU. Can I do that with QEMU ? How can I do ? I looked on some forums (mainly those of qemu) but I didn't find my answer -> http://qemu-forum.ipi.fi/viewforum.php?f=25 Can you help me please ? Thanks. Have a nice day ! Jgiacomo --0014853926609ce955047657ed0b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi everybody !

I currently work on Linux (Open SUSE) to emulate a CP= U (MC8270, FreeScale).

I know that QEMU is designed to simulate Ope= rating Systems, but I just want to emulate a CPU. It seem to be possible wi= th QEMU.

So, by seeing on http://www= .qemu.org/status.html that PowerPC target is testing, I wonder if it= 9;s not supported yet.

For example, I've created a HelloWorld pr= ogram which has to be executed on a PowerPC CPU. To reach this goal, I firs= t cross-compiled it (thanks to crosstools) with a powerpc-powerpc-linux-gnu= TARGET. So, when I use qemu-ppc -cpu MPC8270 it works, but just because it= 's running on Linux. I just want a program being sure that it runs only= on a PowerPC CPU.


Can I do that with QEMU ? How can I do ?

I looked on some fo= rums (mainly those of qemu) but I didn't find my answer -> http://qemu-forum.ipi.fi= /viewforum.php?f=3D25

Can you help me please ?

Thanks. Have a nice day !

Jgiac= omo
--0014853926609ce955047657ed0b--