qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit
@ 2007-11-30 16:23 Carlo Marcelo Arenas Belon
  2007-11-30 16:28 ` Paul Brook
  0 siblings, 1 reply; 6+ messages in thread
From: Carlo Marcelo Arenas Belon @ 2007-11-30 16:23 UTC (permalink / raw)
  To: qemu-devel

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
 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-12-01  1:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-30 16:23 [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit Carlo Marcelo Arenas Belon
2007-11-30 16:28 ` Paul Brook
2007-11-30 17:00   ` Carlo Marcelo Arenas Belon
2007-11-30 17:15     ` Paul Brook
2007-11-30 17:24       ` Blue Swirl
2007-12-01  1:19       ` Paul Mundt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).