[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/6] Move TARGET_PHYS_ADDR_SPACE_BITS to target-
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 1/6] Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h. |
Date: |
Thu, 11 Mar 2010 07:19:26 -0800 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 |
On 03/11/2010 03:11 AM, Aurelien Jarno wrote:
>> +/* ??? MIPS64 no doubt has a larger address space. */
>> +#define TARGET_PHYS_ADDR_SPACE_BITS 32
>> +#define TARGET_VIRT_ADDR_SPACE_BITS 32
>> +
>
> In 32-bit mode, TARGET_VIRT_ADDR_SPACE_BITS is 32 bits, and
> TARGET_PHYS_ADDR_SPACE_BITS is 36 bits.
>
> In 64-bit mode, TARGET_VIRT_ADDR_SPACE_BITS is 42 bits, and
> TARGET_PHYS_ADDR_SPACE_BITS is 36 bits for the CPUs emulated by QEMU,
> though the architecture specification limits those value to respectively
> 62 and 59 bits.
Thanks. I'll queue that either for a subsequent round or a
follow-up patch (since the current tree doesn't use anything
but the 32 above).
r~
- [Qemu-devel] [PATCH 0/6] Multi-level page tables and userland mapping fixes, v3, Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 6/6] Fix last page errors in page_check_range and page_set_flags., Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 3/6] linux-user: Use h2g_valid in qemu_vmalloc., Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 1/6] Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h., Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 4/6] linux-user: Fix mmap_find_vma returning invalid addresses., Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 2/6] Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid., Richard Henderson, 2010/03/10
- [Qemu-devel] [PATCH 5/6] Implement multi-level page tables., Richard Henderson, 2010/03/10
- Re: [Qemu-devel] [PATCH 0/6] Multi-level page tables and userland mapping fixes, v3, Paul Brook, 2010/03/12