]> git.ipfire.org Git - thirdparty/qemu.git/commit
split definitions for exec.c and translate-all.c radix trees
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 7 Nov 2013 16:14:36 +0000 (17:14 +0100)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Fri, 21 Feb 2014 03:59:18 +0000 (21:59 -0600)
commite480a1b8ff8292c6d014b930dff0ffbcaf14508a
tree56bbb9865cf32ff3ec3409abdbd015144aa44e58
parent29b0fcc181341bf1308a7c7645401815d5834232
split definitions for exec.c and translate-all.c radix trees

The exec.c and translate-all.c radix trees are quite different, and
the exec.c one in particular is not limited to the CPU---it can be
used also by devices that do DMA, and in that case the address space
is not limited to TARGET_PHYS_ADDR_SPACE_BITS bits.

We want to make exec.c's radix trees 64-bit wide.  As a first step,
stop sharing the constants between exec.c and translate-all.c.
exec.c gets P_L2_* constants, translate-all.c gets V_L2_*, for
consistency with the existing V_L1_* symbols.  Though actually
in the softmmu case translate-all.c is also indexed by physical
addresses...

This patch has no semantic change.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
(cherry picked from commit 03f4995781a64e106e6f73864a1e9c4163dac53b)

*prereq for 53cb28c backport

Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
exec.c
translate-all.c
translate-all.h