Commit c75a823c80b276b0a3976f78340693dffee3c735

Authored by aurel32
1 parent a40e56d5

Set default console size

(Stefan Weil)


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4316 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 2 changed files with 5 additions and 5 deletions
hw/mips_malta.c
... ... @@ -436,7 +436,7 @@ static MaltaFPGAState *malta_fpga_init(target_phys_addr_t base, CPUState *env)
436 436 cpu_register_physical_memory(base, 0x900, malta);
437 437 cpu_register_physical_memory(base + 0xa00, 0x100000 - 0xa00, malta);
438 438  
439   - s->display = qemu_chr_open("vc");
  439 + s->display = qemu_chr_open("vc:320x200");
440 440 qemu_chr_printf(s->display, "\e[HMalta LEDBAR\r\n");
441 441 qemu_chr_printf(s->display, "+--------+\r\n");
442 442 qemu_chr_printf(s->display, "+ +\r\n");
... ... @@ -447,7 +447,7 @@ static MaltaFPGAState *malta_fpga_init(target_phys_addr_t base, CPUState *env)
447 447 qemu_chr_printf(s->display, "+ +\r\n");
448 448 qemu_chr_printf(s->display, "+--------+\r\n");
449 449  
450   - uart_chr = qemu_chr_open("vc");
  450 + uart_chr = qemu_chr_open("vc:80Cx24C");
451 451 qemu_chr_printf(uart_chr, "CBUS UART\r\n");
452 452 s->uart = serial_mm_init(base + 0x900, 3, env->irq[2], uart_chr, 1);
453 453  
... ...
... ... @@ -8310,14 +8310,14 @@ int main(int argc, char **argv)
8310 8310 kernel_cmdline = "";
8311 8311 cyls = heads = secs = 0;
8312 8312 translation = BIOS_ATA_TRANSLATION_AUTO;
8313   - monitor_device = "vc";
  8313 + monitor_device = "vc:800x600";
8314 8314  
8315   - serial_devices[0] = "vc";
  8315 + serial_devices[0] = "vc:80Cx24C";
8316 8316 for(i = 1; i < MAX_SERIAL_PORTS; i++)
8317 8317 serial_devices[i] = NULL;
8318 8318 serial_device_index = 0;
8319 8319  
8320   - parallel_devices[0] = "vc";
  8320 + parallel_devices[0] = "vc:640x480";
8321 8321 for(i = 1; i < MAX_PARALLEL_PORTS; i++)
8322 8322 parallel_devices[i] = NULL;
8323 8323 parallel_device_index = 0;
... ...