mirror of https://github.com/xemu-project/xemu.git
Remove cpu_get_physical_page_desc()
No longer used. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
cc4aa8307c
commit
586c6230c0
|
@ -38,7 +38,6 @@ typedef unsigned long ram_addr_t;
|
||||||
typedef void CPUWriteMemoryFunc(void *opaque, target_phys_addr_t addr, uint32_t value);
|
typedef void CPUWriteMemoryFunc(void *opaque, target_phys_addr_t addr, uint32_t value);
|
||||||
typedef uint32_t CPUReadMemoryFunc(void *opaque, target_phys_addr_t addr);
|
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);
|
void qemu_ram_remap(ram_addr_t addr, ram_addr_t length);
|
||||||
/* This should only be used for ram local to a device. */
|
/* This should only be used for ram local to a device. */
|
||||||
void *qemu_get_ram_ptr(ram_addr_t addr);
|
void *qemu_get_ram_ptr(ram_addr_t addr);
|
||||||
|
|
11
exec.c
11
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)
|
void qemu_register_coalesced_mmio(target_phys_addr_t addr, ram_addr_t size)
|
||||||
{
|
{
|
||||||
if (kvm_enabled())
|
if (kvm_enabled())
|
||||||
|
|
Loading…
Reference in New Issue