Commit bb551faa4ac8a798df9757c0ae26893041344bc3

Authored by bellard
1 parent a136e5a8

increased physical RAM limit to 2047 MB in soft MMU mode


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@575 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 5 additions and 1 deletions
... ... @@ -79,7 +79,11 @@
79 79 //#define DEBUG_SERIAL
80 80  
81 81 #define PHYS_RAM_BASE 0xac000000
  82 +#if !defined(CONFIG_SOFTMMU)
82 83 #define PHYS_RAM_MAX_SIZE (256 * 1024 * 1024)
  84 +#else
  85 +#define PHYS_RAM_MAX_SIZE (2047 * 1024 * 1024)
  86 +#endif
83 87  
84 88 #if defined (TARGET_I386)
85 89 #define KERNEL_LOAD_ADDR 0x00100000
... ... @@ -1309,7 +1313,7 @@ static inline void pit_load_count(PITChannelState *s, int val)
1309 1313 s->count = val;
1310 1314 if (s == &pit_channels[0] && val <= pit_min_timer_count) {
1311 1315 fprintf(stderr,
1312   - "\nWARNING: qemu: on your system, accurate timer emulation is impossible if its frequency is more than %d Hz. If using a 2.5.xx Linux kernel, you must patch asm/param.h to change HZ from 1000 to 100.\n\n",
  1316 + "\nWARNING: qemu: on your system, accurate timer emulation is impossible if its frequency is more than %d Hz. If using a 2.6 guest Linux kernel, you must patch asm/param.h to change HZ from 1000 to 100.\n\n",
1313 1317 PIT_FREQ / pit_min_timer_count);
1314 1318 }
1315 1319 }
... ...