aboutsummaryrefslogtreecommitdiff
path: root/include/exec
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2017-03-21 17:44:30 +0100
committerJuan Quintela <quintela@redhat.com>2017-04-21 12:25:40 +0200
commitb8c4899398126a1dd80377e14d4ba471018293d3 (patch)
tree5a440b00d317c8d2d79ab06846826ee440940a0e /include/exec
parentf20e2865167d2c147ccb42a445764e1ec99483e0 (diff)
ram: rename last_ram_offset() last_ram_pages()
We always use it as pages anyways. Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'include/exec')
-rw-r--r--include/exec/ram_addr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h
index 8a1372c66d..a8411c7821 100644
--- a/include/exec/ram_addr.h
+++ b/include/exec/ram_addr.h
@@ -53,7 +53,7 @@ static inline void *ramblock_ptr(RAMBlock *block, ram_addr_t offset)
}
long qemu_getrampagesize(void);
-ram_addr_t last_ram_offset(void);
+unsigned long last_ram_page(void);
RAMBlock *qemu_ram_alloc_from_file(ram_addr_t size, MemoryRegion *mr,
bool share, const char *mem_path,
Error **errp);