diff options
| author | BALATON Zoltan <balaton@eik.bme.hu> | 2019-08-11 23:14:53 +0200 |
|---|---|---|
| committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-08-21 10:56:27 +0200 |
| commit | 1d8d4d866c62a0d0b7ee9468cf6e121ad1bfb2b1 (patch) | |
| tree | a3bbd49b7d6585f32d6fc5f833ee8f263d90b40c /hw/display/ati_dbg.c | |
| parent | 17dc57990320edaad52ac9ea808be9719c91cea6 (diff) | |
| download | focaccia-qemu-1d8d4d866c62a0d0b7ee9468cf6e121ad1bfb2b1.tar.gz focaccia-qemu-1d8d4d866c62a0d0b7ee9468cf6e121ad1bfb2b1.zip | |
ati-vga: Add registers for getting apertures
Some drivers (e.g. Linux radeon drm and MacOS) access these to find apertures to access card. Try to implement these but not sure these are correct yet. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Message-id: b2df13655feecd63c0049ec45fd87d1026f67091.1565558093.git.balaton@eik.bme.hu Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/ati_dbg.c')
| -rw-r--r-- | hw/display/ati_dbg.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/hw/display/ati_dbg.c b/hw/display/ati_dbg.c index 88b3a11315..cbc52025d0 100644 --- a/hw/display/ati_dbg.c +++ b/hw/display/ati_dbg.c @@ -28,6 +28,11 @@ static struct ati_regdesc ati_reg_names[] = { {"CNFG_CNTL", 0x00e0}, {"GEN_RESET_CNTL", 0x00f0}, {"CNFG_MEMSIZE", 0x00f8}, + {"CONFIG_APER_0_BASE", 0x0100}, + {"CONFIG_APER_1_BASE", 0x0104}, + {"CONFIG_APER_SIZE", 0x0108}, + {"CONFIG_REG_1_BASE", 0x010c}, + {"CONFIG_REG_APER_SIZE", 0x0110}, {"MEM_CNTL", 0x0140}, {"MC_FB_LOCATION", 0x0148}, {"MC_AGP_LOCATION", 0x014C}, |