qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Carlo Marcelo Arenas Belon <carenas@sajinet.com.pe>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit
Date: Fri, 30 Nov 2007 10:23:29 -0600	[thread overview]
Message-ID: <20071130162329.GF28369@tapir> (raw)

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
 

             reply	other threads:[~2007-11-30 16:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-30 16:23 Carlo Marcelo Arenas Belon [this message]
2007-11-30 16:28 ` [Qemu-devel] [PATCH] sh4: define explicitly that the target CPU is 32 bit 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071130162329.GF28369@tapir \
    --to=carenas@sajinet.com.pe \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).