summaryrefslogtreecommitdiffstats
path: root/exec-all.h
diff options
context:
space:
mode:
authorRichard Henderson2010-03-11 00:53:37 +0100
committerPaul Brook2010-03-12 17:31:09 +0100
commit5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65 (patch)
tree6d024eefeab2a13c4b8a39335a028aa7a151c623 /exec-all.h
parentlinux-user: Fix mmap_find_vma returning invalid addresses. (diff)
downloadqemu-5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65.tar.gz
qemu-5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65.tar.xz
qemu-5cd2c5b6ad75c46d40118ac67c0c09d4e7930a65.zip
Implement multi-level page tables.
Define L1_MAP_ADDR_SPACE_BITS to be either the virtual address size (in user mode) or physical address size (in system mode), and use that to size l1_map. This rewrites page_find_alloc, page_flush_tb, and walk_memory_regions. Use TARGET_PHYS_ADDR_SPACE_BITS for the physical memory map based off of l1_phys_map. This rewrites page_phys_find_alloc and phys_page_for_each. Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'exec-all.h')
0 files changed, 0 insertions, 0 deletions