From: Aurelien Jarno <aurelien@aurel32.net>
To: Richard Henderson <rth@twiddle.net>
Cc: peter.maydell@linaro.org, riku.voipio@iki.fi, qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 09/10] mipsn32-linux-user: Restrict address space to 31-bits.
Date: Tue, 26 Mar 2013 20:50:28 +0100 [thread overview]
Message-ID: <20130326195028.GD22106@hall.aurel32.net> (raw)
In-Reply-To: <20130305140344.GG23040@ohm.aurel32.net>
On Tue, Mar 05, 2013 at 03:03:44PM +0100, Aurelien Jarno wrote:
> On Sun, Feb 10, 2013 at 10:30:49AM -0800, Richard Henderson wrote:
> > Signed-off-by: Richard Henderson <rth@twiddle.net>
> > ---
> > linux-user/main.c | 12 ++++++------
> > 1 file changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/linux-user/main.c b/linux-user/main.c
> > index 8c4dffd..25491ca 100644
> > --- a/linux-user/main.c
> > +++ b/linux-user/main.c
> > @@ -46,10 +46,10 @@ int gdbstub_port;
> > envlist_t *envlist;
> > const char *cpu_model;
> > unsigned long mmap_min_addr;
> > +
> > #if defined(CONFIG_USE_GUEST_BASE)
> > unsigned long guest_base;
> > int have_guest_base;
> > -#if (TARGET_LONG_BITS == 32) && (HOST_LONG_BITS == 64)
> > /*
> > * When running 32-on-64 we should make sure we can fit all of the possible
> > * guest address space into a contiguous chunk of virtual host memory.
> > @@ -57,16 +57,16 @@ int have_guest_base;
> > * This way we will never overlap with our own libraries or binaries or stack
> > * or anything else that QEMU maps.
> > */
> > -# ifdef TARGET_MIPS
> > +# if HOST_LONG_BITS == 64 \
> > + && (defined(TARGET_ABI_MIPSO32) || defined(TARGET_ABI_MIPSN32))
> > /* MIPS only supports 31 bits of virtual address space for user space */
> > -unsigned long reserved_va = 0x77000000;
> > -# else
> > +unsigned long reserved_va = 0x7f000000;
>
> Is it really wanted to change 0x77 into 0x7f? If yes, I think the
> commit log should explain why.
>
Ping?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
next prev parent reply other threads:[~2013-03-26 19:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1360521050-29680-1-git-send-email-rth@twiddle.net>
[not found] ` <1360521050-29680-8-git-send-email-rth@twiddle.net>
2013-03-05 11:18 ` [Qemu-devel] [PATCH 07/10] mips64-linux-user: Use MIPS64R2-generic as default cpu Aurelien Jarno
[not found] ` <1360521050-29680-9-git-send-email-rth@twiddle.net>
2013-03-05 13:38 ` [Qemu-devel] [PATCH 08/10] target-mips: Fix check_cp1_64bitmode Aurelien Jarno
[not found] ` <1360521050-29680-10-git-send-email-rth@twiddle.net>
2013-03-05 14:03 ` [Qemu-devel] [PATCH 09/10] mipsn32-linux-user: Restrict address space to 31-bits Aurelien Jarno
2013-03-26 19:50 ` Aurelien Jarno [this message]
2013-03-26 21:08 ` Richard Henderson
2013-03-05 14:10 ` [Qemu-devel] [PATCH 00/10] Support mips64/mipsn32-linux-user Aurelien Jarno
[not found] ` <1360521050-29680-7-git-send-email-rth@twiddle.net>
2013-06-09 17:46 ` [Qemu-devel] [PATCH] target-mips: 64-bit FPU for user-mode emulation Thomas Schwinge
2013-06-10 14:21 ` Maciej W. Rozycki
[not found] <BA5E4206D1AE49DC9AB5F41EFE90E70F@domain.local>
2013-07-28 2:39 ` Petar Jovanovic
2013-08-05 14:15 ` Thomas Schwinge
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=20130326195028.GD22106@hall.aurel32.net \
--to=aurelien@aurel32.net \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=riku.voipio@iki.fi \
--cc=rth@twiddle.net \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.