From b7105d280cab053465de79ff1766d2f7e1ea7554 Mon Sep 17 00:00:00 2001 From: BALATON Zoltan Date: Fri, 16 Aug 2019 00:18:09 +0200 Subject: ati-vga: Implement dummy VBlank IRQ The MacOS driver exits if the card does not have an interrupt. If we set PCI_INTERRUPT_PIN to 1 then it enables VBlank interrupts and it boots but the mouse pointer cannot be moved. This patch implements a dummy VBlank interrupt triggered by a 60 Hz timer. With this the pointer now moves but MacOS still hangs somewhere before completely finishing boot. Signed-off-by: BALATON Zoltan Message-Id: <89364275f2fb5f85ee73c0e76528aa91691a499a.1565907489.git.balaton@eik.bme.hu> Signed-off-by: Gerd Hoffmann --- hw/display/ati_dbg.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/display/ati_dbg.c') diff --git a/hw/display/ati_dbg.c b/hw/display/ati_dbg.c index 7e59c41ac2..0ebbd36f14 100644 --- a/hw/display/ati_dbg.c +++ b/hw/display/ati_dbg.c @@ -16,6 +16,7 @@ static struct ati_regdesc ati_reg_names[] = { {"BUS_CNTL", 0x0030}, {"BUS_CNTL1", 0x0034}, {"GEN_INT_CNTL", 0x0040}, + {"GEN_INT_STATUS", 0x0044}, {"CRTC_GEN_CNTL", 0x0050}, {"CRTC_EXT_CNTL", 0x0054}, {"DAC_CNTL", 0x0058}, -- cgit v1.2.3-55-g7522