From bdd5003ae58baf4fb3fde9862630b97b2c1f058c Mon Sep 17 00:00:00 2001 From: pbrook Date: Mon, 6 Feb 2006 04:11:15 +0000 Subject: Arm display emulation. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1746 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/integratorcp.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'hw/integratorcp.c') diff --git a/hw/integratorcp.c b/hw/integratorcp.c index d2b437ce13..0e3d1e3f02 100644 --- a/hw/integratorcp.c +++ b/hw/integratorcp.c @@ -27,8 +27,11 @@ void irq_info(void) { } +static void *lcd; + void vga_update_display(void) { + pl110_update_display(lcd); } void vga_screen_dump(const char *filename) @@ -37,6 +40,7 @@ void vga_screen_dump(const char *filename) void vga_invalidate_display(void) { + pl110_invalidate_display(lcd); } void DMA_run (void) @@ -1204,6 +1208,7 @@ static void integratorcp_init(int ram_size, int vga_ram_size, int boot_device, exit (1); } } + lcd = pl110_init(ds, 0xc0000000, pic, 22); /* Load the kernel. */ if (!kernel_filename) { -- cgit v1.2.1