qemu/hw/display
Philippe Mathieu-Daudé e55a8b3790 hw/arm/bcm2835_peripherals: Name various address spaces
Various address spaces from the BCM2835 are reported as
'anonymous' in memory tree:

  (qemu) info mtree

  address-space: anonymous
    0000000000000000-000000000000008f (prio 0, i/o): bcm2835-mbox
      0000000000000010-000000000000001f (prio 0, i/o): bcm2835-fb
      0000000000000080-000000000000008f (prio 0, i/o): bcm2835-property

  address-space: anonymous
    0000000000000000-00000000ffffffff (prio 0, i/o): bcm2835-gpu
      0000000000000000-000000003fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      0000000040000000-000000007fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      000000007e000000-000000007effffff (prio 1, i/o): alias bcm2835-peripherals @bcm2835-peripherals 0000000000000000-0000000000ffffff
      0000000080000000-00000000bfffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      00000000c0000000-00000000ffffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff

  [...]

Since the address_space_init() function takes a 'name' argument,
set it to correctly describe each address space:

  (qemu) info mtree

  address-space: bcm2835-mbox-memory
    0000000000000000-000000000000008f (prio 0, i/o): bcm2835-mbox
      0000000000000010-000000000000001f (prio 0, i/o): bcm2835-fb
      0000000000000080-000000000000008f (prio 0, i/o): bcm2835-property

  address-space: bcm2835-fb-memory
    0000000000000000-00000000ffffffff (prio 0, i/o): bcm2835-gpu
      0000000000000000-000000003fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      0000000040000000-000000007fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      000000007e000000-000000007effffff (prio 1, i/o): alias bcm2835-peripherals @bcm2835-peripherals 0000000000000000-0000000000ffffff
      0000000080000000-00000000bfffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      00000000c0000000-00000000ffffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff

  address-space: bcm2835-property-memory
    0000000000000000-00000000ffffffff (prio 0, i/o): bcm2835-gpu
      0000000000000000-000000003fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      0000000040000000-000000007fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      000000007e000000-000000007effffff (prio 1, i/o): alias bcm2835-peripherals @bcm2835-peripherals 0000000000000000-0000000000ffffff
      0000000080000000-00000000bfffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      00000000c0000000-00000000ffffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff

  address-space: bcm2835-dma-memory
    0000000000000000-00000000ffffffff (prio 0, i/o): bcm2835-gpu
      0000000000000000-000000003fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      0000000040000000-000000007fffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      000000007e000000-000000007effffff (prio 1, i/o): alias bcm2835-peripherals @bcm2835-peripherals 0000000000000000-0000000000ffffff
      0000000080000000-00000000bfffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff
      00000000c0000000-00000000ffffffff (prio 0, i/o): alias bcm2835-gpu-ram-alias[*] @ram 0000000000000000-000000003fffffff

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Cleber Rosa <crosa@redhat.com>
Message-id: 20190926173428.10713-4-f4bug@amsat.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2019-10-15 18:09:05 +01:00
..
ads7846.c
ati_2d.c
ati_dbg.c ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati_int.h ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati_regs.h ati-vga: Implement dummy VBlank IRQ 2019-08-22 10:04:20 +02:00
ati.c ati: use vga_read_byte in ati_cursor_define 2019-09-19 10:37:46 +02:00
bcm2835_fb.c hw/arm/bcm2835_peripherals: Name various address spaces 2019-10-15 18:09:05 +01:00
blizzard.c
bochs-display.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cg3.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cirrus_vga_internal.h
cirrus_vga_isa.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
dpcd.c
edid-generate.c
edid-region.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
i2c-ddc.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
jazz_led.c
Kconfig
Makefile.objs m68k: Add NeXTcube framebuffer device emulation 2019-09-07 08:30:34 +02:00
milkymist-tmu2.c
milkymist-vgafb_template.h
milkymist-vgafb.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
next-fb.c m68k: Add NeXTcube framebuffer device emulation 2019-09-07 08:30:34 +02:00
omap_dss.c
omap_lcd_template.h
omap_lcdc.c
pl110_template.h
pl110.c
pxa2xx_lcd.c
pxa2xx_template.h
qxl-logger.c
qxl-render.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
qxl.c sysemu: Split sysemu/runstate.h off sysemu/sysemu.h 2019-08-16 13:37:36 +02:00
qxl.h
ramfb-standalone.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
ramfb.c Clean up inclusion of sysemu/sysemu.h 2019-08-16 13:31:53 +02:00
sii9022.c
sm501_template.h
sm501.c hw/display/sm501: Remove unused include 2019-08-21 11:05:40 +02:00
ssd0303.c
ssd0323.c
tc6393xb_template.h
tc6393xb.c
tcx.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
trace-events
vga_int.h
vga_regs.h
vga-access.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-helpers.h vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vga-isa-mm.c
vga-isa.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vga-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vga.c vga: move access helpers to separate include file 2019-09-19 10:37:46 +02:00
vhost-user-gpu-pci.c
vhost-user-gpu.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
vhost-user-vga.c
virtio-gpu-3d.c
virtio-gpu-base.c
virtio-gpu-pci.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
virtio-gpu.c sysemu: Move the VMChangeStateEntry typedef to qemu/typedefs.h 2019-08-16 13:31:53 +02:00
virtio-vga.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
virtio-vga.h
vmware_vga.c Include hw/qdev-properties.h less 2019-08-16 13:31:53 +02:00
xenfb.c
xlnx_dp.c