Baby steps towards saner headers
Subsystems (8)
v2 cover Baby steps towards saner headers
Some time ago, we discussed rules for headers, and these were generally liked:
1. Have a carefully curated header that's included everywhere first. We got that already thanks to Peter: osdep.h.
2. Headers should normally include everything they need beyond osdep.h. If exceptions are needed for some reason, they must be documented in the header. If all that's needed from a header is typedefs, put those into qemu/typedefs.h instead of including the header.
3. Cyclic inclusion is forbidden.
Message-ID: <[email protected]>
http://lists.nongnu.org/archive/html/qemu-devel/2016-03/msg03345.html
Trouble is we're not exactly close to obeying 2. This series demonstrates a possible path towards obeying it: enforce it in "make check", except for known-bad headers [PATCH 2]. We start with a large list of known-bad headers, then whittle it down. Some sample whittling in PATCH 4+5.
Questions and known issues:
* Makefile.target adds several -I depending on CONFIG_LINUX, CONFIG_LINUX_USER, TARGET_BASE_ARCH, TARGET_ABI_DIR, ARCH, CONFIG_BSD_USER, HOST_VARIANT_DIR. Headers that are only included by .c files compiled with these extra flags may need to be tested with these extra flags. How?
* Likewise for the -Itests added by Makefile.include, and other -I elsewhere.
* Should we exclude certain directories wholesale instead of plastering them with FIXME comments?
* We may need additional magic comments in addition to /* FIXME Does not pass make check-headers, yet! */ and /* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */, such as /* NOTE: not expected to pass make check-headers */.
Number of headers that fail out of all headers, per directory, with perfect directories omitted:
6 9 audio 3 5 block 2 4 bsd-user 2 2 bsd-user/i386 2 2 bsd-user/sparc 2 2 bsd-user/sparc64 2 2 bsd-user/x86_64 6 6 disas/libvixl/vixl 6 6 disas/libvixl/vixl/a64 2 2 fpu 2 6 hw/9pfs 3 8 hw/audio 2 2 hw/block 1 1 hw/cris 10 14 hw/display 1 3 hw/i386 1 3 hw/ide 3 3 hw/lm32 1 1 hw/microblaze 5 10 hw/net 5 7 hw/net/rocker 1 4 hw/ppc 3 5 hw/s390x 2 6 hw/scsi 2 3 hw/tpm 2 7 hw/usb 1 1 hw/xtensa 1 6 include 1 13 include/block 16 28 include/exec 2 2 include/exec/user 1 23 include/hw 2 13 include/hw/acpi 7 23 include/hw/arm 1 3 include/hw/block 2 10 include/hw/char 1 2 include/hw/cris 3 6 include/hw/i2c 3 9 include/hw/i386 1 3 include/hw/input 1 10 include/hw/intc 1 6 include/hw/isa 1 1 include/hw/kvm 2 4 include/hw/mips 3 19 include/hw/misc 1 4 include/hw/net 1 4 include/hw/nvram 2 16 include/hw/pci 1 6 include/hw/pci-host 6 10 include/hw/ppc 1 3 include/hw/sparc 1 3 include/hw/ssi 3 14 include/hw/timer 3 14 include/hw/virtio 1 5 include/libdecnumber 1 8 include/migration 1 3 include/monitor 2 59 include/qemu 9 31 include/sysemu 7 11 include/ui 1 3 linux-headers/asm-arm64 1 3 linux-headers/asm-mips 1 4 linux-headers/asm-powerpc 6 10 linux-user 4 6 linux-user/aarch64 5 6 linux-user/alpha 5 6 linux-user/arm 2 3 linux-user/arm/nwfpe 4 6 linux-user/cris 5 6 linux-user/i386 5 6 linux-user/m68k 4 6 linux-user/microblaze 5 6 linux-user/mips 6 6 linux-user/mips64 5 6 linux-user/openrisc 6 6 linux-user/ppc 5 6 linux-user/s390x 4 6 linux-user/sh4 5 6 linux-user/sparc 5 6 linux-user/sparc64 4 6 linux-user/tilegx 5 6 linux-user/unicore32 5 6 linux-user/x86_64 1 1 pc-bios/optionrom 7 8 pc-bios/s390-ccw 2 4 qga 2 2 qga/vss-win32 1 1 replay 1 1 scripts 15 21 slirp 2 3 target-alpha 8 11 target-arm 3 7 target-cris 9 10 target-i386 2 3 target-lm32 2 3 target-m68k 3 5 target-microblaze 5 5 target-mips 4 4 target-moxie 3 3 target-openrisc 8 8 target-ppc 2 3 target-s390x 2 3 target-sh4 3 3 target-sparc 2 4 target-tilegx 4 5 target-tricore 2 3 target-unicore32 3 4 target-xtensa 6 6 tcg 1 1 tcg/mips 1 4 tests 2 2 tests/multiboot 3 3 tests/tcg 2 2 tests/tcg/cris 1 1 tests/tcg/mips/mips64-dsp 1 1 tests/tcg/mips/mips64-dspr2 4 7 trace
12 20 ui
-----------------------------------------------
394 1034 total (including perfect directories)
v2:
* PATCH 2:
- Use fixed-format FIXME comments in headers instead of a blacklist in the makefile [Paolo]
- Make target check-source [Peter]
- Special-case CONFIG_WIN32
* PATCH 3:
- replaced by an unrelated one that makes actual sense (I hope)
Markus Armbruster (5):
Use #include "..." exactly for our own headers
tests: New make target check-source
tests: Make check-block a phony target
include: Move typedef qemu_irq to qemu/typedefs.h
include: Include exec/hwaddr.h where hwaddr is used
audio/audio_int.h | 3 +++ audio/audio_template.h | 2 ++ audio/audio_win_int.h | 2 ++ audio/dsound_template.h | 3 +++ audio/mixeng_template.h | 2 ++ audio/rate_template.h | 2 ++ block/iscsi.c | 1 - block/qcow2.h | 2 ++ block/raw-aio.h | 3 +++ block/vhdx.h | 2 ++ bsd-user/i386/target_signal.h | 2 ++ bsd-user/i386/target_syscall.h | 2 ++ bsd-user/qemu.h | 3 +++ bsd-user/sparc/target_signal.h | 2 ++ bsd-user/sparc/target_syscall.h | 2 ++ bsd-user/sparc64/target_signal.h | 2 ++ bsd-user/sparc64/target_syscall.h | 2 ++ bsd-user/syscall_defs.h | 2 ++ bsd-user/x86_64/target_signal.h | 2 ++ bsd-user/x86_64/target_syscall.h | 2 ++ contrib/ivshmem-client/ivshmem-client.h | 2 ++ contrib/ivshmem-server/ivshmem-server.h | 2 ++ crypto/pbkdf-gcrypt.c | 2 +- crypto/pbkdf-nettle.c | 2 +- disas/libvixl/vixl/a64/assembler-a64.h | 2 ++ disas/libvixl/vixl/a64/constants-a64.h | 2 ++ disas/libvixl/vixl/a64/cpu-a64.h | 2 ++ disas/libvixl/vixl/a64/decoder-a64.h | 2 ++ disas/libvixl/vixl/a64/disasm-a64.h | 2 ++ disas/libvixl/vixl/a64/instructions-a64.h | 2 ++ disas/libvixl/vixl/code-buffer.h | 2 ++ disas/libvixl/vixl/compiler-intrinsics.h | 2 ++ disas/libvixl/vixl/globals.h | 2 ++ disas/libvixl/vixl/invalset.h | 2 ++ disas/libvixl/vixl/platform.h | 2 ++ disas/libvixl/vixl/utils.h | 2 ++ exec.c | 2 +- fpu/softfloat-macros.h | 2 ++ fpu/softfloat-specialize.h | 2 ++ fsdev/file-op-9p.h | 3 +++ fsdev/qemu-fsdev.h | 3 +++ hw/9pfs/9p-proxy.h | 3 +++ hw/9pfs/9p-synth.h | 3 +++ hw/9pfs/9p-xattr.h | 3 +++ hw/9pfs/9p.h | 2 ++ hw/9pfs/coth.h | 2 ++ hw/9pfs/virtio-9p.h | 2 ++ hw/audio/fmopl.h | 2 ++ hw/audio/hda-codec-common.h | 2 ++ hw/audio/lm4549.h | 3 +++ hw/block/nvme.h | 2 ++ hw/block/xen_blkif.h | 2 ++ hw/cris/boot.h | 4 ++++ hw/display/cirrus_vga_rop.h | 2 ++ hw/display/cirrus_vga_rop2.h | 2 ++ hw/display/milkymist-vgafb_template.h | 2 ++ hw/display/omap_lcd_template.h | 2 ++ hw/display/pl110_template.h | 2 ++ hw/display/pxa2xx_template.h | 2 ++ hw/display/qxl.h | 2 ++ hw/display/sm501_template.h | 2 ++ hw/display/tc6393xb_template.h | 2 ++ hw/display/vga-helpers.h | 2 ++ hw/display/vga_int.h | 3 +++ hw/i386/intel_iommu_internal.h | 6 ++++-- hw/ide/ahci.h | 2 ++ hw/lm32/lm32.h | 2 ++ hw/lm32/lm32_hwsetup.h | 2 ++ hw/lm32/milkymist-hw.h | 2 ++ hw/microblaze/boot.h | 2 ++ hw/net/e1000e_core.h | 9 +++++++++ hw/net/e1000x_common.h | 2 ++ hw/net/ne2000.h | 2 ++ hw/net/pcnet.h | 2 ++ hw/net/rocker/rocker_desc.h | 2 ++ hw/net/rocker/rocker_fp.h | 2 ++ hw/net/rocker/rocker_of_dpa.h | 2 ++ hw/net/rocker/rocker_tlv.h | 2 ++ hw/net/rocker/rocker_world.h | 2 ++ hw/net/vmware_utils.h | 3 +++ hw/ppc/ppc405.h | 2 ++ hw/s390x/ipl.h | 2 ++ hw/s390x/s390-pci-inst.h | 2 ++ hw/s390x/s390-virtio.h | 2 ++ hw/scsi/mptsas.h | 3 +++ hw/scsi/viosrp.h | 3 +++ hw/scsi/virtio-scsi-dataplane.c | 2 +- hw/scsi/virtio-scsi.c | 2 +- hw/tpm/tpm_int.h | 3 +++ hw/tpm/tpm_tis.h | 3 +++ hw/usb/desc.h | 2 ++ hw/usb/quirks.h | 2 ++ hw/vfio/pci.h | 3 +++ hw/xen/xen_pt.h | 2 ++ hw/xenpv/xen_domainbuild.h | 2 ++ hw/xtensa/bootparam.h | 2 ++ include/block/write-threshold.h | 3 +++ include/disas/disas.h | 1 + include/exec/cpu-all.h | 3 +++ include/exec/cpu-defs.h | 3 +++ include/exec/cpu_ldst.h | 2 ++ include/exec/cpu_ldst_template.h | 2 ++ include/exec/cpu_ldst_useronly_template.h | 2 ++ include/exec/cputlb.h | 3 +++ include/exec/exec-all.h | 2 ++ include/exec/gen-icount.h | 2 ++ include/exec/helper-gen.h | 2 ++ include/exec/helper-proto.h | 2 ++ include/exec/helper-tcg.h | 2 ++ include/exec/ioport.h | 2 ++ include/exec/memory-internal.h | 2 ++ include/exec/ram_addr.h | 2 ++ include/exec/softmmu-semi.h | 3 +++ include/exec/tb-hash.h | 2 ++ include/exec/user/abitypes.h | 2 ++ include/exec/user/thunk.h | 3 +++ include/hw/acpi/piix4.h | 2 ++ include/hw/acpi/tco.h | 3 +++ include/hw/arm/allwinner-a10.h | 2 ++ include/hw/arm/bcm2836.h | 2 ++ include/hw/arm/digic.h | 2 ++ include/hw/arm/fsl-imx25.h | 2 ++ include/hw/arm/fsl-imx31.h | 2 ++ include/hw/arm/fsl-imx6.h | 2 ++ include/hw/arm/sharpsl.h | 3 +++ include/hw/arm/xlnx-zynqmp.h | 2 ++ include/hw/block/fdc.h | 1 + include/hw/block/flash.h | 2 ++ include/hw/char/escc.h | 2 ++ include/hw/char/pl011.h | 4 ++++ include/hw/char/xilinx_uartlite.h | 4 ++++ include/hw/cris/etraxfs.h | 2 ++ include/hw/cris/etraxfs_dma.h | 2 ++ include/hw/elf_ops.h | 2 ++ include/hw/empty_slot.h | 2 ++ include/hw/i2c/aspeed_i2c.h | 3 +++ include/hw/i2c/i2c-ddc.h | 2 ++ include/hw/i2c/pm_smbus.h | 2 ++ include/hw/i386/apic_internal.h | 3 +++ include/hw/i386/intel_iommu.h | 6 ++++-- include/hw/i386/ioapic_internal.h | 2 ++ include/hw/input/hid.h | 2 ++ include/hw/intc/allwinner-a10-pic.h | 2 ++ include/hw/irq.h | 2 -- include/hw/isa/i8257.h | 2 ++ include/hw/kvm/clock.h | 2 ++ include/hw/mips/bios.h | 2 ++ include/hw/mips/cpudevs.h | 2 ++ include/hw/misc/mips_cmgcr.h | 3 +++ include/hw/misc/mips_cpc.h | 2 ++ include/hw/misc/mips_itu.h | 2 ++ include/hw/net/allwinner_emac.h | 3 +++ include/hw/nvram/openbios_firmware_abi.h | 2 ++ include/hw/pci-host/apb.h | 1 + include/hw/pci-host/spapr.h | 3 +++ include/hw/pci/pci_bus.h | 2 ++ include/hw/pci/pcie_aer.h | 2 ++ include/hw/ppc/ppc.h | 2 ++ include/hw/ppc/ppc4xx.h | 2 ++ include/hw/ppc/spapr.h | 2 ++ include/hw/ppc/spapr_cpu_core.h | 3 +++ include/hw/ppc/spapr_drc.h | 3 +++ include/hw/ppc/spapr_vio.h | 2 ++ include/hw/ppc/xics.h | 3 +++ include/hw/sparc/grlib.h | 2 ++ include/hw/sparc/sparc32_dma.h | 2 ++ include/hw/ssi/xilinx_spips.h | 2 ++ include/hw/timer/allwinner-a10-pit.h | 2 ++ include/hw/timer/aspeed_timer.h | 3 +++ include/hw/timer/i8254_internal.h | 2 ++ include/hw/timer/m48t59.h | 1 + include/hw/virtio/virtio-access.h | 3 +++ include/hw/virtio/virtio-input.h | 2 ++ include/hw/virtio/virtio-rng.h | 2 ++ include/hw/xen/xen_backend.h | 2 ++ include/hw/xen/xen_common.h | 2 ++ include/libdecnumber/decNumberLocal.h | 2 ++ include/migration/cpu.h | 3 +++ include/monitor/hmp-target.h | 3 +++ include/qemu/compatfd.h | 2 ++ include/qemu/ratelimit.h | 2 ++ include/qemu/thread-win32.h | 2 ++ include/qemu/typedefs.h | 4 +--- include/qemu/xattr.h | 3 +++ include/sysemu/balloon.h | 2 ++ include/sysemu/cpus.h | 2 ++ include/sysemu/dump.h | 2 ++ include/sysemu/iothread.h | 2 ++ include/sysemu/kvm_int.h | 2 ++ include/sysemu/memory_mapping.h | 2 ++ include/sysemu/os-posix.h | 2 ++ include/sysemu/os-win32.h | 2 ++ include/sysemu/seccomp.h | 3 +++ include/sysemu/tpm.h | 3 +++ include/sysemu/xen-mapcache.h | 3 +++ include/trace-tcg.h | 2 ++ include/ui/egl-context.h | 2 ++ include/ui/egl-helpers.h | 2 ++ include/ui/gtk.h | 2 ++ include/ui/input.h | 2 ++ include/ui/pixel_ops.h | 2 ++ include/ui/sdl2.h | 2 ++ include/ui/shader.h | 2 ++ include/ui/spice-display.h | 2 ++ linux-headers/asm-arm/kvm.h | 2 ++ linux-headers/asm-arm/kvm_para.h | 2 ++ linux-headers/asm-arm64/kvm.h | 2 ++ linux-headers/asm-arm64/kvm_para.h | 2 ++ linux-headers/asm-arm64/unistd.h | 2 ++ linux-headers/asm-mips/kvm.h | 2 ++ linux-headers/asm-mips/unistd.h | 3 +++ linux-headers/asm-powerpc/kvm.h | 2 ++ linux-headers/asm-powerpc/kvm_para.h | 2 ++ linux-headers/asm-s390/kvm.h | 2 ++ linux-headers/asm-x86/kvm.h | 2 ++ linux-headers/asm-x86/kvm_para.h | 2 ++ linux-headers/asm-x86/unistd.h | 2 ++ linux-headers/linux/kvm.h | 2 ++ linux-headers/linux/kvm_para.h | 2 ++ linux-headers/linux/userfaultfd.h | 2 ++ linux-headers/linux/vfio.h | 3 +++ linux-headers/linux/vhost.h | 2 ++ linux-user/aarch64/target_cpu.h | 3 +++ linux-user/aarch64/target_signal.h | 2 ++ linux-user/aarch64/target_structs.h | 3 +++ linux-user/aarch64/termbits.h | 2 ++ linux-user/alpha/target_cpu.h | 3 +++ linux-user/alpha/target_signal.h | 2 ++ linux-user/alpha/target_structs.h | 3 +++ linux-user/alpha/target_syscall.h | 2 ++ linux-user/alpha/termbits.h | 2 ++ linux-user/arm/nwfpe/fpa11.h | 2 ++ linux-user/arm/nwfpe/fpopcode.h | 2 ++ linux-user/arm/target_cpu.h | 3 +++ linux-user/arm/target_signal.h | 2 ++ linux-user/arm/target_structs.h | 3 +++ linux-user/arm/target_syscall.h | 2 ++ linux-user/arm/termbits.h | 2 ++ linux-user/cris/target_cpu.h | 3 +++ linux-user/cris/target_signal.h | 2 ++ linux-user/cris/target_structs.h | 3 +++ linux-user/cris/termbits.h | 2 ++ linux-user/flat.h | 2 ++ linux-user/flatload.c | 2 +- linux-user/host/x86_64/hostdep.h | 2 ++ linux-user/i386/target_cpu.h | 2 ++ linux-user/i386/target_signal.h | 2 ++ linux-user/i386/target_structs.h | 3 +++ linux-user/i386/target_syscall.h | 2 ++ linux-user/i386/termbits.h | 2 ++ linux-user/ioctls.h | 2 ++ linux-user/linux_loop.h | 3 +++ linux-user/m68k/target_cpu.h | 2 ++ linux-user/m68k/target_signal.h | 2 ++ linux-user/m68k/target_structs.h | 3 +++ linux-user/m68k/target_syscall.h | 2 ++ linux-user/m68k/termbits.h | 2 ++ linux-user/microblaze/target_cpu.h | 3 +++ linux-user/microblaze/target_signal.h | 2 ++ linux-user/microblaze/target_structs.h | 3 +++ linux-user/microblaze/termbits.h | 2 ++ linux-user/mips/target_cpu.h | 3 +++ linux-user/mips/target_signal.h | 2 ++ linux-user/mips/target_structs.h | 3 +++ linux-user/mips/target_syscall.h | 2 ++ linux-user/mips/termbits.h | 2 ++ linux-user/mips64/syscall_nr.h | 2 ++ linux-user/mips64/target_cpu.h | 3 +++ linux-user/mips64/target_signal.h | 2 ++ linux-user/mips64/target_structs.h | 2 ++ linux-user/mips64/target_syscall.h | 2 ++ linux-user/mips64/termbits.h | 2 ++ linux-user/openrisc/target_cpu.h | 2 ++ linux-user/openrisc/target_signal.h | 2 ++ linux-user/openrisc/target_structs.h | 3 +++ linux-user/openrisc/target_syscall.h | 2 ++ linux-user/openrisc/termbits.h | 2 ++ linux-user/ppc/syscall_nr.h | 3 +++ linux-user/ppc/target_cpu.h | 3 +++ linux-user/ppc/target_signal.h | 2 ++ linux-user/ppc/target_structs.h | 3 +++ linux-user/ppc/target_syscall.h | 2 ++ linux-user/ppc/termbits.h | 2 ++ linux-user/qemu.h | 2 ++ linux-user/s390x/target_cpu.h | 3 +++ linux-user/s390x/target_signal.h | 2 ++ linux-user/s390x/target_structs.h | 3 +++ linux-user/s390x/target_syscall.h | 2 ++ linux-user/s390x/termbits.h | 2 ++ linux-user/sh4/target_cpu.h | 3 +++ linux-user/sh4/target_signal.h | 2 ++ linux-user/sh4/target_structs.h | 3 +++ linux-user/sh4/termbits.h | 2 ++ linux-user/socket.h | 1 + linux-user/sparc/target_cpu.h | 3 +++ linux-user/sparc/target_signal.h | 2 ++ linux-user/sparc/target_structs.h | 3 +++ linux-user/sparc/target_syscall.h | 2 ++ linux-user/sparc/termbits.h | 2 ++ linux-user/sparc64/target_cpu.h | 2 ++ linux-user/sparc64/target_signal.h | 2 ++ linux-user/sparc64/target_structs.h | 3 +++ linux-user/sparc64/target_syscall.h | 2 ++ linux-user/sparc64/termbits.h | 2 ++ linux-user/syscall_defs.h | 2 ++ linux-user/syscall_types.h | 2 ++ linux-user/tilegx/target_cpu.h | 3 +++ linux-user/tilegx/target_signal.h | 2 ++ linux-user/tilegx/target_structs.h | 3 +++ linux-user/tilegx/target_syscall.h | 2 ++ linux-user/uname.h | 2 ++ linux-user/unicore32/target_cpu.h | 3 +++ linux-user/unicore32/target_signal.h | 3 +++ linux-user/unicore32/target_structs.h | 3 +++ linux-user/unicore32/target_syscall.h | 3 +++ linux-user/unicore32/termbits.h | 3 +++ linux-user/x86_64/target_cpu.h | 2 ++ linux-user/x86_64/target_signal.h | 2 ++ linux-user/x86_64/target_structs.h | 3 +++ linux-user/x86_64/target_syscall.h | 2 ++ linux-user/x86_64/termbits.h | 2 ++ monitor.c | 2 +- pc-bios/optionrom/optionrom.h | 2 ++ pc-bios/s390-ccw/bootmap.h | 3 +++ pc-bios/s390-ccw/cio.h | 2 ++ pc-bios/s390-ccw/iplb.h | 2 ++ pc-bios/s390-ccw/s390-ccw.h | 2 ++ pc-bios/s390-ccw/scsi.h | 2 ++ pc-bios/s390-ccw/virtio-scsi.h | 2 ++ pc-bios/s390-ccw/virtio.h | 2 ++ qemu-options-wrapper.h | 1 + qga/guest-agent-core.h | 3 +++ qga/service-win32.h | 3 +++ qga/vss-win32/requester.h | 2 ++ qga/vss-win32/vss-common.h | 2 ++ replay/replay-internal.h | 2 ++ scripts/cocci-macro-file.h | 2 ++ scripts/tracetool/format/tcg_h.py | 2 ++ slirp/bootp.c | 2 +- slirp/bootp.h | 3 +++ slirp/cksum.c | 2 +- slirp/if.c | 2 +- slirp/ip.h | 2 ++ slirp/ip6_icmp.h | 2 ++ slirp/ip_icmp.h | 2 ++ slirp/ip_input.c | 2 +- slirp/ip_output.c | 2 +- slirp/main.h | 3 +++ slirp/mbuf.c | 2 +- slirp/mbuf.h | 2 ++ slirp/misc.c | 5 ++--- slirp/misc.h | 2 ++ slirp/sbuf.c | 4 ++-- slirp/sbuf.h | 2 ++ slirp/socket.c | 2 +- slirp/socket.h | 2 ++ slirp/tcp.h | 2 ++ slirp/tcp_input.c | 2 +- slirp/tcp_output.c | 2 +- slirp/tcp_subr.c | 2 +- slirp/tcp_timer.c | 2 +- slirp/tcp_timer.h | 2 ++ slirp/tcp_var.h | 2 ++ slirp/tcpip.h | 2 ++ slirp/tftp.c | 2 +- slirp/tftp.h | 3 +++ slirp/udp.c | 2 +- slirp/udp.h | 2 ++ softmmu_template.h | 3 +++ target-alpha/cpu.h | 2 ++ target-alpha/helper.h | 2 ++ target-arm/arm-powerctl.c | 4 ++-- target-arm/arm_ldst.h | 2 ++ target-arm/cpu.h | 3 +++ target-arm/helper-a64.h | 3 +++ target-arm/helper.h | 2 ++ target-arm/internals.h | 2 ++ target-arm/kvm_arm.h | 2 ++ target-arm/op_addsub.h | 2 ++ target-arm/psci.c | 8 ++++---- target-arm/translate.h | 2 ++ target-cris/cpu.h | 3 +++ target-cris/helper.h | 2 ++ target-cris/mmu.h | 2 ++ target-i386/cc_helper_template.h | 2 ++ target-i386/cpu-qom.h | 3 +++ target-i386/cpu.h | 3 +++ target-i386/helper.h | 2 ++ target-i386/hyperv.h | 2 ++ target-i386/kvm_i386.h | 2 ++ target-i386/ops_sse.h | 2 ++ target-i386/ops_sse_header.h | 3 +++ target-i386/shift_helper_template.h | 2 ++ target-lm32/cpu.h | 2 ++ target-lm32/helper.h | 2 ++ target-m68k/cpu.h | 3 +++ target-m68k/helper.h | 2 ++ target-microblaze/cpu.h | 3 +++ target-microblaze/helper.h | 2 ++ target-microblaze/mmu.h | 2 ++ target-mips/cpu-qom.h | 3 +++ target-mips/cpu.h | 2 ++ target-mips/helper.h | 2 ++ target-mips/kvm_mips.h | 4 +++- target-mips/mips-defs.h | 2 ++ target-moxie/cpu.h | 3 +++ target-moxie/helper.h | 2 ++ target-moxie/machine.h | 2 ++ target-moxie/mmu.h | 2 ++ target-openrisc/cpu.h | 2 ++ target-openrisc/exception.h | 2 ++ target-openrisc/helper.h | 2 ++ target-ppc/cpu-models.h | 3 +++ target-ppc/cpu-qom.h | 3 +++ target-ppc/cpu.h | 3 +++ target-ppc/helper.h | 2 ++ target-ppc/helper_regs.h | 2 ++ target-ppc/kvm_ppc.h | 2 ++ target-ppc/mmu-hash32.h | 4 ++++ target-ppc/mmu-hash64.h | 2 ++ target-ppc/translate_init.c | 2 +- target-s390x/cpu.h | 5 ++++- target-s390x/helper.h | 2 ++ target-sh4/cpu.h | 3 +++ target-sh4/helper.h | 2 ++ target-sparc/cpu-qom.h | 3 +++ target-sparc/cpu.h | 2 ++ target-sparc/helper.h | 2 ++ target-tilegx/cpu.h | 3 +++ target-tilegx/helper.h | 2 ++ target-tricore/cpu.h | 3 +++ target-tricore/helper.h | 2 ++ target-tricore/tricore-defs.h | 2 ++ target-tricore/tricore-opcodes.h | 2 ++ target-unicore32/cpu.h | 3 +++ target-unicore32/helper.h | 2 ++ target-unicore32/softmmu.c | 2 +- target-xtensa/cpu.h | 2 ++ target-xtensa/helper.h | 2 ++ target-xtensa/overlay_tool.h | 2 ++ tcg/mips/tcg-target.h | 3 +++ tcg/tcg-be-ldst.h | 2 ++ tcg/tcg-be-null.h | 2 ++ tcg/tcg-op.h | 2 ++ tcg/tcg-opc.h | 2 ++ tcg/tcg-runtime.h | 2 ++ tcg/tcg.h | 2 ++ tests/Makefile.include | 27 +++++++++++++++++++++++++-- tests/crypto-tls-x509-helpers.h | 2 ++ tests/multiboot/libc.h | 2 ++ tests/multiboot/multiboot.h | 2 ++ tests/postcopy-test.c | 3 +-- tests/tcg/cris/crisutils.h | 2 ++ tests/tcg/cris/sys.h | 2 ++ tests/tcg/mips/mips64-dsp/io.h | 2 ++ tests/tcg/mips/mips64-dspr2/io.h | 2 ++ tests/tcg/test-i386-muldiv.h | 1 + tests/tcg/test-i386-shift.h | 1 + tests/tcg/test-i386.h | 1 + tests/vhost-user-bridge.c | 2 -- tests/vhost-user-test.c | 2 +- trace/control-internal.h | 2 ++ trace/mem-internal.h | 2 ++ trace/mem.h | 2 ++ trace/simple.h | 2 ++ translate-all.h | 3 +++ ui/curses_keys.h | 2 ++ ui/sdl2-keymap.h | 1 + ui/sdl_keysym.h | 1 + ui/sdl_zoom.h | 2 ++ ui/sdl_zoom_template.h | 2 ++ ui/vgafont.h | 2 ++ ui/vnc-auth-sasl.h | 2 ++ ui/vnc-auth-vencrypt.h | 2 ++ ui/vnc-enc-hextile-template.h | 2 ++ ui/vnc-jobs.h | 2 ++ ui/vnc-ws.h | 2 ++ ui/vnc_keysym.h | 1 + util/mmap-alloc.c | 3 ++- util/oslib-posix.c | 2 +- 480 files changed, 1068 insertions(+), 54 deletions(-)
Signature · 1 line
2.5.5
RFC PATCH v2 1/5 Use #include "..." exactly for our own headers
--- block/iscsi.c | 1 - crypto/pbkdf-gcrypt.c | 2 +- crypto/pbkdf-nettle.c | 2 +- exec.c | 2 +- hw/scsi/virtio-scsi-dataplane.c | 2 +- hw/scsi/virtio-scsi.c | 2 +- linux-user/flatload.c | 2 +- monitor.c | 2 +- slirp/bootp.c | 2 +- slirp/cksum.c | 2 +- slirp/if.c | 2 +- slirp/ip_input.c | 2 +- slirp/ip_output.c | 2 +- slirp/mbuf.c | 2 +- slirp/misc.c | 5 ++--- slirp/sbuf.c | 4 ++-- slirp/socket.c | 2 +- slirp/tcp_input.c | 2 +- slirp/tcp_output.c | 2 +- slirp/tcp_subr.c | 2 +- slirp/tcp_timer.c | 2 +- slirp/tftp.c | 2 +- slirp/udp.c | 2 +- target-arm/arm-powerctl.c | 4 ++-- target-arm/psci.c | 8 ++++---- target-ppc/translate_init.c | 2 +- target-s390x/cpu.h | 2 +- target-unicore32/softmmu.c | 2 +- tests/postcopy-test.c | 3 +-- tests/vhost-user-bridge.c | 2 -- tests/vhost-user-test.c | 2 +- util/mmap-alloc.c | 3 ++- util/oslib-posix.c | 2 +- 33 files changed, 38 insertions(+), 42 deletions(-)
block/iscsi.c +0 -1
@@ -46,7 +46,6 @@#ifdef __linux__#include <scsi/sg.h> -#include <block/scsi.h> #endif typedef struct IscsiLun {
crypto/pbkdf-gcrypt.c +1 -1
@@ -19,9 +19,9 @@*/ #include "qemu/osdep.h" +#include <gcrypt.h> #include "qapi/error.h" #include "crypto/pbkdf.h" -#include "gcrypt.h" bool qcrypto_pbkdf2_supports (QCryptoHashAlgorithm hash) {
crypto/pbkdf-nettle.c +1 -1
@@ -19,9 +19,9 @@*/ #include "qemu/osdep.h" +#include <nettle/pbkdf2.h> #include "qapi/error.h" #include "crypto/pbkdf.h" -#include "nettle/pbkdf2.h" bool qcrypto_pbkdf2_supports (QCryptoHashAlgorithm hash)
exec.c +1 -1
@@ -36,7 +36,7 @@#include "qemu/config-file.h" #include "qemu/error-report.h" #if defined(CONFIG_USER_ONLY ) -#include <qemu.h> +#include "qemu.h" #else /* !CONFIG_USER_ONLY */ #include "hw/hw.h" #include "exec/memory.h"
hw/scsi/virtio-scsi-dataplane.c +1 -1
@@ -16,7 +16,7 @@#include "qemu/error-report.h" #include "sysemu/block-backend.h" #include <hw/scsi/scsi.h> -#include <block/scsi.h> +#include "block/scsi.h" #include <hw/virtio/virtio-bus.h> #include "hw/virtio/virtio-access.h"
hw/scsi/virtio-scsi.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/iov.h" #include "sysemu/block-backend.h" #include <hw/scsi/scsi.h> -#include <block/scsi.h> +#include "block/scsi.h" #include <hw/virtio/virtio-bus.h> #include "hw/virtio/virtio-access.h"
linux-user/flatload.c +1 -1
@@ -37,7 +37,7 @@#include "qemu.h" #include "flat.h" -#include <target_flat.h> +#include "target_flat.h" //#define DEBUG
monitor.c +1 -1
@@ -62,7 +62,7 @@#include "qapi/qmp/qjson.h" #include "qapi/qmp/json-streamer.h" #include "qapi/qmp/json-parser.h" -#include <qom/object_interfaces.h> +#include "qom/object_interfaces.h" #include "cpu.h" #include "trace.h" #include "trace/control.h"
slirp/bootp.c +1 -1
@@ -22,7 +22,7 @@* THE SOFTWARE. */ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #if defined(_WIN32)/* Windows ntohl() returns an u_long value.
slirp/cksum.c +1 -1
@@ -31,7 +31,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* * Checksum routine for Internet Protocol family headers (Portable Version).
slirp/if.c +1 -1
@@ -6,7 +6,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "qemu/timer.h" static void
slirp/ip_input.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" static struct ip *ip_reass (Slirp *slirp,struct ip *ip,struct ipq *fp);
slirp/ip_output.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* Number of packets queued before we start sending * (to prevent allocing too many mbufs) */
slirp/mbuf.c +1 -1
@@ -16,7 +16,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #define MBUF_THRESH 30
slirp/misc.c +2 -3
@@ -6,9 +6,8 @@*/ #include "qemu/osdep.h" -#include <slirp.h> -#include <libslirp.h> - +#include "slirp.h" +#include "libslirp.h" #include "monitor/monitor.h" #include "qemu/error-report.h" #include "qemu/main-loop.h"
slirp/sbuf.c +2 -2
@@ -6,8 +6,8 @@*/ #include "qemu/osdep.h" -#include <slirp.h> -#include <qemu/main-loop.h> +#include "slirp.h" +#include "qemu/main-loop.h" static void sbappendsb (struct sbuf *sb,struct mbuf *m);
slirp/socket.c +1 -1
@@ -7,7 +7,7 @@#include "qemu/osdep.h" #include "qemu-common.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" #ifdef __sun__#include <sys/filio.h>
slirp/tcp_input.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" #define TCPREXMTTHRESH 3
slirp/tcp_output.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" static const u_char tcp_outflags[TCP_NSTATES ] = {TH_RST |TH_ACK ,0 ,TH_SYN ,TH_SYN |TH_ACK ,
slirp/tcp_subr.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" /* patchable/settable parameters for tcp */ /* Don't do rfc1323 performance enhancements */
slirp/tcp_timer.c +1 -1
@@ -31,7 +31,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" static struct tcpcb *tcp_timers (registerstruct tcpcb *tp,int timer);
slirp/tftp.c +1 -1
@@ -23,7 +23,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "qemu-common.h" #include "qemu/cutils.h"
slirp/udp.c +1 -1
@@ -39,7 +39,7 @@*/ #include "qemu/osdep.h" -#include <slirp.h> +#include "slirp.h" #include "ip_icmp.h" static uint8_t udp_tos (struct socket *so);
target-arm/arm-powerctl.c +2 -2
@@ -9,8 +9,8 @@*/ #include "qemu/osdep.h" -#include <cpu.h> -#include <cpu-qom.h> +#include "cpu.h" +#include "cpu-qom.h" #include "internals.h" #include "arm-powerctl.h" #include "qemu/log.h"
target-arm/psci.c +4 -4
@@ -16,10 +16,10 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ #include "qemu/osdep.h" -#include <cpu.h> -#include <exec/helper-proto.h> -#include <kvm-consts.h> -#include <sysemu/sysemu.h> +#include "cpu.h" +#include "exec/helper-proto.h" +#include "kvm-consts.h" +#include "sysemu/sysemu.h" #include "internals.h" #include "arm-powerctl.h" #include "exec/exec-all.h"
target-ppc/translate_init.c +1 -1
@@ -21,7 +21,7 @@#include "qemu/osdep.h" #include "disas/bfd.h" #include "exec/gdbstub.h" -#include <sysemu/kvm.h> +#include "sysemu/kvm.h" #include "kvm_ppc.h" #include "sysemu/arch_init.h" #include "sysemu/cpus.h"
target-s390x/cpu.h +1 -1
@@ -219,7 +219,7 @@ int s390_cpu_gdb_write_register(CPUState *cpu, uint8_t *buf, int reg);void s390_cpu_gdb_init (CPUState *cs);void s390x_cpu_debug_excp_handler (CPUState *cs); -#include <sysemu/kvm.h> +#include "sysemu/kvm.h" /* distinguish between 24 bit and 31 bit addressing */ #define HIGH_ORDER_BIT 0x80000000
target-unicore32/softmmu.c +1 -1
@@ -13,7 +13,7 @@#endif #include "qemu/osdep.h" -#include <cpu.h> +#include "cpu.h" #include "exec/exec-all.h" #undef DEBUG_UC32
tests/postcopy-test.c +1 -2
@@ -15,11 +15,10 @@#include "libqtest.h" #include "qemu/option.h" #include "qemu/range.h" +#include "qemu/sockets.h" #include "sysemu/char.h" #include "sysemu/sysemu.h" -#include <qemu/sockets.h> -const unsigned start_address =1024 *1024 ;const unsigned end_address =100 *1024 *1024 ;bool got_stop;
tests/vhost-user-bridge.c +0 -2
@@ -36,8 +36,6 @@#include <sys/eventfd.h> #include <arpa/inet.h> #include <netdb.h> -#include <qemu/osdep.h> -#include <linux/vhost.h> #include "qemu/atomic.h"
tests/vhost-user-test.c +1 -1
@@ -13,12 +13,12 @@#include "libqtest.h" #include "qemu/option.h" #include "qemu/range.h" +#include "qemu/sockets.h" #include "sysemu/char.h" #include "sysemu/sysemu.h" #include <linux/vhost.h> #include <sys/vfs.h> -#include <qemu/sockets.h> /* GLIB version compatibility flags */ #if !GLIB_CHECK_VERSION (2 ,26 ,0 )
util/mmap-alloc.c +2 -1
@@ -9,8 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or * later. See the COPYING file in the top-level directory. */ +#include "qemu/osdep.h" -#include <qemu/mmap-alloc.h> +#include "qemu/mmap-alloc.h" #define HUGETLBFS_MAGIC 0x958458f6
util/oslib-posix.c +1 -1
@@ -48,7 +48,7 @@#include <sys/sysctl.h> #endif -#include <qemu/mmap-alloc.h> +#include "qemu/mmap-alloc.h" int qemu_get_thread_id (void ) {
Signature · 1 line
2.5.5
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
Quoted 2 lines · Markus Armbruster
Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Peter Maydell <[email protected]>
Worth mentioning how you found the culprits in the commit message, so that someone could repeat the task when backporting this patch or dealing with future cruft that inevitably creeps back in without an automated checkin validation tool?
crypto/pbkdf-nettle.c line 24
Quoted 9 lines
+++
b/crypto/pbkdf-nettle.ccrypto/pbkdf-nettle.c +1
-1@@ -19,9 +19,9 @@*/ #include "qemu/osdep.h" +#include <nettle/pbkdf2.h> #include "qapi/error.h" #include "crypto/pbkdf.h" -#include "nettle/pbkdf2.h"
You're not just converting <> to "" (when the header is internal) or "" to <> (when the header is 3rd-party), but also rearranging things to put <> before "" (except for osdep.h which must be first). I like that paradigm, but again, might be worth a mention in the commit message as being intentional.
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
Quoted 14 lines · Eric Blake
Quoted 2 lines · Markus Armbruster
Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Peter Maydell <[email protected]>Worth mentioning how you found the culprits in the commit message, so that someone could repeat the task when backporting this patch or dealing with future cruft that inevitably creeps back in without an automated checkin validation tool?
Quoted 4 lines
+++
b/crypto/pbkdf-nettle.c(quoted diff) +0
-0@@ -19,9 +19,9 @@ */
Quoted 11 lines
crypto/pbkdf-nettle.c line 24
Quoted 5 lines
crypto/pbkdf-nettle.c +1
-1#include "qemu/osdep.h" +#include <nettle/pbkdf2.h> #include "qapi/error.h" #include "crypto/pbkdf.h" -#include "nettle/pbkdf2.h" You're not just converting <> to "" (when the header is internal) or "" to <> (when the header is 3rd-party), but also rearranging things to put <> before "" (except for
osdep.hwhich must be first). I like that paradigm, but again, might be worth a mention in the commit message as being intentional.
Our ordering of #include directives looks and smells like an open garbage dump in August. Cleaning this up should become feasible once we manage to make our headers self-contained. If such a cleanup is wanted.
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
In reply to Eric BlakeQuoted 8 lines · Eric Blake
Quoted 2 lines · Markus Armbruster
Signed-off-by Markus Armbruster <[email protected]>Reviewed-by Peter Maydell <[email protected]>Worth mentioning how you found the culprits in the commit message, so that someone could repeat the task when backporting this patch or dealing with future cruft that inevitably creeps back in without an automated checkin validation tool?
With an ugly Perl script, of course %-/
If our use of -I was sane, the mapping from #include's file to the actual file would be straightforward. It isn't, because we add different -I for different parts of the code. To spice up things, we also name a few of our headers just like system headers we use elsewhere, e.g. "util.h" in net/ vs. <util.h> in util/qemu-openpty.c.
My Perl script tries to match #include directives against source files, and prints its findings. The headers it can't map to source files must either be generated headers or system headers. The headers it can map might be system headers anyway.
I'm afraid my script and its usage is too brittle to be of much use later on. I attach it anyway.
[...]
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
Quoted 3 lines · Markus Armbruster
To spice up things, we
also name a few of our headers just like system headers we use elsewhere, e.g. "util.h" innet/vs. <util.h> inutil/qemu-openpty.c.
That would be nice to fix at some point I think, it's pretty brittle. (We had one issue recently that boiled down to system header vs local header confusion, though I forget the details.)
thanks
-- PMM
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
Quoted 8 lines · Peter Maydell
Quoted 3 lines · Markus Armbruster
To spice up things, we
also name a few of our headers just like system headers we use elsewhere, e.g. "util.h" innet/vs. <util.h> inutil/qemu-openpty.c.That would be nice to fix at some point I think, it's pretty brittle. (We had one issue recently that boiled down to system header vs local header confusion, though I forget the details.)
Fixing collisions we're aware of is easy enough, just rename our header. Finding collisions is more interesting. Perhaps I can cook up something for make check-source.
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
In reply to Markus ArmbrusterQuoted 5 lines · Markus Armbruster
With an ugly Perl script, of course %-/
I'm afraid my script and its usage is too brittle to be of much use later on. I attach it anyway.
A zero byte file map-include-to-header.pl~. Infinite compression :)
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Re: [Qemu-devel] [PATCH RFC v2 1/5] Use #include "..." exactly for our own headers
Quoted 9 lines · Eric Blake
Quoted 5 lines · Markus Armbruster
With an ugly Perl script, of course %-/
I'm afraid my script and its usage is too brittle to be of much use later on. I attach it anyway.
A zero byte file map-include-to-header.pl~. Infinite compression :)
Looks like my fingers were even more reluctant to show off their ugly work than my brain was...
#!/usr/bin/perl -w
use strict;
my %ihdr = ();
my %idir = ();
my @sall = ();
my @sinc = ();
open(my $fh, "-|", "git grep '^[ \t]*#[ \t]*include[ \t]'")
or die "can't run git grep: $!";
while (<$fh>) {
m,^([^:/]*)/?[^:/]*:[ \t]*#[ \t]*include[ \t]*(["<])([^">]*),;
my $dir = $1 // ".";
my $delim = $2;
my $h = $3;
$ihdr{$h} |= 1 << ($delim eq "<");
if (exists $idir{$h}) {
my $aref = $idir{$h};
push @$aref, $dir unless grep($_ eq $dir, @$aref);
} else {
$idir{$h} = [$dir];
}
}close ($fh);
open($fh, "-|", "git ls-tree -r --name-only HEAD")
or die "can't run git ls-tree: $!";
while (<$fh>) {
chomp;
push @sall, $_;
}close ($fh);
@sinc = grep(/^include\//, @sall);
sub pr {
my ($h, $fn, $src) = @_;
print "$h -> $fn";
if ($ihdr{$h} == 3) {
print " (included inconsistently)";
} elsif ($src) {
print " (included with <>)" if ($ihdr{$h} != 1);
} else {
print " (included with \"\")" if ($ihdr{$h} != 2);
}
print "\n";
}for my $h (keys %ihdr) {
$h =~ m,^(\.\./)*(include/)?(.*), or die;
my $hh = $3;
my @fn = grep(/^include\/\Q$hh\E$/, @sinc);
if (@fn) {
pr($h, $fn[0], 1);
next;
}
@fn = grep(/^\Q$hh\E$/, @sall);
if (@fn) {
pr($h, $fn[0], 1);
next;
}
for my $dir (@{$idir{$h}}) {
next if $dir eq ".";
@fn = grep(/^\Q$dir\/$hh\E$/, @sall);
if (@fn) {
pr($h, $fn[0], 1);
} else {
pr($h, "? (in $dir)", 0);
}
}
}RFC PATCH v2 2/5 tests: New make target check-source
In reply to Markus ArmbrusterFor now, this tests just a bit of header sanity: for each header "FOO.h", test whether
#include "qemu/osdep.h" #include "FOO.h" #include "FOO.h"
compiles. A large number of headers don't pass this test, by design or by accident. These are all excluded for now. Excluded headers contain a comment
/* FIXME Does not pass make check-headers, yet! */
Many headers fail the test only with CONFIG_WIN32. These contain a comment
/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */
Add make target check-excluded-headers to help with examining how they fail.
These tests work only in a git tree, with git installed.
--- audio/audio_int.h | 3 +++ audio/audio_template.h | 2 ++ audio/audio_win_int.h | 2 ++ audio/dsound_template.h | 3 +++ audio/mixeng_template.h | 2 ++ audio/rate_template.h | 2 ++ block/qcow2.h | 2 ++ block/raw-aio.h | 3 +++ block/vhdx.h | 2 ++ bsd-user/i386/target_signal.h | 2 ++ bsd-user/i386/target_syscall.h | 2 ++ bsd-user/qemu.h | 3 +++ bsd-user/sparc/target_signal.h | 2 ++ bsd-user/sparc/target_syscall.h | 2 ++ bsd-user/sparc64/target_signal.h | 2 ++ bsd-user/sparc64/target_syscall.h | 2 ++ bsd-user/syscall_defs.h | 2 ++ bsd-user/x86_64/target_signal.h | 2 ++ bsd-user/x86_64/target_syscall.h | 2 ++ contrib/ivshmem-client/ivshmem-client.h | 2 ++ contrib/ivshmem-server/ivshmem-server.h | 2 ++ disas/libvixl/vixl/a64/assembler-a64.h | 2 ++ disas/libvixl/vixl/a64/constants-a64.h | 2 ++ disas/libvixl/vixl/a64/cpu-a64.h | 2 ++ disas/libvixl/vixl/a64/decoder-a64.h | 2 ++ disas/libvixl/vixl/a64/disasm-a64.h | 2 ++ disas/libvixl/vixl/a64/instructions-a64.h | 2 ++ disas/libvixl/vixl/code-buffer.h | 2 ++ disas/libvixl/vixl/compiler-intrinsics.h | 2 ++ disas/libvixl/vixl/globals.h | 2 ++ disas/libvixl/vixl/invalset.h | 2 ++ disas/libvixl/vixl/platform.h | 2 ++ disas/libvixl/vixl/utils.h | 2 ++ fpu/softfloat-macros.h | 2 ++ fpu/softfloat-specialize.h | 2 ++ fsdev/file-op-9p.h | 3 +++ fsdev/qemu-fsdev.h | 3 +++ hw/9pfs/9p-proxy.h | 3 +++ hw/9pfs/9p-synth.h | 3 +++ hw/9pfs/9p-xattr.h | 3 +++ hw/9pfs/9p.h | 2 ++ hw/9pfs/coth.h | 2 ++ hw/9pfs/virtio-9p.h | 2 ++ hw/audio/fmopl.h | 2 ++ hw/audio/hda-codec-common.h | 2 ++ hw/audio/lm4549.h | 2 ++ hw/block/nvme.h | 2 ++ hw/block/xen_blkif.h | 2 ++ hw/cris/boot.h | 2 ++ hw/display/cirrus_vga_rop.h | 2 ++ hw/display/cirrus_vga_rop2.h | 2 ++ hw/display/milkymist-vgafb_template.h | 2 ++ hw/display/omap_lcd_template.h | 2 ++ hw/display/pl110_template.h | 2 ++ hw/display/pxa2xx_template.h | 2 ++ hw/display/qxl.h | 2 ++ hw/display/sm501_template.h | 2 ++ hw/display/tc6393xb_template.h | 2 ++ hw/display/vga-helpers.h | 2 ++ hw/display/vga_int.h | 3 +++ hw/i386/intel_iommu_internal.h | 6 ++++-- hw/ide/ahci.h | 2 ++ hw/lm32/lm32.h | 2 ++ hw/lm32/lm32_hwsetup.h | 2 ++ hw/lm32/milkymist-hw.h | 2 ++ hw/microblaze/boot.h | 2 ++ hw/net/e1000e_core.h | 2 ++ hw/net/e1000x_common.h | 2 ++ hw/net/ne2000.h | 2 ++ hw/net/pcnet.h | 2 ++ hw/net/rocker/rocker_desc.h | 2 ++ hw/net/rocker/rocker_fp.h | 2 ++ hw/net/rocker/rocker_of_dpa.h | 2 ++ hw/net/rocker/rocker_tlv.h | 2 ++ hw/net/rocker/rocker_world.h | 2 ++ hw/net/vmware_utils.h | 2 ++ hw/ppc/ppc405.h | 2 ++ hw/s390x/ipl.h | 2 ++ hw/s390x/s390-pci-inst.h | 2 ++ hw/s390x/s390-virtio.h | 2 ++ hw/scsi/mptsas.h | 2 ++ hw/scsi/viosrp.h | 3 +++ hw/tpm/tpm_int.h | 3 +++ hw/tpm/tpm_tis.h | 3 +++ hw/usb/desc.h | 2 ++ hw/usb/quirks.h | 2 ++ hw/vfio/pci.h | 3 +++ hw/xen/xen_pt.h | 2 ++ hw/xenpv/xen_domainbuild.h | 2 ++ hw/xtensa/bootparam.h | 2 ++ include/block/write-threshold.h | 3 +++ include/disas/disas.h | 2 ++ include/exec/cpu-all.h | 3 +++ include/exec/cpu-defs.h | 3 +++ include/exec/cpu_ldst.h | 2 ++ include/exec/cpu_ldst_template.h | 2 ++ include/exec/cpu_ldst_useronly_template.h | 2 ++ include/exec/cputlb.h | 3 +++ include/exec/exec-all.h | 2 ++ include/exec/gen-icount.h | 2 ++ include/exec/helper-gen.h | 2 ++ include/exec/helper-proto.h | 2 ++ include/exec/helper-tcg.h | 2 ++ include/exec/ioport.h | 2 ++ include/exec/memory-internal.h | 2 ++ include/exec/ram_addr.h | 2 ++ include/exec/softmmu-semi.h | 3 +++ include/exec/tb-hash.h | 2 ++ include/exec/user/abitypes.h | 2 ++ include/exec/user/thunk.h | 3 +++ include/hw/acpi/piix4.h | 2 ++ include/hw/acpi/tco.h | 3 +++ include/hw/arm/allwinner-a10.h | 2 ++ include/hw/arm/bcm2836.h | 2 ++ include/hw/arm/digic.h | 2 ++ include/hw/arm/fsl-imx25.h | 2 ++ include/hw/arm/fsl-imx31.h | 2 ++ include/hw/arm/fsl-imx6.h | 2 ++ include/hw/arm/sharpsl.h | 3 +++ include/hw/arm/xlnx-zynqmp.h | 2 ++ include/hw/block/fdc.h | 2 ++ include/hw/block/flash.h | 2 ++ include/hw/char/escc.h | 2 ++ include/hw/char/pl011.h | 2 ++ include/hw/char/xilinx_uartlite.h | 2 ++ include/hw/cris/etraxfs.h | 2 ++ include/hw/cris/etraxfs_dma.h | 2 ++ include/hw/elf_ops.h | 2 ++ include/hw/empty_slot.h | 2 ++ include/hw/i2c/aspeed_i2c.h | 3 +++ include/hw/i2c/i2c-ddc.h | 2 ++ include/hw/i2c/pm_smbus.h | 2 ++ include/hw/i386/apic_internal.h | 3 +++ include/hw/i386/intel_iommu.h | 6 ++++-- include/hw/i386/ioapic_internal.h | 2 ++ include/hw/input/hid.h | 2 ++ include/hw/intc/allwinner-a10-pic.h | 2 ++ include/hw/isa/i8257.h | 2 ++ include/hw/isa/vt82c686.h | 2 ++ include/hw/kvm/clock.h | 2 ++ include/hw/mips/bios.h | 2 ++ include/hw/mips/cpudevs.h | 2 ++ include/hw/mips/mips.h | 2 ++ include/hw/misc/mips_cmgcr.h | 2 ++ include/hw/misc/mips_cpc.h | 2 ++ include/hw/misc/mips_itu.h | 2 ++ include/hw/net/allwinner_emac.h | 3 +++ include/hw/nvram/openbios_firmware_abi.h | 2 ++ include/hw/pci-host/apb.h | 2 ++ include/hw/pci-host/spapr.h | 3 +++ include/hw/pci/pci_bus.h | 2 ++ include/hw/pci/pcie_aer.h | 2 ++ include/hw/ppc/ppc.h | 2 ++ include/hw/ppc/ppc4xx.h | 2 ++ include/hw/ppc/spapr.h | 2 ++ include/hw/ppc/spapr_cpu_core.h | 3 +++ include/hw/ppc/spapr_drc.h | 3 +++ include/hw/ppc/spapr_vio.h | 2 ++ include/hw/ppc/xics.h | 3 +++ include/hw/sparc/grlib.h | 2 ++ include/hw/sparc/sparc32_dma.h | 2 ++ include/hw/ssi/xilinx_spips.h | 2 ++ include/hw/timer/allwinner-a10-pit.h | 2 ++ include/hw/timer/aspeed_timer.h | 3 +++ include/hw/timer/i8254_internal.h | 2 ++ include/hw/timer/m48t59.h | 2 ++ include/hw/virtio/virtio-access.h | 3 +++ include/hw/virtio/virtio-input.h | 2 ++ include/hw/virtio/virtio-rng.h | 2 ++ include/hw/xen/xen_backend.h | 2 ++ include/hw/xen/xen_common.h | 2 ++ include/libdecnumber/decNumberLocal.h | 2 ++ include/migration/cpu.h | 3 +++ include/monitor/hmp-target.h | 3 +++ include/qemu/compatfd.h | 2 ++ include/qemu/ratelimit.h | 2 ++ include/qemu/thread-win32.h | 2 ++ include/qemu/xattr.h | 3 +++ include/sysemu/balloon.h | 2 ++ include/sysemu/cpus.h | 2 ++ include/sysemu/dump.h | 2 ++ include/sysemu/iothread.h | 2 ++ include/sysemu/kvm_int.h | 2 ++ include/sysemu/memory_mapping.h | 2 ++ include/sysemu/os-posix.h | 2 ++ include/sysemu/os-win32.h | 2 ++ include/sysemu/seccomp.h | 3 +++ include/sysemu/tpm.h | 3 +++ include/sysemu/xen-mapcache.h | 2 ++ include/trace-tcg.h | 2 ++ include/ui/egl-context.h | 2 ++ include/ui/egl-helpers.h | 2 ++ include/ui/gtk.h | 2 ++ include/ui/input.h | 2 ++ include/ui/pixel_ops.h | 2 ++ include/ui/sdl2.h | 2 ++ include/ui/shader.h | 2 ++ include/ui/spice-display.h | 2 ++ linux-headers/asm-arm/kvm.h | 2 ++ linux-headers/asm-arm/kvm_para.h | 2 ++ linux-headers/asm-arm64/kvm.h | 2 ++ linux-headers/asm-arm64/kvm_para.h | 2 ++ linux-headers/asm-arm64/unistd.h | 2 ++ linux-headers/asm-mips/kvm.h | 2 ++ linux-headers/asm-mips/unistd.h | 3 +++ linux-headers/asm-powerpc/kvm.h | 2 ++ linux-headers/asm-powerpc/kvm_para.h | 2 ++ linux-headers/asm-s390/kvm.h | 2 ++ linux-headers/asm-x86/kvm.h | 2 ++ linux-headers/asm-x86/kvm_para.h | 2 ++ linux-headers/asm-x86/unistd.h | 2 ++ linux-headers/linux/kvm.h | 2 ++ linux-headers/linux/kvm_para.h | 2 ++ linux-headers/linux/userfaultfd.h | 2 ++ linux-headers/linux/vfio.h | 3 +++ linux-headers/linux/vhost.h | 2 ++ linux-user/aarch64/target_cpu.h | 3 +++ linux-user/aarch64/target_signal.h | 2 ++ linux-user/aarch64/target_structs.h | 3 +++ linux-user/aarch64/termbits.h | 2 ++ linux-user/alpha/target_cpu.h | 3 +++ linux-user/alpha/target_signal.h | 2 ++ linux-user/alpha/target_structs.h | 3 +++ linux-user/alpha/target_syscall.h | 2 ++ linux-user/alpha/termbits.h | 2 ++ linux-user/arm/nwfpe/fpa11.h | 2 ++ linux-user/arm/nwfpe/fpopcode.h | 2 ++ linux-user/arm/target_cpu.h | 3 +++ linux-user/arm/target_signal.h | 2 ++ linux-user/arm/target_structs.h | 3 +++ linux-user/arm/target_syscall.h | 2 ++ linux-user/arm/termbits.h | 2 ++ linux-user/cris/target_cpu.h | 3 +++ linux-user/cris/target_signal.h | 2 ++ linux-user/cris/target_structs.h | 3 +++ linux-user/cris/termbits.h | 2 ++ linux-user/flat.h | 2 ++ linux-user/host/x86_64/hostdep.h | 2 ++ linux-user/i386/target_cpu.h | 2 ++ linux-user/i386/target_signal.h | 2 ++ linux-user/i386/target_structs.h | 3 +++ linux-user/i386/target_syscall.h | 2 ++ linux-user/i386/termbits.h | 2 ++ linux-user/ioctls.h | 2 ++ linux-user/linux_loop.h | 3 +++ linux-user/m68k/target_cpu.h | 2 ++ linux-user/m68k/target_signal.h | 2 ++ linux-user/m68k/target_structs.h | 3 +++ linux-user/m68k/target_syscall.h | 2 ++ linux-user/m68k/termbits.h | 2 ++ linux-user/microblaze/target_cpu.h | 3 +++ linux-user/microblaze/target_signal.h | 2 ++ linux-user/microblaze/target_structs.h | 3 +++ linux-user/microblaze/termbits.h | 2 ++ linux-user/mips/target_cpu.h | 3 +++ linux-user/mips/target_signal.h | 2 ++ linux-user/mips/target_structs.h | 3 +++ linux-user/mips/target_syscall.h | 2 ++ linux-user/mips/termbits.h | 2 ++ linux-user/mips64/syscall_nr.h | 2 ++ linux-user/mips64/target_cpu.h | 3 +++ linux-user/mips64/target_signal.h | 2 ++ linux-user/mips64/target_structs.h | 2 ++ linux-user/mips64/target_syscall.h | 2 ++ linux-user/mips64/termbits.h | 2 ++ linux-user/openrisc/target_cpu.h | 2 ++ linux-user/openrisc/target_signal.h | 2 ++ linux-user/openrisc/target_structs.h | 3 +++ linux-user/openrisc/target_syscall.h | 2 ++ linux-user/openrisc/termbits.h | 2 ++ linux-user/ppc/syscall_nr.h | 3 +++ linux-user/ppc/target_cpu.h | 3 +++ linux-user/ppc/target_signal.h | 2 ++ linux-user/ppc/target_structs.h | 3 +++ linux-user/ppc/target_syscall.h | 2 ++ linux-user/ppc/termbits.h | 2 ++ linux-user/qemu.h | 2 ++ linux-user/s390x/target_cpu.h | 3 +++ linux-user/s390x/target_signal.h | 2 ++ linux-user/s390x/target_structs.h | 3 +++ linux-user/s390x/target_syscall.h | 2 ++ linux-user/s390x/termbits.h | 2 ++ linux-user/sh4/target_cpu.h | 3 +++ linux-user/sh4/target_signal.h | 2 ++ linux-user/sh4/target_structs.h | 3 +++ linux-user/sh4/termbits.h | 2 ++ linux-user/socket.h | 1 + linux-user/sparc/target_cpu.h | 3 +++ linux-user/sparc/target_signal.h | 2 ++ linux-user/sparc/target_structs.h | 3 +++ linux-user/sparc/target_syscall.h | 2 ++ linux-user/sparc/termbits.h | 2 ++ linux-user/sparc64/target_cpu.h | 2 ++ linux-user/sparc64/target_signal.h | 2 ++ linux-user/sparc64/target_structs.h | 3 +++ linux-user/sparc64/target_syscall.h | 2 ++ linux-user/sparc64/termbits.h | 2 ++ linux-user/syscall_defs.h | 2 ++ linux-user/syscall_types.h | 2 ++ linux-user/tilegx/target_cpu.h | 3 +++ linux-user/tilegx/target_signal.h | 2 ++ linux-user/tilegx/target_structs.h | 3 +++ linux-user/tilegx/target_syscall.h | 2 ++ linux-user/uname.h | 2 ++ linux-user/unicore32/target_cpu.h | 3 +++ linux-user/unicore32/target_signal.h | 3 +++ linux-user/unicore32/target_structs.h | 3 +++ linux-user/unicore32/target_syscall.h | 3 +++ linux-user/unicore32/termbits.h | 3 +++ linux-user/x86_64/target_cpu.h | 2 ++ linux-user/x86_64/target_signal.h | 2 ++ linux-user/x86_64/target_structs.h | 3 +++ linux-user/x86_64/target_syscall.h | 2 ++ linux-user/x86_64/termbits.h | 2 ++ pc-bios/optionrom/optionrom.h | 2 ++ pc-bios/s390-ccw/bootmap.h | 3 +++ pc-bios/s390-ccw/cio.h | 2 ++ pc-bios/s390-ccw/iplb.h | 2 ++ pc-bios/s390-ccw/s390-ccw.h | 2 ++ pc-bios/s390-ccw/scsi.h | 2 ++ pc-bios/s390-ccw/virtio-scsi.h | 2 ++ pc-bios/s390-ccw/virtio.h | 2 ++ qemu-options-wrapper.h | 1 + qga/guest-agent-core.h | 3 +++ qga/service-win32.h | 3 +++ qga/vss-win32/requester.h | 2 ++ qga/vss-win32/vss-common.h | 2 ++ replay/replay-internal.h | 2 ++ scripts/cocci-macro-file.h | 2 ++ scripts/tracetool/format/tcg_h.py | 2 ++ slirp/bootp.h | 3 +++ slirp/ip.h | 2 ++ slirp/ip6_icmp.h | 2 ++ slirp/ip_icmp.h | 2 ++ slirp/main.h | 3 +++ slirp/mbuf.h | 2 ++ slirp/misc.h | 2 ++ slirp/sbuf.h | 2 ++ slirp/socket.h | 2 ++ slirp/tcp.h | 2 ++ slirp/tcp_timer.h | 2 ++ slirp/tcp_var.h | 2 ++ slirp/tcpip.h | 2 ++ slirp/tftp.h | 3 +++ slirp/udp.h | 2 ++ softmmu_template.h | 3 +++ target-alpha/cpu.h | 2 ++ target-alpha/helper.h | 2 ++ target-arm/arm_ldst.h | 2 ++ target-arm/cpu.h | 3 +++ target-arm/helper-a64.h | 3 +++ target-arm/helper.h | 2 ++ target-arm/internals.h | 2 ++ target-arm/kvm_arm.h | 2 ++ target-arm/op_addsub.h | 2 ++ target-arm/translate.h | 2 ++ target-cris/cpu.h | 3 +++ target-cris/helper.h | 2 ++ target-cris/mmu.h | 2 ++ target-i386/cc_helper_template.h | 2 ++ target-i386/cpu-qom.h | 3 +++ target-i386/cpu.h | 3 +++ target-i386/helper.h | 2 ++ target-i386/hyperv.h | 2 ++ target-i386/kvm_i386.h | 2 ++ target-i386/ops_sse.h | 2 ++ target-i386/ops_sse_header.h | 3 +++ target-i386/shift_helper_template.h | 2 ++ target-lm32/cpu.h | 2 ++ target-lm32/helper.h | 2 ++ target-m68k/cpu.h | 3 +++ target-m68k/helper.h | 2 ++ target-microblaze/cpu.h | 3 +++ target-microblaze/helper.h | 2 ++ target-microblaze/mmu.h | 2 ++ target-mips/cpu-qom.h | 3 +++ target-mips/cpu.h | 2 ++ target-mips/helper.h | 2 ++ target-mips/kvm_mips.h | 4 +++- target-mips/mips-defs.h | 2 ++ target-moxie/cpu.h | 3 +++ target-moxie/helper.h | 2 ++ target-moxie/machine.h | 2 ++ target-moxie/mmu.h | 2 ++ target-openrisc/cpu.h | 2 ++ target-openrisc/exception.h | 2 ++ target-openrisc/helper.h | 2 ++ target-ppc/cpu-models.h | 3 +++ target-ppc/cpu-qom.h | 3 +++ target-ppc/cpu.h | 3 +++ target-ppc/helper.h | 2 ++ target-ppc/helper_regs.h | 2 ++ target-ppc/kvm_ppc.h | 2 ++ target-ppc/mmu-hash32.h | 2 ++ target-ppc/mmu-hash64.h | 2 ++ target-s390x/cpu.h | 3 +++ target-s390x/helper.h | 2 ++ target-sh4/cpu.h | 3 +++ target-sh4/helper.h | 2 ++ target-sparc/cpu-qom.h | 3 +++ target-sparc/cpu.h | 2 ++ target-sparc/helper.h | 2 ++ target-tilegx/cpu.h | 3 +++ target-tilegx/helper.h | 2 ++ target-tricore/cpu.h | 3 +++ target-tricore/helper.h | 2 ++ target-tricore/tricore-defs.h | 2 ++ target-tricore/tricore-opcodes.h | 2 ++ target-unicore32/cpu.h | 3 +++ target-unicore32/helper.h | 2 ++ target-xtensa/cpu.h | 2 ++ target-xtensa/helper.h | 2 ++ target-xtensa/overlay_tool.h | 2 ++ tcg/mips/tcg-target.h | 3 +++ tcg/tcg-be-ldst.h | 2 ++ tcg/tcg-be-null.h | 2 ++ tcg/tcg-op.h | 2 ++ tcg/tcg-opc.h | 2 ++ tcg/tcg-runtime.h | 2 ++ tcg/tcg.h | 2 ++ tests/Makefile.include | 27 +++++++++++++++++++++++++-- tests/crypto-tls-x509-helpers.h | 2 ++ tests/multiboot/libc.h | 2 ++ tests/multiboot/multiboot.h | 2 ++ tests/tcg/cris/crisutils.h | 2 ++ tests/tcg/cris/sys.h | 2 ++ tests/tcg/mips/mips64-dsp/io.h | 2 ++ tests/tcg/mips/mips64-dspr2/io.h | 2 ++ tests/tcg/test-i386-muldiv.h | 1 + tests/tcg/test-i386-shift.h | 1 + tests/tcg/test-i386.h | 1 + trace/control-internal.h | 2 ++ trace/mem-internal.h | 2 ++ trace/mem.h | 2 ++ trace/simple.h | 2 ++ translate-all.h | 3 +++ ui/curses_keys.h | 2 ++ ui/sdl2-keymap.h | 1 + ui/sdl_keysym.h | 1 + ui/sdl_zoom.h | 2 ++ ui/sdl_zoom_template.h | 2 ++ ui/vgafont.h | 2 ++ ui/vnc-auth-sasl.h | 2 ++ ui/vnc-auth-vencrypt.h | 2 ++ ui/vnc-enc-hextile-template.h | 2 ++ ui/vnc-jobs.h | 2 ++ ui/vnc-ws.h | 2 ++ ui/vnc_keysym.h | 1 + 448 files changed, 1017 insertions(+), 7 deletions(-)
audio/audio_int.h +3 -0
@@ -21,6 +21,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_AUDIO_INT_H #define QEMU_AUDIO_INT_H
audio/audio_template.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifdef DAC #define NAME "playback"#define HWBUF hw->mix_buf
audio/audio_win_int.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef AUDIO_WIN_INT_H #define AUDIO_WIN_INT_H
audio/dsound_template.h +3 -0
@@ -21,6 +21,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifdef DSBTYPE_IN #define NAME "capture buffer"#define NAME2 "DirectSoundCapture"
audio/mixeng_template.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +/* * Tusen tack till Mike Nordell * dec++'ified by Dscho
audio/rate_template.h +2 -0
@@ -23,6 +23,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +/* * Processed signed long samples from ibuf to obuf. * Return number of samples processed.
block/qcow2.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef BLOCK_QCOW2_H #define BLOCK_QCOW2_H
block/raw-aio.h +3 -0
@@ -12,6 +12,9 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_RAW_AIO_H #define QEMU_RAW_AIO_H
block/vhdx.h +2 -0
@@ -15,6 +15,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef BLOCK_VHDX_H #define BLOCK_VHDX_H
bsd-user/i386/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
bsd-user/i386/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
bsd-user/qemu.h +3 -0
@@ -14,6 +14,9 @@* You should have received a copy of the GNU General Public License * along with this program; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_H #define QEMU_H
bsd-user/sparc/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
bsd-user/sparc/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
bsd-user/sparc64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
bsd-user/sparc64/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
bsd-user/syscall_defs.h +2 -0
@@ -1,6 +1,8 @@/* $OpenBSD: signal.h,v 1.19 2006/01/08 14:20:16 millert Exp $ */ /* $NetBSD: signal.h,v 1.21 1996/02/09 18:25:32 christos Exp $ */ +/* FIXME Does not pass make check-headers, yet! */ +/* * Copyright (c) 1982, 1986, 1989, 1991, 1993 * The Regents of the University of California. All rights reserved.
bsd-user/x86_64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
bsd-user/x86_64/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
contrib/ivshmem-client/ivshmem-client.h +2 -0
@@ -6,6 +6,8 @@* top-level directory. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _IVSHMEM_CLIENT_H_#define _IVSHMEM_CLIENT_H_
contrib/ivshmem-server/ivshmem-server.h +2 -0
@@ -6,6 +6,8 @@* top-level directory. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _IVSHMEM_SERVER_H_#define _IVSHMEM_SERVER_H_
disas/libvixl/vixl/a64/assembler-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_A64_ASSEMBLER_A64_H_ #define VIXL_A64_ASSEMBLER_A64_H_
disas/libvixl/vixl/a64/constants-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_A64_CONSTANTS_A64_H_ #define VIXL_A64_CONSTANTS_A64_H_
disas/libvixl/vixl/a64/cpu-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_CPU_A64_H #define VIXL_CPU_A64_H
disas/libvixl/vixl/a64/decoder-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_A64_DECODER_A64_H_ #define VIXL_A64_DECODER_A64_H_
disas/libvixl/vixl/a64/disasm-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_A64_DISASM_A64_H #define VIXL_A64_DISASM_A64_H
disas/libvixl/vixl/a64/instructions-a64.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_A64_INSTRUCTIONS_A64_H_ #define VIXL_A64_INSTRUCTIONS_A64_H_
disas/libvixl/vixl/code-buffer.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_CODE_BUFFER_H #define VIXL_CODE_BUFFER_H
disas/libvixl/vixl/compiler-intrinsics.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_COMPILER_INTRINSICS_H #define VIXL_COMPILER_INTRINSICS_H
disas/libvixl/vixl/globals.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_GLOBALS_H #define VIXL_GLOBALS_H
disas/libvixl/vixl/invalset.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_INVALSET_H_ #define VIXL_INVALSET_H_
disas/libvixl/vixl/platform.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef PLATFORM_H #define PLATFORM_H
disas/libvixl/vixl/utils.h +2 -0
@@ -24,6 +24,8 @@// OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIXL_UTILS_H #define VIXL_UTILS_H
fpu/softfloat-macros.h +2 -0
@@ -15,6 +15,8 @@* indicated otherwise. */ +/* FIXME Does not pass make check-headers, yet! */ +/* =============================================================================== This C source fragment is part of the SoftFloat IEC/IEEE Floating-point
fpu/softfloat-specialize.h +2 -0
@@ -15,6 +15,8 @@* indicated otherwise. */ +/* FIXME Does not pass make check-headers, yet! */ +/* =============================================================================== This C source fragment is part of the SoftFloat IEC/IEEE Floating-point
fsdev/file-op-9p.h +3 -0
@@ -10,6 +10,9 @@* the COPYING file in the top-level directory. * */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _FILEOP_H#define _FILEOP_H#include <dirent.h>
fsdev/qemu-fsdev.h +3 -0
@@ -10,6 +10,9 @@* the COPYING file in the top-level directory. * */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_FSDEV_H #define QEMU_FSDEV_H #include "qemu/option.h"
hw/9pfs/9p-proxy.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _QEMU_9P_PROXY_H#define _QEMU_9P_PROXY_H
hw/9pfs/9p-synth.h +3 -0
@@ -10,6 +10,9 @@* the COPYING file in the top-level directory. * */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_9PFS_SYNTH_H #define HW_9PFS_SYNTH_H 1
hw/9pfs/9p-xattr.h +3 -0
@@ -10,6 +10,9 @@* the COPYING file in the top-level directory. * */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_9P_XATTR_H#define _QEMU_9P_XATTR_H
hw/9pfs/9p.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _QEMU_9P_H#define _QEMU_9P_H
hw/9pfs/coth.h +2 -0
@@ -12,6 +12,8 @@* */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _QEMU_9P_COTH_H#define _QEMU_9P_COTH_H
hw/9pfs/virtio-9p.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _QEMU_VIRTIO_9P_H#define _QEMU_VIRTIO_9P_H
hw/audio/fmopl.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __FMOPL_H_#define __FMOPL_H_
hw/audio/hda-codec-common.h +2 -0
@@ -20,6 +20,8 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/* * HDA codec descriptions */
hw/audio/lm4549.h +2 -0
@@ -9,6 +9,8 @@* ***************************************************************** */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_LM4549_H #define HW_LM4549_H
hw/block/nvme.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_NVME_H #define HW_NVME_H #include "qemu/cutils.h"
hw/block/xen_blkif.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __XEN_BLKIF_H__#define __XEN_BLKIF_H__
hw/cris/boot.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _CRIS_BOOT_H#define HW_CRIS_BOOT_H 1
hw/display/cirrus_vga_rop.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +static inline void glue (rop_8_ ,ROP_NAME )(uint8_t *dst,uint8_t src) { *dst =ROP_FN (*dst, src);
hw/display/cirrus_vga_rop2.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#if DEPTH ==8 #define PUTPIXEL () ROP_OP(&d[0], col)#elif DEPTH ==16
hw/display/milkymist-vgafb_template.h +2 -0
@@ -18,6 +18,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#if BITS ==8 #define COPY_PIXEL (to, r, g, b) \ do { \
hw/display/omap_lcd_template.h +2 -0
@@ -27,6 +27,8 @@* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* FIXME Does not pass make check-headers, yet! */ +#if DEPTH ==32 # define BPP 4# define PIXEL_TYPE uint32_t
hw/display/pl110_template.h +2 -0
@@ -9,6 +9,8 @@* Framebuffer format conversion routines. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef ORDER #if BITS ==8
hw/display/pxa2xx_template.h +2 -0
@@ -9,6 +9,8 @@* Framebuffer format conversion routines. */ +/* FIXME Does not pass make check-headers, yet! */ +# define SKIP_PIXEL (to) to += deststep#if BITS ==8 # define COPY_PIXEL (to, from) do { *to = from; SKIP_PIXEL(to); } while (0)
hw/display/qxl.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef HW_QXL_H #define HW_QXL_H 1
hw/display/sm501_template.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#if DEPTH ==8 #define BPP 1#define PIXEL_TYPE uint8_t
hw/display/tc6393xb_template.h +2 -0
@@ -21,6 +21,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if BITS ==8 # define SET_PIXEL (addr, color) (*(uint8_t *)addr = color)#elif BITS ==15 ||BITS ==16
hw/display/vga-helpers.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +static inline void vga_draw_glyph_line (uint8_t *d,uint32_t font_data,uint32_t xorcol,uint32_t bgcol) {
hw/display/vga_int.h +3 -0
@@ -21,6 +21,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_VGA_INT_H #define HW_VGA_INT_H 1
hw/i386/intel_iommu_internal.h +4 -2
@@ -9,12 +9,12 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - +* * You should have received a copy of the GNU General Public License along * with this program; if not, see <http://www.gnu.org/licenses/>. *
@@ -25,6 +25,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_I386_INTEL_IOMMU_INTERNAL_H #define HW_I386_INTEL_IOMMU_INTERNAL_H #include "hw/i386/intel_iommu.h"
hw/ide/ahci.h +2 -0
@@ -21,6 +21,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_IDE_AHCI_H #define HW_IDE_AHCI_H
hw/lm32/lm32.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_LM32_H #define HW_LM32_H 1
hw/lm32/lm32_hwsetup.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/* * These are helper functions for creating the hardware description blob used * in the Theobroma's uClinux port.
hw/lm32/milkymist-hw.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HW_MILKYMIST_H #define QEMU_HW_MILKYMIST_H
hw/microblaze/boot.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __MICROBLAZE_BOOT__#define __MICROBLAZE_BOOT__
hw/net/e1000e_core.h +2 -0
@@ -33,6 +33,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#define E1000E_PHY_PAGE_SIZE (0x20)#define E1000E_PHY_PAGES (0x07)#define E1000E_MAC_SIZE (0x8000)
hw/net/e1000x_common.h +2 -0
@@ -22,6 +22,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#include "e1000_regs.h" #define defreg (x) x = (E1000_##x >> 2)
hw/net/ne2000.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_NE2000_H #define HW_NE2000_H 1
hw/net/pcnet.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_PCNET_H #define HW_PCNET_H 1
hw/net/rocker/rocker_desc.h +2 -0
@@ -14,6 +14,8 @@* GNU General Public License for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ROCKER_DESC_H_#define _ROCKER_DESC_H_
hw/net/rocker/rocker_fp.h +2 -0
@@ -14,6 +14,8 @@* GNU General Public License for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ROCKER_FP_H_#define _ROCKER_FP_H_
hw/net/rocker/rocker_of_dpa.h +2 -0
@@ -14,6 +14,8 @@* GNU General Public License for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ROCKER_OF_DPA_H_#define _ROCKER_OF_DPA_H_
hw/net/rocker/rocker_tlv.h +2 -0
@@ -14,6 +14,8 @@* GNU General Public License for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ROCKER_TLV_H_#define _ROCKER_TLV_H_
hw/net/rocker/rocker_world.h +2 -0
@@ -14,6 +14,8 @@* GNU General Public License for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ROCKER_WORLD_H_#define _ROCKER_WORLD_H_
hw/net/vmware_utils.h +2 -0
@@ -14,6 +14,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VMWARE_UTILS_H #define VMWARE_UTILS_H
hw/ppc/ppc405.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(PPC_405_H )#define PPC_405_H
hw/s390x/ipl.h +2 -0
@@ -9,6 +9,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_S390_IPL_H #define HW_S390_IPL_H
hw/s390x/s390-pci-inst.h +2 -0
@@ -11,6 +11,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_S390_PCI_INST_H #define HW_S390_PCI_INST_H
hw/s390x/s390-virtio.h +2 -0
@@ -9,6 +9,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_S390_VIRTIO_H #define HW_S390_VIRTIO_H 1
hw/scsi/mptsas.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MPTSAS_H #define MPTSAS_H
hw/scsi/viosrp.h +3 -0
@@ -31,6 +31,9 @@/* of Linux and other operating systems (AIX, OS/400) that talk this protocol*/ /* between logical partitions */ /*****************************************************************************/ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef PPC_VIOSRP_H #define PPC_VIOSRP_H
hw/tpm/tpm_int.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TPM_TPM_INT_H #define TPM_TPM_INT_H
hw/tpm/tpm_tis.h +3 -0
@@ -14,6 +14,9 @@* http://www.trustedcomputinggroup.org * */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TPM_TPM_TIS_H #define TPM_TPM_TIS_H
hw/usb/desc.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HW_USB_DESC_H #define QEMU_HW_USB_DESC_H
hw/usb/quirks.h +2 -0
@@ -12,6 +12,8 @@* (at your option) any later version. */ +/* FIXME Does not pass make check-headers, yet! */ +/* 1 on 1 copy of linux/drivers/usb/serial/ftdi_sio_ids.h */ #include "quirks-ftdi-ids.h" /* 1 on 1 copy of linux/drivers/usb/serial/pl2303.h */
hw/vfio/pci.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef HW_VFIO_VFIO_PCI_H #define HW_VFIO_VFIO_PCI_H
hw/xen/xen_pt.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef XEN_PT_H #define XEN_PT_H
hw/xenpv/xen_domainbuild.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_HW_XEN_DOMAINBUILD_H #define QEMU_HW_XEN_DOMAINBUILD_H 1
hw/xtensa/bootparam.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_XTENSA_BOOTPARAM #define HW_XTENSA_BOOTPARAM
include/block/write-threshold.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU LGPL, version 2 or later. * See the COPYING.LIB file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef BLOCK_WRITE_THRESHOLD_H #define BLOCK_WRITE_THRESHOLD_H
include/disas/disas.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_DISAS_H#define _QEMU_DISAS_H
include/exec/cpu-all.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_ALL_H #define CPU_ALL_H
include/exec/cpu-defs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_DEFS_H #define CPU_DEFS_H
include/exec/cpu_ldst.h +2 -0
@@ -16,6 +16,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +/* * Generate inline load/store functions for all MMU modes (typically * at least _user and _kernel) as well as _data versions, for all data
include/exec/cpu_ldst_template.h +2 -0
@@ -24,6 +24,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(SOFTMMU_CODE_ACCESS )#include "trace.h" #endif
include/exec/cpu_ldst_useronly_template.h +2 -0
@@ -23,6 +23,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(CODE_ACCESS )#include "trace.h" #endif
include/exec/cputlb.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPUTLB_H #define CPUTLB_H
include/exec/exec-all.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _EXEC_ALL_H_#define _EXEC_ALL_H_
include/exec/gen-icount.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef GEN_ICOUNT_H #define GEN_ICOUNT_H 1
include/exec/helper-gen.h +2 -0
@@ -1,6 +1,8 @@/* Helper file for declaring TCG helper functions. This one expands generation functions for tcg opcodes. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HELPER_GEN_H #define HELPER_GEN_H 1
include/exec/helper-proto.h +2 -0
@@ -1,6 +1,8 @@/* Helper file for declaring TCG helper functions. This one expands prototypes for the helper functions. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HELPER_PROTO_H #define HELPER_PROTO_H 1
include/exec/helper-tcg.h +2 -0
@@ -1,6 +1,8 @@/* Helper file for declaring TCG helper functions. This one defines data structures private to tcg.c. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HELPER_TCG_H #define HELPER_TCG_H 1
include/exec/ioport.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/************************************************************************** * IO ports API */
include/exec/memory-internal.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +/* * This header is for use by exec.c and memory.c ONLY. Do not include it. * The functions declared here will be removed soon.
include/exec/ram_addr.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +/* * This header is for use by exec.c and memory.c ONLY. Do not include it. * The functions declared here will be removed soon.
include/exec/softmmu-semi.h +3 -0
@@ -6,6 +6,9 @@* * This code is licensed under the GPL */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SOFTMMU_SEMI_H #define SOFTMMU_SEMI_H 1
include/exec/tb-hash.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef EXEC_TB_HASH #define EXEC_TB_HASH
include/exec/user/abitypes.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_TYPES_H #define QEMU_TYPES_H #include "cpu.h"
include/exec/user/thunk.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef THUNK_H #define THUNK_H
include/hw/acpi/piix4.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_ACPI_PIIX4_H #define HW_ACPI_PIIX4_H
include/hw/acpi/tco.h +3 -0
@@ -6,6 +6,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_ACPI_TCO_H #define HW_ACPI_TCO_H
include/hw/arm/allwinner-a10.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef ALLWINNER_H_ #include "qemu-common.h"
include/hw/arm/bcm2836.h +2 -0
@@ -8,6 +8,8 @@* This code is licensed under the GNU GPLv2 and later. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef BCM2836_H #define BCM2836_H
include/hw/arm/digic.h +2 -0
@@ -15,6 +15,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_ARM_DIGIC_H #define HW_ARM_DIGIC_H
include/hw/arm/fsl-imx25.h +2 -0
@@ -14,6 +14,8 @@* for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef FSL_IMX25_H #define FSL_IMX25_H
include/hw/arm/fsl-imx31.h +2 -0
@@ -14,6 +14,8 @@* for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef FSL_IMX31_H #define FSL_IMX31_H
include/hw/arm/fsl-imx6.h +2 -0
@@ -14,6 +14,8 @@* for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef FSL_IMX6_H #define FSL_IMX6_H
include/hw/arm/sharpsl.h +3 -0
@@ -3,6 +3,9 @@* * This file is licensed under the GNU GPL. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_SHARPSL_H #define QEMU_SHARPSL_H
include/hw/arm/xlnx-zynqmp.h +2 -0
@@ -15,6 +15,8 @@* for more details. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef XLNX_ZYNQMP_H #include "qemu-common.h"
include/hw/block/fdc.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_FDC_H #define HW_FDC_H
include/hw/block/flash.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_FLASH_H #define HW_FLASH_H 1
include/hw/char/escc.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_ESCC_H #define HW_ESCC_H 1
include/hw/char/pl011.h +2 -0
@@ -12,6 +12,8 @@* this program. If not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef PL011_UART_H #define PL011_UART_H
include/hw/char/xilinx_uartlite.h +2 -0
@@ -12,6 +12,8 @@* this program. If not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef XILINX_UARTLITE_H #define XILINX_UARTLITE_H
include/hw/cris/etraxfs.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_EXTRAXFS_H #define HW_EXTRAXFS_H 1
include/hw/cris/etraxfs_dma.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_ETRAXFS_DMA_H #define HW_ETRAXFS_DMA_H 1
include/hw/elf_ops.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +static void glue (bswap_ehdr ,SZ )(struct elfhdr *ehdr) {bswap16s (&ehdr->e_type);/* Object file type */
include/hw/empty_slot.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_EMPTY_SLOT_H #define HW_EMPTY_SLOT_H 1
include/hw/i2c/aspeed_i2c.h +3 -0
@@ -17,6 +17,9 @@* with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef ASPEED_I2C_H #define ASPEED_I2C_H
include/hw/i2c/i2c-ddc.h +2 -0
@@ -16,6 +16,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef I2C_DDC #define I2C_DDC
include/hw/i2c/pm_smbus.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef PM_SMBUS_H #define PM_SMBUS_H
include/hw/i386/apic_internal.h +3 -0
@@ -17,6 +17,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/> */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_APIC_INTERNAL_H #define QEMU_APIC_INTERNAL_H
include/hw/i386/intel_iommu.h +4 -2
@@ -9,16 +9,18 @@* it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - +* * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - +* * You should have received a copy of the GNU General Public License along * with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef INTEL_IOMMU_H #define INTEL_IOMMU_H #include "hw/qdev.h"
include/hw/i386/ioapic_internal.h +2 -0
@@ -19,6 +19,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_IOAPIC_INTERNAL_H #define QEMU_IOAPIC_INTERNAL_H
include/hw/input/hid.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HID_H #define QEMU_HID_H
include/hw/intc/allwinner-a10-pic.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef AW_A10_PIC_H #define AW_A10_PIC_H
include/hw/isa/i8257.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_I8257_H #define HW_I8257_H
include/hw/isa/vt82c686.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_VT82C686_H #define HW_VT82C686_H
include/hw/kvm/clock.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifdef CONFIG_KVM void kvmclock_create (void );
include/hw/mips/bios.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#include "cpu.h" #define BIOS_SIZE (4 * 1024 * 1024)
include/hw/mips/cpudevs.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_MIPS_CPUDEVS_H #define HW_MIPS_CPUDEVS_H
include/hw/mips/mips.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_MIPS_H #define HW_MIPS_H /* Definitions for mips board emulation. */
include/hw/misc/mips_cmgcr.h +2 -0
@@ -7,6 +7,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _MIPS_GCR_H#define _MIPS_GCR_H
include/hw/misc/mips_cpc.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MIPS_CPC_H #define MIPS_CPC_H
include/hw/misc/mips_itu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MIPS_ITU_H #define MIPS_ITU_H
include/hw/net/allwinner_emac.h +3 -0
@@ -19,6 +19,9 @@* GNU General Public License for more details. * */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef AW_EMAC_H #define AW_EMAC_H
include/hw/nvram/openbios_firmware_abi.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef FIRMWARE_ABI_H #define FIRMWARE_ABI_H
include/hw/pci-host/apb.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef APB_PCI_H #define APB_PCI_H
include/hw/pci-host/spapr.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__HW_SPAPR_H__)#error Please include spapr.h before this file!#endif
include/hw/pci/pci_bus.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_PCI_BUS_H #define QEMU_PCI_BUS_H
include/hw/pci/pcie_aer.h +2 -0
@@ -18,6 +18,8 @@* with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_PCIE_AER_H #define QEMU_PCIE_AER_H
include/hw/ppc/ppc.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_PPC_H #define HW_PPC_H 1
include/hw/ppc/ppc4xx.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(PPC_4XX_H )#define PPC_4XX_H
include/hw/ppc/spapr.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__HW_SPAPR_H__)#define __HW_SPAPR_H__
include/hw/ppc/spapr_cpu_core.h +3 -0
@@ -6,6 +6,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HW_SPAPR_CPU_CORE_H #define HW_SPAPR_CPU_CORE_H
include/hw/ppc/spapr_drc.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#if !defined(__HW_SPAPR_DRC_H__)#define __HW_SPAPR_DRC_H__
include/hw/ppc/spapr_vio.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _HW_SPAPR_VIO_H#define _HW_SPAPR_VIO_H/*
include/hw/ppc/xics.h +3 -0
@@ -24,6 +24,9 @@* THE SOFTWARE. * */ + +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__XICS_H__)#define __XICS_H__
include/hw/sparc/grlib.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _GRLIB_H_#define _GRLIB_H_
include/hw/sparc/sparc32_dma.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SPARC32_DMA_H #define SPARC32_DMA_H
include/hw/ssi/xilinx_spips.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef XLNX_SPIPS_H #define XLNX_SPIPS_H
include/hw/timer/allwinner-a10-pit.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef AW_A10_PIT_H #define AW_A10_PIT_H
include/hw/timer/aspeed_timer.h +3 -0
@@ -19,6 +19,9 @@* with this program; if not, write to the Free Software Foundation, Inc., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef ASPEED_TIMER_H #define ASPEED_TIMER_H
include/hw/timer/i8254_internal.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_I8254_INTERNAL_H #define QEMU_I8254_INTERNAL_H
include/hw/timer/m48t59.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef NVRAM_H #define NVRAM_H
include/hw/virtio/virtio-access.h +3 -0
@@ -12,6 +12,9 @@* (at your option) any later version. * */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_VIRTIO_ACCESS_H#define _QEMU_VIRTIO_ACCESS_H#include "hw/virtio/virtio.h"
include/hw/virtio/virtio-input.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_VIRTIO_INPUT_H#define _QEMU_VIRTIO_INPUT_H
include/hw/virtio/virtio-rng.h +2 -0
@@ -9,6 +9,8 @@* top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_VIRTIO_RNG_H#define _QEMU_VIRTIO_RNG_H
include/hw/xen/xen_backend.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_HW_XEN_BACKEND_H #define QEMU_HW_XEN_BACKEND_H 1
include/hw/xen/xen_common.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_HW_XEN_COMMON_H #define QEMU_HW_XEN_COMMON_H 1
include/libdecnumber/decNumberLocal.h +2 -0
@@ -28,6 +28,8 @@Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +/* FIXME Does not pass make check-headers, yet! */ +/* ------------------------------------------------------------------ */ /* decNumber package local type, tuning, and macro definitions */ /* ------------------------------------------------------------------ */
include/migration/cpu.h +3 -0
@@ -1,4 +1,7 @@/* Declarations for use for CPU state serialization. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MIGRATION_CPU_H #define MIGRATION_CPU_H
include/monitor/hmp-target.h +3 -0
@@ -21,6 +21,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MONITOR_COMMON_H #define MONITOR_COMMON_H
include/qemu/compatfd.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_COMPATFD_H #define QEMU_COMPATFD_H
include/qemu/ratelimit.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_RATELIMIT_H #define QEMU_RATELIMIT_H 1
include/qemu/thread-win32.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __QEMU_THREAD_WIN32_H#define __QEMU_THREAD_WIN32_H 1#include "windows.h"
include/qemu/xattr.h +3 -0
@@ -10,6 +10,9 @@* later version. See the COPYING file in the top-level directory. * */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_XATTR_H #define QEMU_XATTR_H
include/sysemu/balloon.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _QEMU_BALLOON_H#define _QEMU_BALLOON_H
include/sysemu/cpus.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_CPUS_H #define QEMU_CPUS_H
include/sysemu/dump.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef DUMP_H #define DUMP_H
include/sysemu/iothread.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef IOTHREAD_H #define IOTHREAD_H
include/sysemu/kvm_int.h +2 -0
@@ -6,6 +6,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_KVM_INT_H #define QEMU_KVM_INT_H
include/sysemu/memory_mapping.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef MEMORY_MAPPING_H #define MEMORY_MAPPING_H
include/sysemu/os-posix.h +2 -0
@@ -23,6 +23,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_OS_POSIX_H #define QEMU_OS_POSIX_H
include/sysemu/os-win32.h +2 -0
@@ -23,6 +23,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_OS_WIN32_H #define QEMU_OS_WIN32_H
include/sysemu/seccomp.h +3 -0
@@ -12,6 +12,9 @@* Contributions after 2012-01-13 are licensed under the terms of the * GNU GPL, version 2 or (at your option) any later version. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_SECCOMP_H #define QEMU_SECCOMP_H
include/sysemu/tpm.h +3 -0
@@ -9,6 +9,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_TPM_H #define QEMU_TPM_H
include/sysemu/xen-mapcache.h +2 -0
@@ -6,6 +6,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef XEN_MAPCACHE_H #define XEN_MAPCACHE_H
include/trace-tcg.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TRACE_TCG_H #define TRACE_TCG_H
include/ui/egl-context.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef EGL_CONTEXT_H #define EGL_CONTEXT_H
include/ui/egl-helpers.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef EGL_HELPERS_H #define EGL_HELPERS_H
include/ui/gtk.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef UI_GTK_H #define UI_GTK_H
include/ui/input.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef INPUT_H #define INPUT_H
include/ui/pixel_ops.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +static inline unsigned int rgb_to_pixel8 (unsigned int r,unsigned int g,unsigned int b) {
include/ui/sdl2.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SDL2_H #define SDL2_H
include/ui/shader.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_SHADER_H #define QEMU_SHADER_H
include/ui/spice-display.h +2 -0
@@ -15,6 +15,8 @@* along with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#include <spice/ipc_ring.h> #include <spice/enums.h> #include <spice/qxl_dev.h>
linux-headers/asm-arm/kvm.h +2 -0
@@ -16,6 +16,8 @@* Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __ARM_KVM_H__#define __ARM_KVM_H__
linux-headers/asm-arm/kvm_para.h +2 -0
@@ -1 +1,3 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#include <asm-generic/kvm_para.h>
linux-headers/asm-arm64/kvm.h +2 -0
@@ -19,6 +19,8 @@* along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __ARM_KVM_H__#define __ARM_KVM_H__
linux-headers/asm-arm64/kvm_para.h +2 -0
@@ -1 +1,3 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#include <asm-generic/kvm_para.h>
linux-headers/asm-arm64/unistd.h +2 -0
@@ -14,6 +14,8 @@* along with this program. If not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#define __ARCH_WANT_RENAMEAT#include <asm-generic/unistd.h>
linux-headers/asm-mips/kvm.h +2 -0
@@ -8,6 +8,8 @@* Authors: Sanjay Lal <[email protected]> */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __LINUX_KVM_MIPS_H#define __LINUX_KVM_MIPS_H
linux-headers/asm-mips/unistd.h +3 -0
@@ -9,6 +9,9 @@* Changed system calls macros _syscall5 - _syscall7 to push args 5 to 7 onto * the stack. Robin Farine for ACN S.A, Copyright (C) 1996 by ACN S.A */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _ASM_UNISTD_H#define _ASM_UNISTD_H
linux-headers/asm-powerpc/kvm.h +2 -0
@@ -17,6 +17,8 @@* Authors: Hollis Blanchard <[email protected]> */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __LINUX_KVM_POWERPC_H#define __LINUX_KVM_POWERPC_H
linux-headers/asm-powerpc/kvm_para.h +2 -0
@@ -17,6 +17,8 @@* Authors: Hollis Blanchard <[email protected]> */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __POWERPC_KVM_PARA_H__#define __POWERPC_KVM_PARA_H__
linux-headers/asm-s390/kvm.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __LINUX_KVM_S390_H#define __LINUX_KVM_S390_H/*
linux-headers/asm-x86/kvm.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _ASM_X86_KVM_H#define _ASM_X86_KVM_H
linux-headers/asm-x86/kvm_para.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _ASM_X86_KVM_PARA_H#define _ASM_X86_KVM_PARA_H
linux-headers/asm-x86/unistd.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _ASM_X86_UNISTD_H#define _ASM_X86_UNISTD_H
linux-headers/linux/kvm.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __LINUX_KVM_H#define __LINUX_KVM_H
linux-headers/linux/kvm_para.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef __LINUX_KVM_PARA_H#define __LINUX_KVM_PARA_H
linux-headers/linux/userfaultfd.h +2 -0
@@ -6,6 +6,8 @@* */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _LINUX_USERFAULTFD_H#define _LINUX_USERFAULTFD_H
linux-headers/linux/vfio.h +3 -0
@@ -8,6 +8,9 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef VFIO_H #define VFIO_H
linux-headers/linux/vhost.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _LINUX_VHOST_H#define _LINUX_VHOST_H/* Userspace interface for in-kernel virtio accelerators. */
linux-user/aarch64/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/aarch64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/aarch64/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/aarch64/termbits.h +2 -0
@@ -1,6 +1,8 @@/* from asm/termbits.h */ /* NOTE: exactly the same as i386 */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/alpha/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/alpha/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/alpha/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/alpha/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/alpha/termbits.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +typedef unsigned char target_cc_t ;typedef unsigned int target_speed_t ;typedef unsigned int target_tcflag_t ;
linux-user/arm/nwfpe/fpa11.h +2 -0
@@ -18,6 +18,8 @@along with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __FPA11_H__#define __FPA11_H__
linux-user/arm/nwfpe/fpopcode.h +2 -0
@@ -18,6 +18,8 @@along with this program; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __FPOPCODE_H__#define __FPOPCODE_H__
linux-user/arm/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/arm/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/arm/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/arm/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/arm/termbits.h +2 -0
@@ -1,6 +1,8 @@/* from asm/termbits.h */ /* NOTE: exactly the same as i386 */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/cris/target_cpu.h +3 -0
@@ -17,6 +17,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/cris/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/cris/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/cris/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/flat.h +2 -0
@@ -7,6 +7,8 @@* support uClinux flat-format executables. */ +/* FIXME Does not pass make check-headers, yet! */ +#define FLAT_VERSION 0x00000004L#ifdef CONFIG_BINFMT_SHARED_FLAT
linux-user/host/x86_64/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
linux-user/i386/target_cpu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/i386/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/i386/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/i386/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/i386/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/ioctls.h +2 -0
@@ -1,5 +1,7 @@/* emulated ioctl list */ +/* FIXME Does not pass make check-headers, yet! */ + IOCTL(TCGETS, IOC_R, MK_PTR(MK_STRUCT(STRUCT_termios))) IOCTL(TCSETS, IOC_W, MK_PTR(MK_STRUCT(STRUCT_termios)))IOCTL (TCSETSF ,IOC_W ,MK_PTR (MK_STRUCT (STRUCT_termios)))
linux-user/linux_loop.h +3 -0
@@ -1,4 +1,7 @@/* Copied from 2.6.25 kernel headers to avoid problems on older hosts. */ + +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef _LINUX_LOOP_H#define _LINUX_LOOP_H
linux-user/m68k/target_cpu.h +2 -0
@@ -18,6 +18,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/m68k/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/m68k/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/m68k/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/m68k/termbits.h +2 -0
@@ -1,6 +1,8 @@/* from asm/termbits.h */ /* NOTE: exactly the same as i386 */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/microblaze/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/microblaze/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/microblaze/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/microblaze/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/mips/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/mips/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/mips/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/mips/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/mips/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 23struct target_termios {
linux-user/mips64/syscall_nr.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifdef TARGET_ABI32 /* * Linux N32 syscalls are in the range from 6000 to 6999.
linux-user/mips64/target_cpu.h +3 -0
@@ -16,4 +16,7 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#include "../mips/target_cpu.h"
linux-user/mips64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/mips64/target_structs.h +2 -0
@@ -1,2 +1,4 @@ +/* FIXME Does not pass make check-headers, yet! */ +#include "../mips/target_structs.h"
linux-user/mips64/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/mips64/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 23struct target_termios {
linux-user/openrisc/target_cpu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/openrisc/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/openrisc/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/openrisc/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/openrisc/termbits.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +typedef unsigned char target_openrisc_cc ;/*cc_t*/ typedef unsigned int target_openrisc_speed ;/*speed_t*/ typedef unsigned int target_openrisc_tcflag ;/*tcflag_t*/
linux-user/ppc/syscall_nr.h +3 -0
@@ -1,6 +1,9 @@/* * This file contains the system call numbers. */ + +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NR_restart_syscall 0#define TARGET_NR_exit 1#define TARGET_NR_fork 2
linux-user/ppc/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/ppc/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/ppc/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/ppc/target_syscall.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/ppc/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/qemu.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_H #define QEMU_H
linux-user/s390x/target_cpu.h +3 -0
@@ -19,6 +19,9 @@* You should have received a copy of the GNU (Lesser) General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/s390x/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/s390x/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/s390x/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/s390x/termbits.h +2 -0
@@ -6,6 +6,8 @@* Derived from "include/asm-i386/termbits.h" */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {unsigned int c_iflag;/* input mode flags */
linux-user/sh4/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/sh4/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/sh4/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/sh4/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/socket.h +1 -0
@@ -1,3 +1,4 @@ +/* FIXME Does not pass make check-headers, yet! */ #if defined(TARGET_MIPS )/* MIPS special values for constants */
linux-user/sparc/target_cpu.h +3 -0
@@ -17,6 +17,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/sparc/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/sparc/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/sparc/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/sparc/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/sparc64/target_cpu.h +2 -0
@@ -1 +1,3 @@ +/* FIXME Does not pass make check-headers, yet! */ +#include "../sparc/target_cpu.h"
linux-user/sparc64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/sparc64/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/sparc64/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/sparc64/termbits.h +2 -0
@@ -1,5 +1,7 @@/* from asm/termbits.h */ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19struct target_termios {
linux-user/syscall_defs.h +2 -0
@@ -1,5 +1,7 @@/* common syscall defines for all architectures */ +/* FIXME Does not pass make check-headers, yet! */ +/* Note: although the syscall numbers change between architectures, most of them stay the same, so we handle it by putting ifdefs if necessary */
linux-user/syscall_types.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + STRUCT_SPECIAL(termios) STRUCT(winsize,
linux-user/tilegx/target_cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/tilegx/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/tilegx/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/tilegx/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TILEGX_SYSCALLS_H #define TILEGX_SYSCALLS_H
linux-user/uname.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */ +#ifndef UNAME_H #define UNAME_H 1
linux-user/unicore32/target_cpu.h +3 -0
@@ -8,6 +8,9 @@* published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_CPU_H #define TARGET_CPU_H
linux-user/unicore32/target_signal.h +3 -0
@@ -5,6 +5,9 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/unicore32/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/unicore32/target_syscall.h +3 -0
@@ -5,6 +5,9 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __UC32_SYSCALL_H__#define __UC32_SYSCALL_H__ struct target_pt_regs {
linux-user/unicore32/termbits.h +3 -0
@@ -1,2 +1,5 @@/* NOTE: exactly the same as i386 */ + +/* FIXME Does not pass make check-headers, yet! */ +#include "../i386/termbits.h"
linux-user/x86_64/target_cpu.h +2 -0
@@ -1 +1,3 @@ +/* FIXME Does not pass make check-headers, yet! */ +#include "../i386/target_cpu.h"
linux-user/x86_64/target_signal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SIGNAL_H #define TARGET_SIGNAL_H
linux-user/x86_64/target_structs.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_STRUCTS_H #define TARGET_STRUCTS_H
linux-user/x86_64/target_syscall.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SYSCALL_H #define TARGET_SYSCALL_H
linux-user/x86_64/termbits.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#define TARGET_NCCS 19typedef unsigned char target_cc_t ;
pc-bios/optionrom/optionrom.h +2 -0
@@ -18,6 +18,8 @@* Authors: Alexander Graf <[email protected]> */ +/* FIXME Does not pass make check-headers, yet! */ +#include "../../include/hw/nvram/fw_cfg_keys.h"
pc-bios/s390-ccw/bootmap.h +3 -0
@@ -8,6 +8,9 @@* your option) any later version. See the COPYING file in the top-level * directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _PC_BIOS_S390_CCW_BOOTMAP_H#define _PC_BIOS_S390_CCW_BOOTMAP_H
pc-bios/s390-ccw/cio.h +2 -0
@@ -10,6 +10,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CIO_H #define CIO_H
pc-bios/s390-ccw/iplb.h +2 -0
@@ -9,6 +9,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef IPLB_H #define IPLB_H
pc-bios/s390-ccw/s390-ccw.h +2 -0
@@ -8,6 +8,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef S390_CCW_H #define S390_CCW_H
pc-bios/s390-ccw/scsi.h +2 -0
@@ -9,6 +9,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SCSI_H #define SCSI_H
pc-bios/s390-ccw/virtio-scsi.h +2 -0
@@ -9,6 +9,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIRTIO_SCSI_H #define VIRTIO_SCSI_H
pc-bios/s390-ccw/virtio.h +2 -0
@@ -8,6 +8,8 @@* directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VIRTIO_H #define VIRTIO_H
qemu-options-wrapper.h +1 -0
@@ -1,3 +1,4 @@ +/* FIXME Does not pass make check-headers, yet! */ #if defined(QEMU_OPTIONS_GENERATE_ENUM )
qga/guest-agent-core.h +3 -0
@@ -10,6 +10,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#include "qapi/qmp/dispatch.h" #include "qemu-common.h" #include "qga-qmp-commands.h"
qga/service-win32.h +3 -0
@@ -10,6 +10,9 @@* This work is licensed under the terms of the GNU GPL, version 2 or later. * See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QGA_SERVICE_H #define QGA_SERVICE_H
qga/vss-win32/requester.h +2 -0
@@ -10,6 +10,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VSS_WIN32_REQUESTER_H #define VSS_WIN32_REQUESTER_H
qga/vss-win32/vss-common.h +2 -0
@@ -10,6 +10,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef VSS_WIN32_H #define VSS_WIN32_H
replay/replay-internal.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef REPLAY_INTERNAL_H #define REPLAY_INTERNAL_H
scripts/cocci-macro-file.h +2 -0
@@ -9,6 +9,8 @@* option, any later version. See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +/* Coccinelle only does limited parsing of headers, and chokes on some idioms * defined in compiler.h and queue.h. Macros that Coccinelle must know about * in order to parse .c files must be in a separate macro file---which is
scripts/tracetool/format/tcg_h.py +2 -0
@@ -31,6 +31,8 @@ def generate(events, backend): out('/* This file is autogenerated by tracetool, do not edit. */', '/* You must include this file after the inclusion of helper.h */', '', + '/* FIXME Does not pass make check-headers, yet! */', + '', '#ifndef TRACE__GENERATED_TCG_TRACERS_H', '#define TRACE__GENERATED_TCG_TRACERS_H', '',
slirp/bootp.h +3 -0
@@ -1,4 +1,7 @@/* bootp/dhcp defines */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SLIRP_BOOTP_H #define SLIRP_BOOTP_H 1
slirp/ip.h +2 -0
@@ -30,6 +30,8 @@* ip.h,v 1.3 1994/08/21 05:27:30 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _IP_H_#define _IP_H_
slirp/ip6_icmp.h +2 -0
@@ -3,6 +3,8 @@* Guillaume Subiron, Yann Bordenave, Serigne Modou Wagne. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SLIRP_NETINET_ICMP6_H_ #define SLIRP_NETINET_ICMP6_H_
slirp/ip_icmp.h +2 -0
@@ -30,6 +30,8 @@* ip_icmp.h,v 1.4 1995/05/30 08:09:43 rgrimes Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _NETINET_IP_ICMP_H_#define _NETINET_IP_ICMP_H_
slirp/main.h +3 -0
@@ -4,6 +4,9 @@* Please read the file COPYRIGHT for the * terms and conditions of the copyright. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SLIRP_MAIN_H #define SLIRP_MAIN_H 1
slirp/mbuf.h +2 -0
@@ -30,6 +30,8 @@* mbuf.h,v 1.9 1994/11/14 13:54:20 bde Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _MBUF_H_#define _MBUF_H_
slirp/misc.h +2 -0
@@ -5,6 +5,8 @@* terms and conditions of the copyright. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _MISC_H_#define _MISC_H_
slirp/sbuf.h +2 -0
@@ -5,6 +5,8 @@* terms and conditions of the copyright. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _SBUF_H_#define _SBUF_H_
slirp/socket.h +2 -0
@@ -5,6 +5,8 @@* terms and conditions of the copyright. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _SLIRP_SOCKET_H_#define _SLIRP_SOCKET_H_
slirp/tcp.h +2 -0
@@ -30,6 +30,8 @@* tcp.h,v 1.3 1994/08/21 05:27:34 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _TCP_H_#define _TCP_H_
slirp/tcp_timer.h +2 -0
@@ -30,6 +30,8 @@* tcp_timer.h,v 1.4 1994/08/21 05:27:38 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _TCP_TIMER_H_#define _TCP_TIMER_H_
slirp/tcp_var.h +2 -0
@@ -30,6 +30,8 @@* tcp_var.h,v 1.3 1994/08/21 05:27:39 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _TCP_VAR_H_#define _TCP_VAR_H_
slirp/tcpip.h +2 -0
@@ -30,6 +30,8 @@* tcpip.h,v 1.3 1994/08/21 05:27:40 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _TCPIP_H_#define _TCPIP_H_
slirp/tftp.h +3 -0
@@ -1,4 +1,7 @@/* tftp defines */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef SLIRP_TFTP_H #define SLIRP_TFTP_H 1
slirp/udp.h +2 -0
@@ -30,6 +30,8 @@* udp.h,v 1.3 1994/08/21 05:27:41 paul Exp */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _UDP_H_#define _UDP_H_
softmmu_template.h +3 -0
@@ -21,6 +21,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#include "qemu/timer.h" #include "exec/address-spaces.h" #include "exec/memory.h"
target-alpha/cpu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__CPU_ALPHA_H__)#define __CPU_ALPHA_H__
target-alpha/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_3(excp, noreturn, env, int, int)DEF_HELPER_FLAGS_1 (load_pcc,TCG_CALL_NO_RWG_SE , i64, env)
target-arm/arm_ldst.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef ARM_LDST_H #define ARM_LDST_H
target-arm/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_ARM_H #define CPU_ARM_H
target-arm/helper-a64.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_FLAGS_2(udiv64, TCG_CALL_NO_RWG_SE, i64, i64, i64) DEF_HELPER_FLAGS_2(sdiv64, TCG_CALL_NO_RWG_SE, s64, s64, s64)DEF_HELPER_FLAGS_1 (clz64,TCG_CALL_NO_RWG_SE , i64, i64)
target-arm/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_FLAGS_1(clz, TCG_CALL_NO_RWG_SE, i32, i32) DEF_HELPER_FLAGS_1(sxtb16, TCG_CALL_NO_RWG_SE, i32, i32)DEF_HELPER_FLAGS_1 (uxtb16,TCG_CALL_NO_RWG_SE , i32, i32)
target-arm/internals.h +2 -0
@@ -22,6 +22,8 @@* private to it and not required by the rest of QEMU. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_ARM_INTERNALS_H #define TARGET_ARM_INTERNALS_H
target-arm/kvm_arm.h +2 -0
@@ -8,6 +8,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_KVM_ARM_H #define QEMU_KVM_ARM_H
target-arm/op_addsub.h +2 -0
@@ -7,6 +7,8 @@* This code is licensed under the GPL. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifdef ARITH_GE #define GE_ARG , void *gep#define DECLARE_GE uint32_t ge = 0
target-arm/translate.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_ARM_TRANSLATE_H #define TARGET_ARM_TRANSLATE_H
target-cris/cpu.h +3 -0
@@ -17,6 +17,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_CRIS_H #define CPU_CRIS_H
target-cris/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(raise_exception, void, env, i32) DEF_HELPER_2(tlb_flush_pid, void, env, i32)DEF_HELPER_2 (spc_write, void, env, i32)
target-cris/mmu.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#define CRIS_MMU_ERR_EXEC 0#define CRIS_MMU_ERR_READ 1#define CRIS_MMU_ERR_WRITE 2
target-i386/cc_helper_template.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#define DATA_BITS (1 << (3 + SHIFT))#if DATA_BITS ==8
target-i386/cpu-qom.h +3 -0
@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_I386_CPU_QOM_H #define QEMU_I386_CPU_QOM_H
target-i386/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_I386_H #define CPU_I386_H
target-i386/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_FLAGS_4(cc_compute_all, TCG_CALL_NO_RWG_SE, tl, tl, tl, tl, int)DEF_HELPER_FLAGS_4 (cc_compute_c,TCG_CALL_NO_RWG_SE , tl, tl, tl, tl, int)
target-i386/hyperv.h +2 -0
@@ -11,6 +11,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef HYPERV_I386_H #define HYPERV_I386_H
target-i386/kvm_i386.h +2 -0
@@ -8,6 +8,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_KVM_I386_H #define QEMU_KVM_I386_H
target-i386/ops_sse.h +2 -0
@@ -18,6 +18,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#include "crypto/aes.h" #if SHIFT ==0
target-i386/ops_sse_header.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#if SHIFT ==0 #define Reg MMXReg#define SUFFIX _mmx
target-i386/shift_helper_template.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#define DATA_BITS (1 << (3 + SHIFT))#define SHIFT_MASK (DATA_BITS - 1)#if DATA_BITS <=32
target-lm32/cpu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_LM32_H #define CPU_LM32_H
target-lm32/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(raise_exception, void, env, i32) DEF_HELPER_1(hlt, void, env)DEF_HELPER_3 (wcsr_bp, void, env, i32, i32)
target-m68k/cpu.h +3 -0
@@ -17,6 +17,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_M68K_H #define CPU_M68K_H
target-m68k/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_1(bitrev, i32, i32) DEF_HELPER_1(ff1, i32, i32)DEF_HELPER_2 (sats, i32, i32, i32)
target-microblaze/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_MICROBLAZE_H #define CPU_MICROBLAZE_H
target-microblaze/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(raise_exception, void, env, i32) DEF_HELPER_1(debug, void, env)DEF_HELPER_FLAGS_3 (carry,TCG_CALL_NO_RWG_SE , i32, i32, i32, i32)
target-microblaze/mmu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#define MMU_R_PID 0#define MMU_R_ZPR 1#define MMU_R_TLBX 2
target-mips/cpu-qom.h +3 -0
@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_MIPS_CPU_QOM_H #define QEMU_MIPS_CPU_QOM_H
target-mips/cpu.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__MIPS_CPU_H__)#define __MIPS_CPU_H__
target-mips/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_3(raise_exception_err, noreturn, env, i32, int) DEF_HELPER_2(raise_exception, noreturn, env, i32)DEF_HELPER_1 (raise_exception_debug, noreturn, env)
target-mips/kvm_mips.h +3 -1
@@ -7,7 +7,9 @@* * Copyright (C) 2012-2014 Imagination Technologies Ltd. * Authors: Sanjay Lal <[email protected]> -*/ +*/ + +/* FIXME Does not pass make check-headers, yet! */ #ifndef __KVM_MIPS_H__#define __KVM_MIPS_H__
target-mips/mips-defs.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__QEMU_MIPS_DEFS_H__)#define __QEMU_MIPS_DEFS_H__
target-moxie/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _CPU_MOXIE_H#define _CPU_MOXIE_H
target-moxie/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(raise_exception, void, env, int)DEF_HELPER_1 (debug, void, env)
target-moxie/machine.h +2 -0
@@ -1 +1,3 @@ +/* FIXME Does not pass make check-headers, yet! */ +extern const VMStateDescription vmstate_moxie_cpu;
target-moxie/mmu.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#define MOXIE_MMU_ERR_EXEC 0#define MOXIE_MMU_ERR_READ 1#define MOXIE_MMU_ERR_WRITE 2
target-openrisc/cpu.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_OPENRISC_H #define CPU_OPENRISC_H
target-openrisc/exception.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_OPENRISC_EXCP_H #define QEMU_OPENRISC_EXCP_H
target-openrisc/helper.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/* exception */ DEF_HELPER_FLAGS_2 (exception,0 , void, env, i32)
target-ppc/cpu-models.h +3 -0
@@ -18,6 +18,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_PPC_CPU_MODELS_H #define TARGET_PPC_CPU_MODELS_H
target-ppc/cpu-qom.h +3 -0
@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_PPC_CPU_QOM_H #define QEMU_PPC_CPU_QOM_H
target-ppc/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__CPU_PPC_H__)#define __CPU_PPC_H__
target-ppc/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_3(raise_exception_err, void, env, i32, i32) DEF_HELPER_2(raise_exception, void, env, i32)DEF_HELPER_4 (tw, void, env, tl, tl, i32)
target-ppc/helper_regs.h +2 -0
@@ -17,6 +17,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__HELPER_REGS_H__)#define __HELPER_REGS_H__
target-ppc/kvm_ppc.h +2 -0
@@ -6,6 +6,8 @@* */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef __KVM_PPC_H__#define __KVM_PPC_H__
target-ppc/mmu-hash32.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__MMU_HASH32_H__)#define __MMU_HASH32_H__
target-ppc/mmu-hash64.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined (__MMU_HASH64_H__)#define __MMU_HASH64_H__
target-s390x/cpu.h +3 -0
@@ -19,6 +19,9 @@* You should have received a copy of the GNU (Lesser) General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_S390X_H #define CPU_S390X_H
target-s390x/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(exception, noreturn, env, i32) DEF_HELPER_FLAGS_4(nc, TCG_CALL_NO_WG, i32, env, i32, i64, i64)DEF_HELPER_FLAGS_4 (oc,TCG_CALL_NO_WG , i32, env, i32, i64, i64)
target-sh4/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef _CPU_SH4_H#define _CPU_SH4_H
target-sh4/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_1(ldtlb, void, env) DEF_HELPER_1(raise_illegal_instruction, noreturn, env)DEF_HELPER_1 (raise_slot_illegal_instruction, noreturn, env)
target-sparc/cpu-qom.h +3 -0
@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_SPARC_CPU_QOM_H #define QEMU_SPARC_CPU_QOM_H
target-sparc/cpu.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_SPARC_H #define CPU_SPARC_H
target-sparc/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TARGET_SPARC64 DEF_HELPER_1(rett, void, env)DEF_HELPER_2 (wrpsr, void, env, tl)
target-tilegx/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_TILEGX_H #define CPU_TILEGX_H
target-tilegx/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(exception, noreturn, env, i32) DEF_HELPER_1(ext01_ics, void, env)DEF_HELPER_FLAGS_1 (cntlz,TCG_CALL_NO_RWG_SE , i64, i64)
target-tricore/cpu.h +3 -0
@@ -16,6 +16,9 @@* You should have received a copy of the GNU Lesser General Public * License along with this library; if not, see <http://www.gnu.org/licenses/>. */ + +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__TRICORE_CPU_H__)#define __TRICORE_CPU_H__
target-tricore/helper.h +2 -0
@@ -15,6 +15,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/* Arithmetic */ DEF_HELPER_3(add_ssov, i32, env, i32, i32)DEF_HELPER_3 (add64_ssov, i64, env, i64, i64)
target-tricore/tricore-defs.h +2 -0
@@ -15,6 +15,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +#if !defined(__QEMU_TRICORE_DEFS_H__)#define __QEMU_TRICORE_DEFS_H__
target-tricore/tricore-opcodes.h +2 -0
@@ -15,6 +15,8 @@* License along with this library; if not, see <http://www.gnu.org/licenses/>. */ +/* FIXME Does not pass make check-headers, yet! */ +/* * Opcode Masks for Tricore * Format MASK_OP_InstrFormatName_Field
target-unicore32/cpu.h +3 -0
@@ -8,6 +8,9 @@* published by the Free Software Foundation, or (at your option) any * later version. See the COPYING file in the top-level directory. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_UNICORE32_CPU_H #define QEMU_UNICORE32_CPU_H
target-unicore32/helper.h +2 -0
@@ -7,6 +7,8 @@* later version. See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CONFIG_USER_ONLY DEF_HELPER_4(cp0_set, void, env, i32, i32, i32)DEF_HELPER_3 (cp0_get, i32, env, i32, i32)
target-xtensa/cpu.h +2 -0
@@ -25,6 +25,8 @@* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef CPU_XTENSA_H #define CPU_XTENSA_H
target-xtensa/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_2(exception, noreturn, env, i32) DEF_HELPER_3(exception_cause, noreturn, env, i32, i32)DEF_HELPER_4 (exception_cause_vaddr, noreturn, env, i32, i32, i32)
target-xtensa/overlay_tool.h +2 -0
@@ -25,6 +25,8 @@* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +/* FIXME Does not pass make check-headers, yet! */ +#define XTREG (idx, ofs, bi, sz, al, no, flags, cp, typ, grp, name, \ a1, a2, a3, a4, a5, a6) \ { .targno = (no), .type = (typ), .group = (grp), .size = (sz) },
tcg/mips/tcg-target.h +3 -0
@@ -23,6 +23,9 @@* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ + +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TCG_TARGET_MIPS #define TCG_TARGET_MIPS 1
tcg/tcg-be-ldst.h +2 -0
@@ -20,6 +20,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ + #ifdef CONFIG_SOFTMMU typedef struct TCGLabelQemuLdst {
tcg/tcg-be-null.h +2 -0
@@ -20,6 +20,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ + typedef struct TCGBackendData { /* Empty */ char dummy;
tcg/tcg-op.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#include "tcg.h" #include "exec/helper-proto.h" #include "exec/helper-gen.h"
The rest of this diff is not shown. View the raw message.
Signature · 1 line
2.5.5
Part of the diff is not shown here. View the raw message.
Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source
Quoted 25 lines · Markus Armbruster
For now, this tests just a bit of header sanity: for each header "
FOO.h", test whether#include "qemu/osdep.h" #include "FOO.h" #include "FOO.h"compiles. A large number of headers don't pass this test, by design or by accident. These are all excluded for now. Excluded headers contain a comment
/* FIXME Does not pass make check-headers, yet! */Many headers fail the test only with
CONFIG_WIN32. These contain a comment/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */Add make target check-excluded-headers to help with examining how they fail.
These tests work only in a git tree, with git installed.
Signed-off-by Markus Armbruster <[email protected]>
Quoted 12 lines
disas/libvixl/vixl/a64/assembler-a64.h | 2 ++ disas/libvixl/vixl/a64/constants-a64.h | 2 ++ disas/libvixl/vixl/a64/cpu-a64.h | 2 ++ disas/libvixl/vixl/a64/decoder-a64.h | 2 ++ disas/libvixl/vixl/a64/disasm-a64.h | 2 ++ disas/libvixl/vixl/a64/instructions-a64.h | 2 ++ disas/libvixl/vixl/code-buffer.h | 2 ++ disas/libvixl/vixl/compiler-intrinsics.h | 2 ++ disas/libvixl/vixl/globals.h | 2 ++ disas/libvixl/vixl/invalset.h | 2 ++ disas/libvixl/vixl/platform.h | 2 ++ disas/libvixl/vixl/utils.h | 2 ++
This is third-party code. We're not going to change it, so we should avoid scanning it rather than adding tags which will get lost next time we do an update to a new upstream version...
thanks
-- PMM
Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source
Quoted 39 lines · Peter Maydell
Quoted 25 lines · Markus Armbruster
For now, this tests just a bit of header sanity: for each header "
FOO.h", test whether#include "qemu/osdep.h" #include "FOO.h" #include "FOO.h"compiles. A large number of headers don't pass this test, by design or by accident. These are all excluded for now. Excluded headers contain a comment
/* FIXME Does not pass make check-headers, yet! */Many headers fail the test only with
CONFIG_WIN32. These contain a comment/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */Add make target check-excluded-headers to help with examining how they fail.
These tests work only in a git tree, with git installed.
Signed-off-by Markus Armbruster <[email protected]>Quoted 12 lines
disas/libvixl/vixl/a64/assembler-a64.h | 2 ++ disas/libvixl/vixl/a64/constants-a64.h | 2 ++ disas/libvixl/vixl/a64/cpu-a64.h | 2 ++ disas/libvixl/vixl/a64/decoder-a64.h | 2 ++ disas/libvixl/vixl/a64/disasm-a64.h | 2 ++ disas/libvixl/vixl/a64/instructions-a64.h | 2 ++ disas/libvixl/vixl/code-buffer.h | 2 ++ disas/libvixl/vixl/compiler-intrinsics.h | 2 ++ disas/libvixl/vixl/globals.h | 2 ++ disas/libvixl/vixl/invalset.h | 2 ++ disas/libvixl/vixl/platform.h | 2 ++ disas/libvixl/vixl/utils.h | 2 ++
Quoted 4 lines
This is third-party code. We're not going to change it, so we should avoid scanning it rather than adding tags which will get lost next time we do an update to a new upstream version...
I can revive v1's blacklist for this directory. Any others?
Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source
Quoted 7 lines · Markus Armbruster
Quoted 4 lines · Peter Maydell
This is third-party code. We're not going to change it, so we should avoid scanning it rather than adding tags which will get lost next time we do an update to a new upstream version...
I can revive v1's blacklist for this directory. Any others?
The clean-includes blacklist is XDIRREGEX='^(tests/tcg|tests/multiboot|pc-bios|disas/libvixl)'
(which covers both 3rd-party imports and code which is intended to be built standalone and so doesn't follow QEMU's include rules.)
thanks
-- PMM
Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source
Quoted 7 lines · Peter Maydell
Quoted 6 lines · Markus Armbruster
Quoted 4 lines · Peter Maydell
This is third-party code. We're not going to change it, so we should avoid scanning it rather than adding tags which will get lost next time we do an update to a new upstream version...
Quoted 8 lines
Quoted 1 line
I can revive v1's blacklist for this directory. Any others?
The clean-includes blacklist is XDIRREGEX='^(tests/tcg|tests/multiboot|pc-bios|disas/libvixl)'
(which covers both 3rd-party imports and code which is intended to be built standalone and so doesn't follow QEMU's include rules.)
Noted.
What about linux-headers/ and include/standard-headers/?
Re: [Qemu-devel] [PATCH RFC v2 2/5] tests: New make target check-source
Quoted 14 lines · Markus Armbruster
Quoted 12 lines · Peter Maydell
Quoted 7 lines · Markus Armbruster
Quoted 4 lines · Peter Maydell
This is third-party code. We're not going to change it, so we should avoid scanning it rather than adding tags which will get lost next time we do an update to a new upstream version...
I can revive v1's blacklist for this directory. Any others?
The clean-includes blacklist is XDIRREGEX='^(tests/tcg|tests/multiboot|pc-bios|disas/libvixl)'
Quoted 7 lines
Quoted 3 lines
(which covers both 3rd-party imports and code which is intended to be built standalone and so doesn't follow QEMU's include rules.)
Noted.
What about linux-headers/ and
include/standard-headers/?
Mmm, clean-includes skips include/standard-headers (as a case in the switch statement, not via the blacklist regex). It doesn't skip linux-headers, though arguably it should. I think it just never complained about anything in linux-headers so I didn't identify it as something that needed to be skipped :-)
thanks
-- PMM
RFC PATCH 1/1 fixup! tests: New make target check-source
In reply to Markus Armbruster--- tests/header-test-template.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/header-test-template.c
tests/header-test-template.c new file +16 -0
@@ -0,0 +1,16 @@ +/* +* Template for make check-headers +* +* Copyright (C) 2016 Red Hat, Inc. +* +* Authors: +* Markus Armbruster <[email protected]> +* +* This work is licensed under the terms of the GNU GPL, version 2 or +* later. See the COPYING file in the top-level directory. +*/ + +#include "qemu/osdep.h" +#include "@header@" +/* Include a second time to catch missing header guard */ +#include "@header@"
Signature · 1 line
2.5.5
Re: [Qemu-devel] [PATCH RFC] fixup! tests: New make target check-source
Dear Markus,
Quoted 2 lines · Markus Armbruster
--- tests/header-test-template.c | 16 ++++++++++++++++
[...]
Thanks, that helped, I get a bit further now.
Is "make header-check" supposed to work on a host that doesn't have all optional dependencies installed? It fails for me because some OpenGL related header is missing. configure correctly detected that and didn't enable OpenGL support:
$ make check-headers
CC tests/headers/include/ui/shader.o
In file included from tests/headers/include/ui/shader.c:14:0:
./include/ui/shader.h:6:22: fatal error: epoxy/gl.h: No such file or directory
#include <epoxy/gl.h>
^
compilation terminated.
make: *** [tests/headers/include/ui/shader.o] Error 1
rm tests/headers/include/ui/shader.c
$ grep OPENGL config-host.*Sascha
Signature · 3 lines
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641
Re: [Qemu-devel] [PATCH RFC] fixup! tests: New make target check-source
Quoted 15 lines · Sascha Silbe
Dear Markus,
Quoted 2 lines · Markus Armbruster
--- tests/header-test-template.c | 16 ++++++++++++++++[...]
Thanks, that helped, I get a bit further now.
Is "make header-check" supposed to work on a host that doesn't have all optional dependencies installed? It fails for me because some OpenGL related header is missing. configure correctly detected that and didn't enable OpenGL support:
Quoted 10 lines
$ make check-headers
CC tests/headers/include/ui/shader.o
In file included from tests/headers/include/ui/shader.c:14:0:
./include/ui/shader.h:6:22: fatal error: epoxy/gl.h: No such file or directory
#include <epoxy/gl.h>
^
compilation terminated.
make: *** [tests/headers/include/ui/shader.o] Error 1
rm tests/headers/include/ui/shader.c
$ grep OPENGL config-host.*Hmm, this demonstrates some of our headers may only be included when certain CONFIG_* are defined.
Actually, I ran into a related case myself: headers that don't compile with CONFIG_WIN32.
We can either add suitable ifdeffery to make our headers work always, or mark headers so the test skips them when their requirements aren't met, similarly to how this patch skips certain headers when CONFIG_WIN32 is defined.
Regardless, we need to find the problemtatic headers. Perhaps you can find a few more with "make -k check-source".
Thanks!
Re: [Qemu-devel] [PATCH RFC] fixup! tests: New make target check-source
Quoted 34 lines · Markus Armbruster
Quoted 15 lines · Sascha Silbe
Dear Markus,
Quoted 2 lines · Markus Armbruster
--- tests/header-test-template.c | 16 ++++++++++++++++[...]
Thanks, that helped, I get a bit further now.
Is "make header-check" supposed to work on a host that doesn't have all optional dependencies installed? It fails for me because some OpenGL related header is missing. configure correctly detected that and didn't enable OpenGL support:
Quoted 10 lines
$ make check-headers CC tests/headers/include/ui/shader.o In file included from tests/headers/include/ui/shader.c:14:0: ./include/ui/shader.h:6:22: fatal error: epoxy/gl.h: No such file or directory #include <epoxy/gl.h> ^ compilation terminated. make: *** [tests/headers/include/ui/shader.o] Error 1 rm tests/headers/include/ui/shader.c $ grep OPENGL config-host.*Hmm, this demonstrates some of our headers may only be included when certain CONFIG_* are defined.
Actually, I ran into a related case myself: headers that don't compile with
CONFIG_WIN32.
Quoted 7 lines
We can either add suitable ifdeffery to make our headers work always, or mark headers so the test skips them when their requirements aren't met, similarly to how this patch skips certain headers when
CONFIG_WIN32is defined.Regardless, we need to find the problemtatic headers. Perhaps you can find a few more with "make -k check-source".
I think I tracked them down. Not too bad, just a dozen or so. Now I have to make up my mind whether I prefer to document their configuration requirements with comments or with ifdefs.
Re: [Qemu-devel] [PATCH RFC] fixup! tests: New make target check-source
Dear Markus,
Quoted 4 lines · Markus Armbruster
Quoted 2 lines · Markus Armbruster
Hmm, this demonstrates some of our headers may only be included when certain CONFIG_* are defined.
[...]
Quoted 6 lines
Quoted 2 lines
Regardless, we need to find the problemtatic headers. Perhaps you can find a few more with "make -k check-source".
I think I tracked them down. Not too bad, just a dozen or so. Now I have to make up my mind whether I prefer to document their configuration requirements with comments or with ifdefs.
FWIW, I'd prefer a solution that allows successfully running "make check-source" even on hosts where not all optional dependencies are installed. It would be useful as a sanity check before sending patches. If "make check-source" doesn't work on the developers primary machine because they cannot install all the latest experimental dependencies, fewer submitters will use it.
Sascha
Signature · 3 lines
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641
Re: [Qemu-devel] [PATCH RFC] fixup! tests: New make target check-source
Quoted 16 lines · Sascha Silbe
Dear Markus,
Quoted 4 lines · Markus Armbruster
Quoted 2 lines · Markus Armbruster
Hmm, this demonstrates some of our headers may only be included when certain CONFIG_* are defined.
[...]
Quoted 6 lines
Quoted 2 lines
Regardless, we need to find the problemtatic headers. Perhaps you can find a few more with "make -k check-source".
I think I tracked them down. Not too bad, just a dozen or so. Now I have to make up my mind whether I prefer to document their configuration requirements with comments or with ifdefs.
Quoted 6 lines
FWIW, I'd prefer a solution that allows successfully running "make check-source" even on hosts where not all optional dependencies are installed. It would be useful as a sanity check before sending patches. If "make check-source" doesn't work on the developers primary machine because they cannot install all the latest experimental dependencies, fewer submitters will use it.
Agree.
RFC PATCH v2 3/5 tests: Make check-block a phony target
In reply to Markus ArmbrusterForgotten in commit b8c6f29.
--- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile.include +1 -1
@@ -752,7 +752,7 @@ tests/headers/%.c: tests/header-test-template.c # Consolidated targets -.PHONY: check-qapi-schema check-qtest check-unit check check-source check-clean +.PHONY: check-qapi-schema check-qtest check-unit check check-block check-source check-clean check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS)) check-unit: $(patsubst %,check-%, $(check-unit-y))
Signature · 1 line
2.5.5
Re: [Qemu-devel] [PATCH RFC v2 3/5] tests: Make check-block a phony target
Quoted 1 line · Markus Armbruster
Forgotten in commit b8c6f29.
Umm, really? That commit starts with:
tests/Makefile
-.PHONY: check
+
+.PHONY: check check-block
Rather, I think it was b93b63f5 that accidentally lost it during an overhaul.
Quoted 11 lines
Signed-off-by Markus Armbruster <[email protected]>--- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile.include +0
-0
tests/Makefile.include tests/headers/%.c: tests/header-test-template.c · line 755
Quoted 5 lines
tests/Makefile.include +1
-1@@ -752,7 +752,7 @@ tests/headers/%.c: tests/header-test-template.c # Consolidated targets -.PHONY: check-qapi-schema check-qtest check-unit check check-source check-clean +.PHONY: check-qapi-schema check-qtest check-unit check check-block check-source check-clean
Long line; worth splitting?
With commit message improved,
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
Re: [Qemu-devel] [PATCH RFC v2 3/5] tests: Make check-block a phony target
Quoted 5 lines · Eric Blake
Quoted 1 line · Markus Armbruster
Forgotten in commit b8c6f29.
Umm, really? That commit starts with:
Quoted 7 lines
tests/Makefile
-.PHONY: check
+
+.PHONY: check check-blockRather, I think it was
b93b63f5that accidentally lost it during an overhaul.
Oops. Will fix.
Quoted 11 lines
Quoted 11 lines
Signed-off-by Markus Armbruster <[email protected]>--- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)tests/Makefile.include +0
-0@@ -752,7 +752,7 @@ tests/headers/%.c: tests/header-test-template.c
Quoted 6 lines
tests/Makefile.include tests/headers/%.c: tests/header-test-template.c · line 755
Quoted 4 lines
tests/Makefile.include +1
-1# Consolidated targets -.PHONY: check-qapi-schema check-qtest check-unit check check-source check-clean +.PHONY: check-qapi-schema check-qtest check-unit check check-block check-source check-cleanLong line; worth splitting?
Yes.
Quoted 2 lines
With commit message improved,
Reviewed-by Eric Blake <[email protected]>
Thanks!
RFC PATCH v2 4/5 include: Move typedef qemu_irq to qemu/typedefs.h
In reply to Markus ArmbrusterWhile there, drop a comment that has become misleading.
--- include/hw/irq.h | 2 -- include/hw/isa/vt82c686.h | 2 -- include/hw/mips/mips.h | 2 -- include/qemu/typedefs.h | 4 +--- 4 files changed, 1 insertion(+), 9 deletions(-)
include/hw/irq.h +0 -2
@@ -5,8 +5,6 @@#define TYPE_IRQ "irq" -typedef struct IRQState *qemu_irq ; -typedef void (*qemu_irq_handler )(void *opaque,int n,int level);void qemu_set_irq (qemu_irq irq,int level);
include/hw/isa/vt82c686.h +0 -2
@@ -1,5 +1,3 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_VT82C686_H #define HW_VT82C686_H
include/hw/mips/mips.h +0 -2
@@ -1,5 +1,3 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_MIPS_H #define HW_MIPS_H /* Definitions for mips board emulation. */
include/qemu/typedefs.h +1 -3
@@ -1,9 +1,6 @@#ifndef QEMU_TYPEDEFS_H #define QEMU_TYPEDEFS_H -/* A load of opaque types so that device init declarations don't have to -pull in all the real definitions. */ -/* Please keep this list in alphabetical order */ typedef struct AdapterInfo AdapterInfo ;typedef struct AddressSpace AddressSpace ;
@@ -34,6 +31,7 @@ typedef struct FWCfgState FWCfgState;typedef struct HCIInfo HCIInfo ;typedef struct I2CBus I2CBus ;typedef struct I2SCodec I2SCodec ; +typedef struct IRQState *qemu_irq ;typedef struct ISABus ISABus ;typedef struct ISADevice ISADevice ;typedef struct IsaDma IsaDma ;
Signature · 1 line
2.5.5
RFC PATCH v2 5/5 include: Include exec/hwaddr.h where hwaddr is used
In reply to Markus ArmbrusterDon't bother with include/exec/memory-internal.h and include/hw/elf_ops.h, because those are somewhat special.
--- hw/audio/lm4549.h | 1 + hw/cris/boot.h | 2 ++ hw/net/e1000e_core.h | 7 +++++++ hw/net/vmware_utils.h | 1 + hw/scsi/mptsas.h | 1 + include/disas/disas.h | 3 +-- include/hw/arm/sharpsl.h | 4 ++-- include/hw/block/fdc.h | 3 +-- include/hw/char/escc.h | 4 ++-- include/hw/char/pl011.h | 2 ++ include/hw/char/xilinx_uartlite.h | 2 ++ include/hw/cris/etraxfs_dma.h | 4 ++-- include/hw/empty_slot.h | 4 ++-- include/hw/misc/mips_cmgcr.h | 1 + include/hw/pci-host/apb.h | 3 +-- include/hw/sparc/sparc32_dma.h | 4 ++-- include/hw/timer/m48t59.h | 3 +-- include/sysemu/xen-mapcache.h | 1 + target-ppc/mmu-hash32.h | 2 ++ 19 files changed, 34 insertions(+), 18 deletions(-)
hw/audio/lm4549.h +1 -0
@@ -15,6 +15,7 @@#define HW_LM4549_H #include "audio/audio.h" +#include "exec/hwaddr.h" typedef void (*lm4549_callback )(void *opaque);
hw/cris/boot.h +2 -0
@@ -3,6 +3,8 @@ #ifndef _CRIS_BOOT_H #define HW_CRIS_BOOT_H 1 +#include "exec/hwaddr.h" + struct cris_load_info { const char *image_filename;
hw/net/e1000e_core.h +7 -0
@@ -35,6 +35,11 @@/* FIXME Does not pass make check-headers, yet! */ +#ifndef E1000E_CORE_H +#define E1000E_CORE_H + +#include "exec/hwaddr.h" +#define E1000E_PHY_PAGE_SIZE (0x20)#define E1000E_PHY_PAGES (0x07)#define E1000E_MAC_SIZE (0x8000)
@@ -146,3 +151,5 @@ e1000e_receive(E1000ECore *core, const uint8_t *buf, size_t size);ssize_t e1000e_receive_iov (E1000ECore *core,const struct iovec *iov,int iovcnt); + +#endif
hw/net/vmware_utils.h +1 -0
@@ -19,6 +19,7 @@#ifndef VMWARE_UTILS_H #define VMWARE_UTILS_H +#include "exec/hwaddr.h" #include "qemu/range.h" #include "vmxnet_debug.h"
hw/scsi/mptsas.h +1 -0
@@ -3,6 +3,7 @@#ifndef MPTSAS_H #define MPTSAS_H +#include "exec/hwaddr.h" #include "mpi.h" #define MPTSAS_NUM_PORTS 8
include/disas/disas.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef _QEMU_DISAS_H#define _QEMU_DISAS_H +#include "exec/hwaddr.h" #include "qemu-common.h" #ifdef NEED_CPU_H
include/hw/arm/sharpsl.h +2 -2
@@ -4,11 +4,11 @@* This file is licensed under the GNU GPL. */ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef QEMU_SHARPSL_H #define QEMU_SHARPSL_H +#include "exec/hwaddr.h" +#define zaurus_printf (format, ...) \ fprintf(stderr, "%s: " format, __FUNCTION__, ##__VA_ARGS__)
include/hw/block/fdc.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_FDC_H #define HW_FDC_H +#include "exec/hwaddr.h" #include "qemu-common.h" /* fdc.c */
include/hw/char/escc.h +2 -2
@@ -1,8 +1,8 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_ESCC_H #define HW_ESCC_H 1 +#include "exec/hwaddr.h" +/* escc.c */ #define TYPE_ESCC "escc"#define ESCC_SIZE 4
include/hw/char/pl011.h +2 -0
@@ -17,6 +17,8 @@#ifndef PL011_UART_H #define PL011_UART_H +#include "exec/hwaddr.h" +static inline DeviceState *pl011_create (hwaddr addr,qemu_irq irq,CharDriverState *chr)
include/hw/char/xilinx_uartlite.h +2 -0
@@ -17,6 +17,8 @@#ifndef XILINX_UARTLITE_H #define XILINX_UARTLITE_H +#include "exec/hwaddr.h" +static inline DeviceState *xilinx_uartlite_create (hwaddr addr,qemu_irq irq,CharDriverState *chr)
include/hw/cris/etraxfs_dma.h +2 -2
@@ -1,8 +1,8 @@ -/* FIXME Does not pass make check-headers, yet! */ - #ifndef HW_ETRAXFS_DMA_H #define HW_ETRAXFS_DMA_H 1 +#include "exec/hwaddr.h" + struct dma_context_metadata { /* data descriptor md */ uint16_t metadata;
include/hw/empty_slot.h +2 -2
@@ -1,8 +1,8 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_EMPTY_SLOT_H #define HW_EMPTY_SLOT_H 1 +#include "exec/hwaddr.h" +/* empty_slot.c */ void empty_slot_init (hwaddr addr,uint64_t slot_size);
include/hw/misc/mips_cmgcr.h +1 -0
@@ -13,6 +13,7 @@#define _MIPS_GCR_H#define TYPE_MIPS_GCR "mips-gcr" +#include "exec/hwaddr.h" #define MIPS_GCR (obj) OBJECT_CHECK(MIPSGCRState, (obj), TYPE_MIPS_GCR)#define GCR_BASE_ADDR 0x1fbf8000ULL
include/hw/pci-host/apb.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef APB_PCI_H #define APB_PCI_H +#include "exec/hwaddr.h" #include "qemu-common.h" PCIBus *pci_apb_init(hwaddr special_base,
include/hw/sparc/sparc32_dma.h +2 -2
@@ -1,8 +1,8 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef SPARC32_DMA_H #define SPARC32_DMA_H +#include "exec/hwaddr.h" +/* sparc32_dma.c */ void ledma_memory_read (void *opaque,hwaddr addr,uint8_t *buf,int len,int do_bswap);
include/hw/timer/m48t59.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef NVRAM_H #define NVRAM_H +#include "exec/hwaddr.h" #include "qemu-common.h" #include "qom/object.h"
include/sysemu/xen-mapcache.h +1 -0
@@ -11,6 +11,7 @@#ifndef XEN_MAPCACHE_H #define XEN_MAPCACHE_H +#include "exec/hwaddr.h" typedef hwaddr (*phys_offset_to_gaddr_t)(hwaddr start_addr, ram_addr_t size,
target-ppc/mmu-hash32.h +2 -0
@@ -5,6 +5,8 @@#ifndef CONFIG_USER_ONLY +#include "exec/hwaddr.h" +hwaddr get_pteg_offset32 (PowerPCCPU *cpu,hwaddr hash);hwaddr ppc_hash32_get_phys_page_debug (PowerPCCPU *cpu,target_ulong addr); int ppc_hash32_handle_mmu_fault(PowerPCCPU *cpu, vaddr address, int rw,
Signature · 1 line
2.5.5
Dear Markus,
Quoted 2 lines · Markus Armbruster
Some time ago, we discussed rules for headers, and these were generally liked:
[...]
Quoted 5 lines
Trouble is we're not exactly close to obeying 2. This series demonstrates a possible path towards obeying it: enforce it in "make check", except for known-bad headers [PATCH 2]. We start with a large list of known-bad headers, then whittle it down. Some sample whittling in PATCH 4+5.
[...]
Does this series depend on any other series that's not in master yet?
After applying your series on top of f12103af and running "./configure" in a clean working directory, I get the following errors for "make check-source":
$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory egrep: qapi-types.h: No such file or directory egrep: qapi-visit.h: No such file or directory egrep: qapi-event.h: No such file or directory egrep: qmp-introspect.h: No such file or directory egrep: trace/generated-events.h: No such file or directory egrep: trace/generated-tracers.h: No such file or directory egrep: trace/generated-tcg-tracers.h: No such file or directory egrep: trace/generated-helpers-wrappers.h: No such file or directory egrep: trace/generated-helpers.h: No such file or directory egrep: tests/test-qapi-types.h: No such file or directory egrep: tests/test-qapi-visit.h: No such file or directory egrep: tests/test-qmp-commands.h: No such file or directory egrep: tests/test-qapi-event.h: No such file or directory egrep: tests/test-qmp-introspect.h: No such file or directory GEN aarch64-softmmu/config-devices.mak.tmp GEN aarch64-softmmu/config-devices.mak [...] GEN tests/test-qmp-introspect.h make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.
Sascha
Signature · 3 lines
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641
Quoted 34 lines · Sascha Silbe
Dear Markus,
Quoted 2 lines · Markus Armbruster
Some time ago, we discussed rules for headers, and these were generally liked:
[...]
Quoted 5 lines
Trouble is we're not exactly close to obeying 2. This series demonstrates a possible path towards obeying it: enforce it in "make check", except for known-bad headers [PATCH 2]. We start with a large list of known-bad headers, then whittle it down. Some sample whittling in PATCH 4+5.
[...]
Does this series depend on any other series that's not in master yet?
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory egrep: qapi-types.h: No such file or directory egrep: qapi-visit.h: No such file or directory egrep: qapi-event.h: No such file or directory egrep: qmp-introspect.h: No such file or directory egrep: trace/generated-events.h: No such file or directory egrep: trace/generated-tracers.h: No such file or directory egrep: trace/generated-tcg-tracers.h: No such file or directory egrep: trace/generated-helpers-wrappers.h: No such file or directory egrep: trace/generated-helpers.h: No such file or directory egrep: tests/test-qapi-types.h: No such file or directory egrep: tests/test-qapi-visit.h: No such file or directory
Quoted 8 lines
egrep: tests/test-qmp-commands.h: No such file or directory egrep: tests/test-qapi-event.h: No such file or directory egrep: tests/test-qmp-introspect.h: No such file or directory GEN aarch64-softmmu/config-devices.mak.tmp GEN aarch64-softmmu/config-devices.mak [...] GEN tests/test-qmp-introspect.h make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.
Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Paolo
Dear Paolo,
Quoted 7 lines · Paolo Bonzini
Quoted 7 lines
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory
[...]
Quoted 10 lines
Quoted 5 lines
GEN aarch64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak
[...]
GENtests/test-qmp-introspect.h
make: *** No rule to make targettests/headers/audio/audio.o', needed bycheck-headers'. Stop.Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Still no dice. The egrep error messages don't occur when running "make check-source" after a full "make" run, but the audio.o error still happens:
$ make check-source make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.
Sascha
Signature · 3 lines
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641
Quoted 23 lines · Sascha Silbe
Dear Paolo,
Quoted 7 lines · Paolo Bonzini
Quoted 7 lines
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory[...]
Quoted 10 lines
Quoted 5 lines
GEN aarch64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak
[...]
GENtests/test-qmp-introspect.h
make: *** No rule to make targettests/headers/audio/audio.o', needed bycheck-headers'. Stop.Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Quoted 6 lines
Still no dice. The egrep error messages don't occur when running "make check-source" after a full "make" run, but the audio.o error still happens:
$ make check-source make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.
Works fine in my build tree, fails in a fresh clone, can't yet say why. Thanks for reporting!
Quoted 29 lines · Markus Armbruster
Quoted 27 lines · Sascha Silbe
Dear Paolo,
Quoted 7 lines · Paolo Bonzini
Quoted 7 lines
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory[...]
Quoted 10 lines
Quoted 5 lines
GEN aarch64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak
[...]
GENtests/test-qmp-introspect.h
make: *** No rule to make targettests/headers/audio/audio.o', needed bycheck-headers'. Stop.Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Still no dice. The egrep error messages don't occur when running "make check-source" after a full "make" run, but the audio.o error still happens:
Quoted 6 lines
Quoted 2 lines
$ make check-source make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.Works fine in my build tree, fails in a fresh clone, can't yet say why. Thanks for reporting!
I tried to manually exclude audio/audio.h, but it goes on to barf on the next header in audio/. Not sure why your formula doesn't like that directory for us.
(I *hate* Makefiles ...)
--js
Quoted 33 lines · John Snow
Quoted 32 lines · Markus Armbruster
Quoted 29 lines · Sascha Silbe
Dear Paolo,
Quoted 7 lines · Paolo Bonzini
Quoted 7 lines
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory[...]
Quoted 10 lines
Quoted 5 lines
GEN aarch64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak
[...]
GENtests/test-qmp-introspect.h
make: *** No rule to make targettests/headers/audio/audio.o', needed bycheck-headers'. Stop.Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Still no dice. The egrep error messages don't occur when running "make check-source" after a full "make" run, but the audio.o error still happens:
$ make check-source make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.
Quoted 7 lines
Quoted 3 lines
Works fine in my build tree, fails in a fresh clone, can't yet say why. Thanks for reporting!
I tried to manually exclude
audio/audio.h, but it goes on to barf on the next header in audio/. Not sure why your formula doesn't like that directory for us.
"make -d tests/headers/audio/audio.c" immediately pinpoints the cause:
[Lots of output about remaking makefiles...]
Updating goal targets....
Considering target file 'tests/headers/audio/audio.c'.
File 'tests/headers/audio/audio.c' does not exist.
Looking for an implicit rule for 'tests/headers/audio/audio.c'. Trying pattern rule with stem 'audio/audio'.
Trying rule prerequisite 'tests/header-test-template.c'. Trying pattern rule with stem 'audio/audio'.
Trying rule prerequisite 'tests/header-test-template.c'. Looking for a rule with intermediate file 'tests/header-test-template.c'.
Avoiding implicit rule recursion.
No implicit rule found for 'tests/headers/audio/audio.c'. Finished prerequisites of target file 'tests/headers/audio/audio.c'.
Must remake target 'tests/headers/audio/audio.c'.
make: *** No rule to make target 'tests/headers/audio/audio.c'. Stop.
I forgot to commit tests/header-test-template.c. Fixup posted.
Quoted 1 line
(I *hate* Makefiles ...)
Possibly for the wrong reasons ;-)
Quoted 61 lines · Markus Armbruster
Quoted 33 lines · John Snow
Quoted 32 lines · Markus Armbruster
Quoted 29 lines · Sascha Silbe
Dear Paolo,
Quoted 7 lines · Paolo Bonzini
Quoted 7 lines
After applying your series on top of
f12103afand running "./configure" in a clean working directory, I get the following errors for "make check-source":$ make check-source egrep: config-host.h: No such file or directory egrep: qmp-commands.h: No such file or directory[...]
Quoted 10 lines
Quoted 5 lines
GEN aarch64-softmmu/config-devices.mak.tmp
GEN aarch64-softmmu/config-devices.mak
[...]
GENtests/test-qmp-introspect.h
make: *** No rule to make targettests/headers/audio/audio.o', needed bycheck-headers'. Stop.Hi Sascha,
these are all generated headers. In general, "make check" must be run after "make", and I suppose the same holds for "make check-headers".
Still no dice. The egrep error messages don't occur when running "make check-source" after a full "make" run, but the audio.o error still happens:
$ make check-source make: *** No rule to make target `tests/headers/audio/audio.o', needed by `check-headers'. Stop.Quoted 7 lines
Quoted 3 lines
Works fine in my build tree, fails in a fresh clone, can't yet say why. Thanks for reporting!
I tried to manually exclude
audio/audio.h, but it goes on to barf on the next header in audio/. Not sure why your formula doesn't like that directory for us."make -d
tests/headers/audio/audio.c" immediately pinpoints the cause:[Lots of output about remaking makefiles...]
Updating goal targets....
Considering target file 'tests/headers/audio/audio.c'.
File 'tests/headers/audio/audio.c' does not exist.
Looking for an implicit rule for 'tests/headers/audio/audio.c'. Trying pattern rule with stem 'audio/audio'.
Trying rule prerequisite 'tests/header-test-template.c'. Trying pattern rule with stem 'audio/audio'.
Trying rule prerequisite 'tests/header-test-template.c'. Looking for a rule with intermediate file 'tests/header-test-template.c'.
Avoiding implicit rule recursion.
No implicit rule found for 'tests/headers/audio/audio.c'. Finished prerequisites of target file 'tests/headers/audio/audio.c'.
Must remake target 'tests/headers/audio/audio.c'.
make: *** No rule to make target 'tests/headers/audio/audio.c'. Stop.
Quoted 6 lines
I forgot to commit
tests/header-test-template.c. Fixup posted.Quoted 1 line
(I *hate* Makefiles ...)
Possibly for the wrong reasons ;-)
My reason is:
"Thus, programs must be written for people to read, and only incidentally for machines to execute."
Makefiles appear to be trying their hardest to do the opposite.
Thanks for the fixup!
--js