qemu-e2k/hw
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
..
9pfs
acpi
adc
alpha
arm aspeed/timer: use the APB frequency from the SCU 2018-06-26 17:50:42 +01:00
audio audio/hda: enable new timer code by default. 2018-06-25 13:57:57 +02:00
block
bt
char
core
cpu
cris
display compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
dma hw/dma/omap_dma: Use qemu_log_mask(GUEST_ERROR) instead of fprintf 2018-06-26 17:50:40 +01:00
gpio
hppa
i2c hw/i2c/omap_i2c: Use qemu_log_mask(UNIMP) instead of fprintf 2018-06-26 17:50:40 +01:00
i386 hw/i386: Deprecate the machine types pc-0.10 and pc-0.11 2018-06-25 14:10:01 -03:00
ide ahci: fix FIS I bit and PIO Setup FIS interrupt 2018-06-25 16:50:48 -04:00
input hw/input/tsc2005: Use qemu_log_mask(GUEST_ERROR) instead of fprintf 2018-06-26 17:50:40 +01:00
intc hw/intc/arm_gicv3_kvm: Get prepared to handle multiple redist regions 2018-06-22 13:28:36 +01:00
ipack
ipmi
isa
lm32
m68k
mem
microblaze
mips
misc aspeed/scu: introduce clock frequencies 2018-06-26 17:50:42 +01:00
moxie
net compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
nios2
nvram
openrisc
pci
pci-bridge
pci-host
pcmcia
ppc spapr: Don't rewrite mmu capabilities in KVM mode 2018-06-22 14:19:07 +10:00
rdma
riscv
s390x s390x/ipl: Try to detect Linux vs non Linux for initial IPL PSW 2018-06-18 10:50:32 +02:00
scsi
sd hw/sd/omap_mmc: Use qemu_log_mask(UNIMP) instead of printf 2018-06-26 17:50:40 +01:00
sh4
smbios
sparc
sparc64
ssi hw/ssi/omap_spi: Use qemu_log_mask(GUEST_ERROR) instead of fprintf 2018-06-26 17:50:40 +01:00
timer aspeed/timer: use the APB frequency from the SCU 2018-06-26 17:50:42 +01:00
tpm
tricore
unicore32
usb
vfio
virtio
watchdog
xen xen: Don't use memory_region_init_ram_nomigrate() in pci_assign_dev_load_option_rom() 2018-06-22 13:28:42 +01:00
xenpv
xtensa
Makefile.objs