summaryrefslogtreecommitdiff
path: root/cpu-all.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-08 23:08:38 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-02-08 23:08:38 +0000
commite9a1ab19d196aa50619fd8b77157bd11a5a8aa01 (patch)
tree4cd5e2be4f4399a71ed1b51d7d2d2023f3159dba /cpu-all.h
parent1193610e5df9eb88eaf7750f290fe8dd24ed620d (diff)
downloadqemu-e9a1ab19d196aa50619fd8b77157bd11a5a8aa01.tar.gz
ram allocation functions
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2404 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 ed5355319a..8a4730d32c 100644
--- a/cpu-all.h
+++ b/cpu-all.h
@@ -848,6 +848,8 @@ void cpu_register_physical_memory(target_phys_addr_t start_addr,
unsigned long size,
unsigned long phys_offset);
uint32_t cpu_get_physical_page_desc(target_phys_addr_t addr);
+ram_addr_t qemu_ram_alloc(unsigned int size);
+void qemu_ram_free(ram_addr_t addr);
int cpu_register_io_memory(int io_index,
CPUReadMemoryFunc **mem_read,
CPUWriteMemoryFunc **mem_write,