summaryrefslogtreecommitdiff
path: root/include/exec/cpu-common.h
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2013-05-14 11:47:56 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2013-05-24 18:42:21 +0200
commitee983cb3cc8f856b408a272269f434cc9a82ceff (patch)
treeca73322531a0a52035f23e467fdb0a24aca19ed6 /include/exec/cpu-common.h
parent4f39178b3ab54538759df92a38655063f5d59301 (diff)
downloadqemu-ee983cb3cc8f856b408a272269f434cc9a82ceff.zip
exec: make qemu_get_ram_ptr private
It is a private interface between exec.c and memory.c. Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/cpu-common.h')
-rw-r--r--include/exec/cpu-common.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/exec/cpu-common.h b/include/exec/cpu-common.h
index cafc3c21b1..af851aa633 100644
--- a/include/exec/cpu-common.h
+++ b/include/exec/cpu-common.h
@@ -49,8 +49,6 @@ typedef void CPUWriteMemoryFunc(void *opaque, hwaddr addr, uint32_t value);
typedef uint32_t CPUReadMemoryFunc(void *opaque, hwaddr 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);
/* This should not be used by devices. */
int qemu_ram_addr_from_host(void *ptr, ram_addr_t *ram_addr);
ram_addr_t qemu_ram_addr_from_host_nofail(void *ptr);