Revision 7fb4fdcf exec.c
b/exec.c | ||
---|---|---|
2093 | 2093 |
ram_addr_t qemu_ram_alloc(unsigned int size) |
2094 | 2094 |
{ |
2095 | 2095 |
ram_addr_t addr; |
2096 |
if ((phys_ram_alloc_offset + size) >= phys_ram_size) {
|
|
2096 |
if ((phys_ram_alloc_offset + size) > phys_ram_size) { |
|
2097 | 2097 |
fprintf(stderr, "Not enough memory (requested_size = %u, max memory = %d)\n", |
2098 | 2098 |
size, phys_ram_size); |
2099 | 2099 |
abort(); |
Also available in: Unified diff