qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) hos


From: Palle Lyckegaard
Subject: Re: [Qemu-devel] PATCH: Building qemu on OpenSolaris 2009.06 (SPARC) host
Date: Sun, 29 Nov 2009 20:09:26 +0000 (UTC)
User-agent: Alpine 1.10 (NEB 962 2008-03-14)

On Sun, 29 Nov 2009, Andreas Färber wrote:

I.e. if unavoidable, instead of #define PSR_XXX 123 one might need to #define TARGET_PSR_XXX 123 and change *all* uses of PSR_XXX to TARGET_PSR_XXX, so that Sun's and QEMU's definitions can live side by side. If your approach or #undef works correctly, that would seem less intrusive, therefore my question.


So far I've located only the definitions FSR_FCC1 and FPSR_FEF as being differently defined in qemu and OpenSolaris SPARC.

In order to be as little intrusive as possible I will rework my patch for the cpu.h file so - where the definitions in qemu and Solaris are equal: guard with an "if !defined(CONFIG_SOLARIS)" - where the definitions in qemu and Solaris are not equal: add a TARGET_ prefix to the definitions

/Palle


reply via email to

[Prev in Thread] Current Thread [Next in Thread]