Revision c60e08d9 hw/omap_lcdc.c
b/hw/omap_lcdc.c | ||
---|---|---|
26 | 26 |
target_phys_addr_t base; |
27 | 27 |
qemu_irq irq; |
28 | 28 |
DisplayState *state; |
29 |
QEMUConsole *console; |
|
29 | 30 |
ram_addr_t imif_base; |
30 | 31 |
ram_addr_t emiff_base; |
31 | 32 |
|
... | ... | |
175 | 176 |
width = omap_lcd->width; |
176 | 177 |
if (width != omap_lcd->state->width || |
177 | 178 |
omap_lcd->height != omap_lcd->state->height) { |
178 |
dpy_resize(omap_lcd->state,
|
|
179 |
omap_lcd->width, omap_lcd->height); |
|
179 |
qemu_console_resize(omap_lcd->console,
|
|
180 |
omap_lcd->width, omap_lcd->height);
|
|
180 | 181 |
omap_lcd->invalidate = 1; |
181 | 182 |
} |
182 | 183 |
|
... | ... | |
494 | 495 |
omap_lcdc_writefn, s); |
495 | 496 |
cpu_register_physical_memory(s->base, 0x100, iomemtype); |
496 | 497 |
|
497 |
graphic_console_init(ds, omap_update_display, |
|
498 |
omap_invalidate_display, omap_screen_dump, NULL, s); |
|
498 |
s->console = graphic_console_init(ds, omap_update_display, |
|
499 |
omap_invalidate_display, |
|
500 |
omap_screen_dump, NULL, s); |
|
499 | 501 |
|
500 | 502 |
return s; |
501 | 503 |
} |
Also available in: Unified diff