qemu-e2k/hw/display
David Gibson 3c2784fc86 vga: Expose framebuffer byteorder as a QOM property
The VGA device model now supports having the framebuffer in either endian,
and can be switched between these by the guest via a register in the qext
region.

However, in some cases (e.g. LE OS on the pseries machine) we have
existing guest that don't know about the endian switch register, but other
parts of the qemu code have better information to set a default endianness
than the VGA code does of itself.

In order to allow them to set a correct default endianness in these cases,
without breaking abstraction walls, this patch exposes the VGA framebuffer
endianness via a writable QOM property.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
[agraf: use instance_init for property exposure]
Signed-off-by: Alexander Graf <agraf@suse.de>
2015-03-09 15:00:02 +01:00
..
ads7846.c
blizzard_template.h
blizzard.c blizzard: do not depend on VGA internals 2015-01-15 10:44:13 +03:00
cg3.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
cirrus_vga_rop2.h
cirrus_vga_rop.h cirrus: Fix host CPU blits 2014-07-11 10:17:02 +02:00
cirrus_vga.c cirrus-vga: Convert to realize 2015-02-26 12:42:17 +01:00
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
jazz_led.c jazz_led: Add missing break in switch case 2014-05-24 00:07:56 +04:00
Makefile.objs
milkymist-tmu2.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
milkymist-vgafb_template.h
milkymist-vgafb.c savevm: Remove all the unneeded version_minimum_id_old (rest) 2014-05-14 15:24:51 +02:00
omap_dss.c
omap_lcd_template.h hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
omap_lcdc.c
pl110_template.h
pl110.c
pxa2xx_lcd.c hw/display/pxa2xx_lcd.c: Remove unused function pxa2xx_dma_rdst_set 2014-09-29 18:48:47 +01:00
pxa2xx_template.h
qxl-logger.c
qxl-render.c spice: use bottom half instead of refresh timer for cursor updates 2014-12-16 14:15:29 +01:00
qxl.c pci, pc, virtio fixes and cleanups 2015-03-09 09:14:28 +00:00
qxl.h
sm501_template.h hw: use ld_p/st_p instead of ld_raw/st_raw 2014-06-05 16:04:17 +02:00
sm501.c memory: add parameter errp to memory_region_init_ram 2014-09-09 13:41:43 +02:00
ssd0303.c
ssd0323.c
tc6393xb_template.h
tc6393xb.c hw: Convert from BlockDriverState to BlockBackend, mostly 2014-10-20 14:02:25 +02:00
tcx.c tcx: Implement hardware acceleration 2014-09-23 22:23:14 +01:00
vga_int.h move hw cursor pos from cirrus to vga 2014-12-16 15:14:42 +01:00
vga-helpers.h vga: Rename vga_template.h to vga-helpers.h 2014-09-30 13:34:09 +02:00
vga-isa-mm.c
vga-isa.c isa: remove isa_mem_base variable 2015-02-13 14:09:28 +00:00
vga-pci.c vga: Expose framebuffer byteorder as a QOM property 2015-03-09 15:00:02 +01:00
vga.c vga: refactor vram_size clamping and rounding 2015-03-03 08:33:08 +01:00
vga.h
vmware_vga.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
xenfb.c Add tracing to xenfb. 2015-02-10 09:27:19 +03:00