mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
SPARC host fixes, by Ben Taylor.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2503 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
ee999a8899
commit
8294eba187
3 changed files with 2 additions and 35 deletions
|
@ -17,19 +17,13 @@
|
|||
* License along with this library; if not, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
*/
|
||||
#include "config.h"
|
||||
#include "dyngen-exec.h"
|
||||
|
||||
#if defined(__sparc__)
|
||||
struct CPUARMState *env;
|
||||
uint32_t T0;
|
||||
uint32_t T1;
|
||||
uint32_t T2;
|
||||
#else
|
||||
register struct CPUARMState *env asm(AREG0);
|
||||
register uint32_t T0 asm(AREG1);
|
||||
register uint32_t T1 asm(AREG2);
|
||||
register uint32_t T2 asm(AREG3);
|
||||
#endif
|
||||
|
||||
/* TODO: Put these in FP regs on targets that have such things. */
|
||||
/* It is ok for FT0s and FT0d to overlap. Likewise FT1s and FT1d. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue