mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
Set default console size
(Stefan Weil) git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4316 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
a40e56d570
commit
c75a823c80
2 changed files with 5 additions and 5 deletions
|
@ -436,7 +436,7 @@ static MaltaFPGAState *malta_fpga_init(target_phys_addr_t base, CPUState *env)
|
|||
cpu_register_physical_memory(base, 0x900, malta);
|
||||
cpu_register_physical_memory(base + 0xa00, 0x100000 - 0xa00, malta);
|
||||
|
||||
s->display = qemu_chr_open("vc");
|
||||
s->display = qemu_chr_open("vc:320x200");
|
||||
qemu_chr_printf(s->display, "\e[HMalta LEDBAR\r\n");
|
||||
qemu_chr_printf(s->display, "+--------+\r\n");
|
||||
qemu_chr_printf(s->display, "+ +\r\n");
|
||||
|
@ -447,7 +447,7 @@ static MaltaFPGAState *malta_fpga_init(target_phys_addr_t base, CPUState *env)
|
|||
qemu_chr_printf(s->display, "+ +\r\n");
|
||||
qemu_chr_printf(s->display, "+--------+\r\n");
|
||||
|
||||
uart_chr = qemu_chr_open("vc");
|
||||
uart_chr = qemu_chr_open("vc:80Cx24C");
|
||||
qemu_chr_printf(uart_chr, "CBUS UART\r\n");
|
||||
s->uart = serial_mm_init(base + 0x900, 3, env->irq[2], uart_chr, 1);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue