[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bi
From: |
Carlo Marcelo Arenas Belon |
Subject: |
[Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit |
Date: |
Fri, 30 Nov 2007 10:23:29 -0600 |
User-agent: |
Mutt/1.4.1i |
The following patch enforces that the sh4 target is 32 bit to prevent qemu to
expand incorrectly to a 64 bit wide cpu if compiled in a 64 bit host.
Carlo
---
Index: target-sh4/cpu.h
===================================================================
RCS file: /sources/qemu/qemu/target-sh4/cpu.h,v
retrieving revision 1.12
diff -u -r1.12 cpu.h
--- target-sh4/cpu.h 10 Nov 2007 15:15:53 -0000 1.12
+++ target-sh4/cpu.h 30 Nov 2007 16:08:38 -0000
@@ -22,6 +22,7 @@
#include "config.h"
+#define TARGET_PHYS_ADDR_BITS 32
#define TARGET_LONG_BITS 32
#define TARGET_HAS_ICE 1
- [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit,
Carlo Marcelo Arenas Belon <=