summaryrefslogtreecommitdiffstats
path: root/exec.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2012-07-20 10:37:54 +0200
committerJuan Quintela <quintela@redhat.com>2012-10-17 18:34:58 +0200
commit652d7ec291d1726ad01587e13331d7277fa402ec (patch)
treeefac38b8a3eb583ed62ab2f0ed6e9787bf454be9 /exec.c
parent69268cde142d169e2e47836bcf0a26341e30218a (diff)
downloadhqemu-652d7ec291d1726ad01587e13331d7277fa402ec.zip
hqemu-652d7ec291d1726ad01587e13331d7277fa402ec.tar.gz
ram: Export last_ram_offset()
Is the only way of knowing the RAM size. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'exec.c')
-rw-r--r--exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index 7899042..e63ad0d 100644
--- a/exec.c
+++ b/exec.c
@@ -2454,7 +2454,7 @@ static ram_addr_t find_ram_offset(ram_addr_t size)
return offset;
}
-static ram_addr_t last_ram_offset(void)
+ram_addr_t last_ram_offset(void)
{
RAMBlock *block;
ram_addr_t last = 0;
OpenPOWER on IntegriCloud