Revision 8a637d44 hw/pc.c
b/hw/pc.c | ||
---|---|---|
908 | 908 |
|
909 | 909 |
/* above 4giga memory allocation */ |
910 | 910 |
if (above_4g_mem_size > 0) { |
911 |
#if TARGET_PHYS_ADDR_BITS == 32 |
|
912 |
hw_error("To much RAM for 32-bit physical address"); |
|
913 |
#else |
|
911 | 914 |
ram_addr = qemu_ram_alloc(above_4g_mem_size); |
912 | 915 |
cpu_register_physical_memory(0x100000000ULL, |
913 | 916 |
above_4g_mem_size, |
914 | 917 |
ram_addr); |
918 |
#endif |
|
915 | 919 |
} |
916 | 920 |
|
917 | 921 |
|
Also available in: Unified diff