Split TLB addend and target_phys_addr_t
authorPaul Brook <paul@codesourcery.com>
Sun, 4 Apr 2010 23:28:53 +0000 (00:28 +0100)
committerPaul Brook <paul@codesourcery.com>
Sun, 4 Apr 2010 23:28:53 +0000 (00:28 +0100)
commit104b659d126794683863e22f660382b31eb47f69
tree15fb62cc03f22548ea08f7cb1609d7abe7970052
parentbc3e4f9a1b5ec7f2c8d94e311360081f2c76e356
Split TLB addend and target_phys_addr_t

Historically the qemu tlb "addend" field was used for both RAM and IO accesses,
so needed to be able to hold both host addresses (unsigned long) and guest
physical addresses (target_phys_addr_t).  However since the introduction of
the iotlb field it has only been used for RAM accesses.

This means we can change the type of addend to unsigned long, and remove
associated hacks in the big-endian TCG backends.

We can also remove the host dependence from target_phys_addr_t.

Signed-off-by: Paul Brook <paul@codesourcery.com>
configure
cpu-defs.h
exec.c
softmmu_template.h
targphys.h
tcg/mips/tcg-target.c
tcg/ppc/tcg-target.c
tcg/ppc64/tcg-target.c
tcg/sparc/tcg-target.c