]> git.proxmox.com Git - qemu.git/commit - cpu-all.h
Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid.
authorRichard Henderson <rth@twiddle.net>
Wed, 10 Mar 2010 22:36:58 +0000 (14:36 -0800)
committerPaul Brook <paul@codesourcery.com>
Fri, 12 Mar 2010 16:28:47 +0000 (16:28 +0000)
commitb9f83121a13153536d886305414b540460c34508
tree345a3e65d5860ceda9d284b23e47d19ed5237b9c
parent5270589032f450ae7c3448730855aa18ff68ccff
Use TARGET_VIRT_ADDR_SPACE_BITS in h2g_valid.

Previously, only 32-bit guests had a proper check for the
validity of the virtual address.  Extend that check to 64-bit
guests with a restricted virtual address space.

Signed-off-by: Richard Henderson <rth@twiddle.net>
cpu-all.h