diff options
author | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-24 17:59:27 +0000 |
---|---|---|
committer | balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-04-24 17:59:27 +0000 |
commit | 7fb4fdcffeb199c1a742c45ac2413be8a9a33354 (patch) | |
tree | 39c795fed9ae5e8d59afde1ca6031702cdd3224e /exec.c | |
parent | c73f96fddc0f5ec7c708290f159b04cfa09ef713 (diff) |
RAM usage information in machine definition.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4246 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'exec.c')
-rw-r--r-- | exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2093,7 +2093,7 @@ uint32_t cpu_get_physical_page_desc(target_phys_addr_t addr) ram_addr_t qemu_ram_alloc(unsigned int size) { ram_addr_t addr; - if ((phys_ram_alloc_offset + size) >= phys_ram_size) { + if ((phys_ram_alloc_offset + size) > phys_ram_size) { fprintf(stderr, "Not enough memory (requested_size = %u, max memory = %d)\n", size, phys_ram_size); abort(); |