diff options
author | Juan Quintela <quintela@redhat.com> | 2017-03-21 17:44:30 +0100 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2017-04-21 12:25:40 +0200 |
commit | b8c4899398126a1dd80377e14d4ba471018293d3 (patch) | |
tree | 5a440b00d317c8d2d79ab06846826ee440940a0e /include | |
parent | f20e2865167d2c147ccb42a445764e1ec99483e0 (diff) | |
download | qemu-b8c4899398126a1dd80377e14d4ba471018293d3.zip qemu-b8c4899398126a1dd80377e14d4ba471018293d3.tar.gz qemu-b8c4899398126a1dd80377e14d4ba471018293d3.tar.bz2 |
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')
-rw-r--r-- | include/exec/ram_addr.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 8a1372c..a8411c7 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); |