From: Paul Brook <paul@codesourcery.com>
To: qemu-devel@nongnu.org
Cc: "J. Mayer" <l_indien@magic.fr>
Subject: Re: [Qemu-devel] RFC: linux user problems
Date: Mon, 17 Sep 2007 23:10:02 +0100 [thread overview]
Message-ID: <200709172310.04652.paul@codesourcery.com> (raw)
In-Reply-To: <1190063040.14938.182.camel@rapid>
On Monday 17 September 2007, J. Mayer wrote:
> It seems to me that there are many problems in linux-user/syscall.c
> - problems for 64 bits targets:
> it seems that do_syscall and child functions should take target_long /
> target_ulong arguments instead of long / unsigned long. This would make
> a chance for 64 bits targets to be ran on 32 bits hosts (even if, yes,
> there would also be other problems to fix elsewhere...).
IIRC most of code predates target_long. I'm surprised 64-bit targets work at
all.
> there should be a target_short definition: are we sure short on the host
> is always the same size than target_short ?
Short is the same 16-bit type on every host or target we're even vaguely
likely to care about.
I can only think of one system (a weird and fairly obscure DSP) where this is
not true. You'd definitely not be running linux, and almost certainly not be
running qemu on it.
Paul
next prev parent reply other threads:[~2007-09-17 22:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-17 21:04 [Qemu-devel] RFC: linux user problems J. Mayer
2007-09-17 22:10 ` Paul Brook [this message]
2007-09-17 22:25 ` J. Mayer
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=200709172310.04652.paul@codesourcery.com \
--to=paul@codesourcery.com \
--cc=l_indien@magic.fr \
--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).