From: Richard Henderson <rth@twiddle.net>
To: qemu@zensonic.dk
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Help getting an qemu-alpha environment to work
Date: Tue, 27 Apr 2010 11:13:10 -0700 [thread overview]
Message-ID: <4BD72936.3080408@twiddle.net> (raw)
In-Reply-To: <20100427060003.GA30029@zensonic.dk>
On 04/26/2010 11:00 PM, qemu@zensonic.dk wrote:
> 1. avoid the problem? (Give the guest a larger valid address space)
Assuming that you don't have a guest program that (ab)uses the
"known unused" high bits of the address for type tagging pointers
(common in some lisp and virtual machine interpreters, including
emacs), then you can simply change target-alpha/cpu.h:
-#define TARGET_VIRT_ADDR_SPACE_BITS (30 + TARGET_PAGE_BITS)
+#define TARGET_VIRT_ADDR_SPACE_BITS 63
I know for a fact that glibc *does* use the msb for some pointer
tagging, so you can't use 64 here. I don't think that's actually
a problem for any current Linux host. If you only care about amd64
as the host, you can reduce this number to 47 and save 2 levels
of lookup in the address space tables.
r~
prev parent reply other threads:[~2010-04-27 18:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-24 15:51 [Qemu-devel] Help getting an qemu-alpha environment to work qemu
2010-04-25 1:07 ` Richard Henderson
2010-04-27 6:00 ` qemu
2010-04-27 18:13 ` Richard Henderson [this message]
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=4BD72936.3080408@twiddle.net \
--to=rth@twiddle.net \
--cc=qemu-devel@nongnu.org \
--cc=qemu@zensonic.dk \
/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).