mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 02:24:58 -06:00
console: add head to index to qemu consoles.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
This commit is contained in:
parent
5c07d00f1b
commit
5643706a09
24 changed files with 52 additions and 31 deletions
|
@ -630,7 +630,7 @@ static int musicpal_lcd_init(SysBusDevice *sbd)
|
|||
"musicpal-lcd", MP_LCD_SIZE);
|
||||
sysbus_init_mmio(sbd, &s->iomem);
|
||||
|
||||
s->con = graphic_console_init(dev, &musicpal_gfx_ops, s);
|
||||
s->con = graphic_console_init(dev, 0, &musicpal_gfx_ops, s);
|
||||
qemu_console_resize(s->con, 128*3, 64*3);
|
||||
|
||||
qdev_init_gpio_in(dev, musicpal_lcd_gpio_brightness_in, 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue