qemu-e2k/hw/display
Stefan Hajnoczi f18793b096 compiler: add a sizeof_field() macro
Determining the size of a field is useful when you don't have a struct
variable handy.  Open-coding this is ugly.

This patch adds the sizeof_field() macro, which is similar to
typeof_field().  Existing instances are updated to use the macro.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: John Snow <jsnow@redhat.com>
Message-id: 20180614164431.29305-1-stefanha@redhat.com
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2018-06-27 13:01:40 +01:00
..
ads7846.c
bcm2835_fb.c display: use local path for local headers 2018-06-01 19:20:37 +03:00
blizzard.c
bochs-display.c bochs-display: add missing break 2018-06-04 09:44:10 +02:00
cg3.c
cirrus_vga_rop2.h
cirrus_vga_rop.h
cirrus_vga.c
dpcd.c
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
jazz_led.c
Makefile.objs hw/display: add standalone ramfb device 2018-06-18 11:22:15 +02:00
milkymist-tmu2.c
milkymist-vgafb_template.h
milkymist-vgafb.c
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
qxl.c
qxl.h
ramfb-standalone.c hw/display: add standalone ramfb device 2018-06-18 11:22:15 +02:00
ramfb.c ramfb: fix overflow 2018-06-26 16:04:01 +02:00
sii9022.c
sm501_template.h
sm501.c sm501: Fix hardware cursor color conversion 2018-06-21 21:22:53 +10:00
ssd0303.c hw/i2c: Use DeviceClass::realize instead of I2CSlaveClass::init 2018-06-01 15:14:31 +02:00
ssd0323.c
tc6393xb_template.h
tc6393xb.c hw: Do not include "sysemu/block-backend.h" if it is not necessary 2018-06-01 14:15:10 +02:00
tcx.c
trace-events
vga_int.h vga: set owner for mmio regions 2018-06-26 16:03:40 +02:00
vga_regs.h
vga-helpers.h
vga-isa-mm.c
vga-isa.c
vga-pci.c vga: set owner for mmio regions 2018-06-26 16:03:40 +02:00
vga.c vga: cleanup surface handling 2018-06-04 09:44:10 +02:00
virtio-gpu-3d.c
virtio-gpu-pci.c
virtio-gpu.c
virtio-vga.c vga: set owner for mmio regions 2018-06-26 16:03:40 +02:00
vmware_vga.c
xenfb.c compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
xlnx_dp.c object: fix OBJ_PROP_LINK_UNREF_ON_RELEASE ambivalence 2018-06-12 12:07:30 +02:00