summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-09 22:21:07 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2009-04-09 22:21:07 +0000
commitdc828ca1b59b0c390a6994c78e9658174f821f74 (patch)
tree6c2ecf0899c5d699d6056495ad55d89e8cf7d248 /cpu-all.h
parentUse cpu_physical_memory_write_rom instead of memcpy. (diff)
downloadqemu-kvm-dc828ca1b59b0c390a6994c78e9658174f821f74.tar.gz
qemu-kvm-dc828ca1b59b0c390a6994c78e9658174f821f74.tar.bz2
qemu-kvm-dc828ca1b59b0c390a6994c78e9658174f821f74.zip
Cleanup SPARC/TCX framebuffer allocation.
Signed-off-by: Paul Brook <paul@codesourcery.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@7059 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cpu-all.h')
-rw-r--r--cpu-all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpu-all.h b/cpu-all.h
index 366f47e5b..f2f8aac88 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -906,6 +906,8 @@ static inline void cpu_register_physical_memory(target_phys_addr_t start_addr,
ram_addr_t cpu_get_physical_page_desc(target_phys_addr_t addr);
ram_addr_t qemu_ram_alloc(ram_addr_t);
void qemu_ram_free(ram_addr_t addr);
+/* This should only be used for ram local to a device. */
+void *qemu_get_ram_ptr(ram_addr_t addr);
int cpu_register_io_memory(int io_index,
CPUReadMemoryFunc **mem_read,
CPUWriteMemoryFunc **mem_write,