diff options
Diffstat (limited to 'hw/pc.c')
-rw-r--r-- | hw/pc.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -908,10 +908,14 @@ static void pc_init1(ram_addr_t ram_size, /* above 4giga memory allocation */ if (above_4g_mem_size > 0) { +#if TARGET_PHYS_ADDR_BITS == 32 + hw_error("To much RAM for 32-bit physical address"); +#else ram_addr = qemu_ram_alloc(above_4g_mem_size); cpu_register_physical_memory(0x100000000ULL, above_4g_mem_size, ram_addr); +#endif } |