]> git.proxmox.com Git - mirror_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 S. Tsirkin <mst@redhat.com>
Tue, 10 Dec 2013 10:29:56 +0000 (12:29 +0200)
commit03f4995781a64e106e6f73864a1e9c4163dac53b
tree003ca5ab7066202a511bd6becf71a5602184d35e
parent92b8e39c7f582e15f9e9423bc9fd3f186536b073
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>
exec.c
translate-all.c
translate-all.h