aboutsummaryrefslogtreecommitdiff
path: root/exec.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2011-12-19 16:01:08 +0200
committerAvi Kivity <avi@redhat.com>2012-01-03 19:19:28 +0200
commit586c6230c012d1aced38e5a5614d15052ca4ae7a (patch)
tree352bac4723b7cb3028917a34f73c9fd15eabd5d9 /exec.c
parentcc4aa8307c83111a0c804ae3eaf1e63f220c682e (diff)
Remove cpu_get_physical_page_desc()
No longer used. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/exec.c b/exec.c
index e1f7462eeb..b02199b271 100644
--- a/exec.c
+++ b/exec.c
@@ -2595,17 +2595,6 @@ void cpu_register_physical_memory_log(target_phys_addr_t start_addr,
}
}
-/* XXX: temporary until new memory mapping API */
-ram_addr_t cpu_get_physical_page_desc(target_phys_addr_t addr)
-{
- PhysPageDesc *p;
-
- p = phys_page_find(addr >> TARGET_PAGE_BITS);
- if (!p)
- return IO_MEM_UNASSIGNED;
- return p->phys_offset;
-}
-
void qemu_register_coalesced_mmio(target_phys_addr_t addr, ram_addr_t size)
{
if (kvm_enabled())