[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 23/23] Remove cpu_get_physical_page_desc()
From: |
Avi Kivity |
Subject: |
[Qemu-devel] [PATCH 23/23] Remove cpu_get_physical_page_desc() |
Date: |
Mon, 19 Dec 2011 16:13:44 +0200 |
No longer used.
Signed-off-by: Avi Kivity <address@hidden>
---
cpu-common.h | 1 -
exec.c | 11 -----------
2 files changed, 0 insertions(+), 12 deletions(-)
diff --git a/cpu-common.h b/cpu-common.h
index eee2faf..3fe44d2 100644
--- a/cpu-common.h
+++ b/cpu-common.h
@@ -38,7 +38,6 @@ typedef unsigned long ram_addr_t;
typedef void CPUWriteMemoryFunc(void *opaque, target_phys_addr_t addr,
uint32_t value);
typedef uint32_t CPUReadMemoryFunc(void *opaque, target_phys_addr_t addr);
-ram_addr_t cpu_get_physical_page_desc(target_phys_addr_t addr);
void qemu_ram_remap(ram_addr_t addr, ram_addr_t length);
/* This should only be used for ram local to a device. */
void *qemu_get_ram_ptr(ram_addr_t addr);
diff --git a/exec.c b/exec.c
index e1f7462..b02199b 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())
--
1.7.7.1
- Re: [Qemu-devel] [PATCH 01/23] memory: introduce memory_region_find(), (continued)
[Qemu-devel] [PATCH 21/23] virtio-balloon: avoid cpu_get_physical_page_desc(), Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 07/23] framebuffer: drop use of cpu_physical_sync_dirty_bitmap(), Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 02/23] sysbus: add sysbus_address_space(), Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 23/23] Remove cpu_get_physical_page_desc(),
Avi Kivity <=
[Qemu-devel] [PATCH 22/23] sparc: avoid cpu_get_physical_page_desc(), Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 13/23] kvm: convert to MemoryListener API, Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 08/23] memory: replace cpu_physical_sync_dirty_bitmap() with a memory API, Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 18/23] memory: remove CPUPhysMemoryClient, Avi Kivity, 2011/12/19
[Qemu-devel] [PATCH 10/23] memory: add memory_region_is_logging(), Avi Kivity, 2011/12/19
Re: [Qemu-devel] [PATCH 00/23] Remove cpu_get_physical_page_desc(), Anthony Liguori, 2011/12/19