qemu-e2k/target/ppc
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
..
translate
arch_dump.c compiler: add a sizeof_field() macro 2018-06-27 13:01:40 +01:00
compat.c target/ppc: Allow cpu compatiblity checks based on type, not instance 2018-06-21 21:22:53 +10:00
cpu-models.c
cpu-models.h
cpu-qom.h
cpu.c
cpu.h target/ppc: Allow cpu compatiblity checks based on type, not instance 2018-06-21 21:22:53 +10:00
dfp_helper.c
excp_helper.c
fpu_helper.c fpu_helper.c: fix helper_fpscr_clrbit() function 2018-06-21 21:22:53 +10:00
gdbstub.c
helper_regs.h target/ppc: Include "exec/exec-all.h" which provides tlb_flush() 2018-05-31 19:12:13 +02:00
helper.h target/ppc: Allow privileged access to SPR_PCR 2018-06-12 09:33:52 +10:00
int_helper.c target: Do not include "exec/exec-all.h" if it is not necessary 2018-06-01 14:15:10 +02:00
internal.h
kvm_ppc.h spapr: Don't rewrite mmu capabilities in KVM mode 2018-06-22 14:19:07 +10:00
kvm-stub.c
kvm.c spapr: Don't rewrite mmu capabilities in KVM mode 2018-06-22 14:19:07 +10:00
machine.c ppc: Rename 2.13 machines to 3.0 2018-05-29 11:28:46 +01:00
Makefile.objs
mem_helper.c
mfrom_table_gen.c
mfrom_table.inc.c
misc_helper.c target/ppc: Allow privileged access to SPR_PCR 2018-06-12 09:33:52 +10:00
mmu_helper.c
mmu-book3s-v3.c
mmu-book3s-v3.h
mmu-hash32.c
mmu-hash32.h
mmu-hash64.c target/ppc: Add ppc_hash64_filter_pagesizes() 2018-06-22 14:19:07 +10:00
mmu-hash64.h target/ppc: Add ppc_hash64_filter_pagesizes() 2018-06-22 14:19:07 +10:00
mmu-radix64.c
mmu-radix64.h
monitor.c
timebase_helper.c
trace-events
translate_init.inc.c target/ppc, spapr: Move VPA information to machine_data 2018-06-16 16:32:50 +10:00
translate.c target/ppc: Add missing opcode for icbt on PPC440 2018-06-21 21:22:53 +10:00
user_only_helper.c