Commit 5f70aab1da0a71750a393e2d0d8796386b18a17d
1 parent
dfb021bc
Fix bug in omap_sx1.c introduced by r6344
This patch changes the QEMUMachine init function not to take a DisplayState as an argument because is not needed any more; Signed-off-by: Stefan Weil <weil@mail.berlios.de> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6552 c046a42c-6fe2-441c-8c8c-71466251a162
Showing
1 changed file
with
7 additions
and
6 deletions
hw/omap_sx1.c
... | ... | @@ -116,7 +116,7 @@ static struct arm_boot_info sx1_binfo = { |
116 | 116 | }; |
117 | 117 | |
118 | 118 | static void sx1_init(ram_addr_t ram_size, int vga_ram_size, |
119 | - const char *boot_device, DisplayState *ds, | |
119 | + const char *boot_device, | |
120 | 120 | const char *kernel_filename, const char *kernel_cmdline, |
121 | 121 | const char *initrd_filename, const char *cpu_model, |
122 | 122 | const int version) |
... | ... | @@ -201,24 +201,25 @@ static void sx1_init(ram_addr_t ram_size, int vga_ram_size, |
201 | 201 | cpu->env->regs[15] = 0x00000000; |
202 | 202 | } |
203 | 203 | |
204 | - qemu_console_resize(ds, 640, 480); | |
204 | + /* TODO: fix next line */ | |
205 | + //~ qemu_console_resize(ds, 640, 480); | |
205 | 206 | } |
206 | 207 | |
207 | 208 | static void sx1_init_v1(ram_addr_t ram_size, int vga_ram_size, |
208 | - const char *boot_device, DisplayState *ds, | |
209 | + const char *boot_device, | |
209 | 210 | const char *kernel_filename, const char *kernel_cmdline, |
210 | 211 | const char *initrd_filename, const char *cpu_model) |
211 | 212 | { |
212 | - sx1_init(ram_size, vga_ram_size, boot_device, ds, kernel_filename, | |
213 | + sx1_init(ram_size, vga_ram_size, boot_device, kernel_filename, | |
213 | 214 | kernel_cmdline, initrd_filename, cpu_model, 1); |
214 | 215 | } |
215 | 216 | |
216 | 217 | static void sx1_init_v2(ram_addr_t ram_size, int vga_ram_size, |
217 | - const char *boot_device, DisplayState *ds, | |
218 | + const char *boot_device, | |
218 | 219 | const char *kernel_filename, const char *kernel_cmdline, |
219 | 220 | const char *initrd_filename, const char *cpu_model) |
220 | 221 | { |
221 | - sx1_init(ram_size, vga_ram_size, boot_device, ds, kernel_filename, | |
222 | + sx1_init(ram_size, vga_ram_size, boot_device, kernel_filename, | |
222 | 223 | kernel_cmdline, initrd_filename, cpu_model, 2); |
223 | 224 | } |
224 | 225 | ... | ... |