Revision a00bad7e
b/vl.c | ||
---|---|---|
93 | 93 |
#define PHYS_RAM_MAX_SIZE (2047 * 1024 * 1024) |
94 | 94 |
#endif |
95 | 95 |
|
96 |
#define DEFAULT_RAM_SIZE 32 |
|
97 |
|
|
96 | 98 |
/* in ms */ |
97 | 99 |
#define GUI_REFRESH_INTERVAL 30 |
98 | 100 |
|
... | ... | |
1914 | 1916 |
"-cdrom file use 'file' as IDE cdrom image (cdrom is ide1 master)\n" |
1915 | 1917 |
"-boot [a|b|c|d] boot on floppy (a, b), hard disk (c) or CD-ROM (d)\n" |
1916 | 1918 |
"-snapshot write to temporary files instead of disk image files\n" |
1917 |
"-m megs set virtual RAM size to megs MB\n" |
|
1919 |
"-m megs set virtual RAM size to megs MB [default=%d]\n"
|
|
1918 | 1920 |
"-nographic disable graphical output and redirect serial I/Os to console\n" |
1919 | 1921 |
"-enable-audio enable audio support\n" |
1920 | 1922 |
"\n" |
... | ... | |
1951 | 1953 |
#else |
1952 | 1954 |
"qemu-fast", |
1953 | 1955 |
#endif |
1954 |
DEFAULT_NETWORK_SCRIPT, |
|
1956 |
DEFAULT_RAM_SIZE, |
|
1957 |
DEFAULT_NETWORK_SCRIPT, |
|
1955 | 1958 |
DEFAULT_GDBSTUB_PORT, |
1956 | 1959 |
"/tmp/qemu.log"); |
1957 | 1960 |
term_print_help(); |
... | ... | |
2090 | 2093 |
fd_filename[i] = NULL; |
2091 | 2094 |
for(i = 0; i < MAX_DISKS; i++) |
2092 | 2095 |
hd_filename[i] = NULL; |
2093 |
ram_size = 32 * 1024 * 1024;
|
|
2096 |
ram_size = DEFAULT_RAM_SIZE * 1024 * 1024;
|
|
2094 | 2097 |
vga_ram_size = VGA_RAM_SIZE; |
2095 | 2098 |
pstrcpy(network_script, sizeof(network_script), DEFAULT_NETWORK_SCRIPT); |
2096 | 2099 |
#ifdef CONFIG_GDBSTUB |
Also available in: Unified diff