qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Help getting an qemu-alpha environment to work


From: Richard Henderson
Subject: Re: [Qemu-devel] Help getting an qemu-alpha environment to work
Date: Tue, 27 Apr 2010 11:13:10 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.0.4-1.fc12 Thunderbird/3.0.4

On 04/26/2010 11:00 PM, address@hidden 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~




reply via email to

[Prev in Thread] Current Thread [Next in Thread]