summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
committerPaul Brook <paul@codesourcery.com>2009-05-13 17:56:25 +0100
commitfbe1b5953d061c77c07b91e4eb555c92195308d0 (patch)
tree1475976bd828788075a1e32017b6f75a93344965 /vl.c
parent1481e16abbab14a2e19410770f97cb764bb9be16 (diff)
downloadqemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.gz
qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.tar.bz2
qemu-fbe1b5953d061c77c07b91e4eb555c92195308d0.zip
Remove vga_ram_size
The vga_ram_size argument to machine init functions always has the same value, and is ignored by many machines (including SPARC32 which has an obsolete ifdef for VGA_RAM_SIZE). Remove it and push VGA_RAM_SIZE into vga_int.h. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/vl.c b/vl.c
index 8e4fba631b..bb6f7d619d 100644
--- a/vl.c
+++ b/vl.c
@@ -199,7 +199,6 @@ static IOPortWriteFunc *ioport_write_table[3][MAX_IOPORTS];
to store the VM snapshots */
DriveInfo drives_table[MAX_DRIVES+1];
int nb_drives;
-static int vga_ram_size;
enum vga_retrace_method vga_retrace_method = VGA_RETRACE_DUMB;
static DisplayState *display_state;
int nographic;
@@ -4875,7 +4874,6 @@ int main(int argc, char **argv, char **envp)
cpu_model = NULL;
initrd_filename = NULL;
ram_size = 0;
- vga_ram_size = VGA_RAM_SIZE;
snapshot = 0;
nographic = 0;
curses = 0;
@@ -5898,7 +5896,7 @@ int main(int argc, char **argv, char **envp)
}
}
- machine->init(ram_size, vga_ram_size, boot_devices,
+ machine->init(ram_size, boot_devices,
kernel_filename, kernel_cmdline, initrd_filename, cpu_model);