Baby steps towards saner headers
Subsystems (7)
v3 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 1]. We start with a large list of known-bad headers, then whittle it down. Some sample whittling in PATCH 3-5.
Known issues:
* We have headers that may only be included target-dependent code. Actually testing them isn't implemented, yet. PATCH 1 marks a few of them (the ones that die due to poison.h). More need to be marked.
* Similarly, we have headers that may only be included into code that is compiled with certain additional -I. The test needs to be taught about them. A simple case is the -Itests added by Makefile.include for compiling $(test-obj-y). The -I added by Makefile.target could be more interesting.
* We have headers that may only be included when certain CONFIG_* are present. The test nes to be taught about them.
v3:
* Old PATH 1 moved to another series
* PATCH 1:
- Skip the test unless $(SRC_PATH)/.git exists
- Exclude third-party headers [Peter]
- Exclude Coccinelle header
- Fix egrep vs. fgrep typos
- Mark and exclude headers that die due to poison.h, because testing them isn't implemented, yet
- tests/header-test-template.c not omitted (d'oh)
* PATCH 3: Replaced
* PATCH 5: New
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):
tests: New make target check-source
tests: Make check-block a phony target
Include hw/irq.h where qemu_irq is used
Include exec/hwaddr.h where hwaddr is used
Add a few missing #include "qemu/queue.h"
audio/audio_int.h | 5 ++++ 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 | 4 +++ 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 ++ 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 | 2 ++ 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 | 4 +++ hw/net/pcnet.h | 3 ++ 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/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 | 2 ++ include/hw/block/flash.h | 2 ++ include/hw/char/escc.h | 3 ++ include/hw/char/pl011.h | 5 ++++ include/hw/char/xilinx_uartlite.h | 5 ++++ include/hw/cris/etraxfs.h | 2 ++ include/hw/cris/etraxfs_dma.h | 3 ++ 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 | 1 + 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 | 4 +++ 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 | 4 +++ 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 | 3 ++ include/hw/timer/aspeed_timer.h | 4 +++ 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 | 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/host/aarch64/hostdep.h | 2 ++ linux-user/host/arm/hostdep.h | 2 ++ linux-user/host/i386/hostdep.h | 2 ++ linux-user/host/ppc64/hostdep.h | 2 ++ linux-user/host/s390x/hostdep.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 ++ 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/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 | 4 +++ 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 | 48 +++++++++++++++++++++++++++++-- tests/crypto-tls-x509-helpers.h | 2 ++ tests/header-test-template.c | 16 +++++++++++ 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 + 424 files changed, 1039 insertions(+), 7 deletions(-) create mode 100644 tests/header-test-template.c
Signature · 1 line
2.5.5
RFC PATCH v3 1/5 tests: New make target check-source
Make target check-source is for checking the source code itself. For now, there's just one such check, make target check-headers. It checks basic 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.
Third-party headers we don't intend to clean up are excluded from this test. See make variable excluded-headers.
Some headers fail the test because they need to be compiled with -DNEED_CPU_H, and testing them is not yet implemented. They are marked with a comment
/* NOTE: May only be included into target-dependent code */
Other headers known to fail the test are marked with
/* FIXME Does not pass make check-headers, yet! */
or, if they fail only with CONFIG_WIN32, with
/* FIXME Does not pass make check-headers with CONFIG_WIN32, yet! */
New make target check-bad-headers helps with examining how these fail.
The test works only in a git tree, with git installed. It is skipped unless $(SRC_PATH)/.git exists.
Known bug: we have headers that may only be included when certain CONFIG_* are present. The test fails if they aren't. For instance, /include/ui/shader.h doesn't compile unless we have CONFIG_OPENGL. This needs to be addressed before this test can be merged.
--- 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 ++ 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/aarch64/hostdep.h | 2 ++ linux-user/host/arm/hostdep.h | 2 ++ linux-user/host/i386/hostdep.h | 2 ++ linux-user/host/ppc64/hostdep.h | 2 ++ linux-user/host/s390x/hostdep.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 ++ 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/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 | 48 +++++++++++++++++++++++++++++-- tests/crypto-tls-x509-helpers.h | 2 ++ tests/header-test-template.c | 16 +++++++++++ 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 + 424 files changed, 1006 insertions(+), 7 deletions(-) create mode 100644 tests/header-test-template.c
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_
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. */ +/* NOTE: May only be included into target-dependent code */ +/* =============================================================================== 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. */ +/* NOTE: May only be included into target-dependent code */ +#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. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +/* * 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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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 @@* */ +/* NOTE: May only be included into target-dependent code */ +/* * 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 */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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. * */ + +/* NOTE: May only be included into target-dependent code */ +#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. */ + +/* NOTE: May only be included into target-dependent code */ +#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. */ + +/* NOTE: May only be included into target-dependent code */ +#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 @@ +/* NOTE: May only be included into target-dependent code */ +#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/aarch64/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
linux-user/host/arm/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
linux-user/host/i386/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
linux-user/host/ppc64/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
linux-user/host/s390x/hostdep.h +2 -0
@@ -9,6 +9,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef QEMU_HOSTDEP_H #define QEMU_HOSTDEP_H
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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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 @@ +/* NOTE: May only be included into target-dependent code */ +#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. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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 @@ +/* NOTE: May only be included into target-dependent code */ #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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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 @@ +/* NOTE: May only be included into target-dependent code */ +#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 ;
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/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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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> */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#ifndef CPU_I386_H #define CPU_I386_H
target-i386/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ + 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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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> */ + +/* NOTE: May only be included into target-dependent code */ +#ifndef QEMU_MIPS_CPU_QOM_H #define QEMU_MIPS_CPU_QOM_H
target-mips/cpu.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ +#if !defined (__MIPS_CPU_H__)#define __MIPS_CPU_H__
target-mips/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ + 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 @@ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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> */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#if !defined (__CPU_PPC_H__)#define __CPU_PPC_H__
target-ppc/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ + 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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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 @@ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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> */ + +/* NOTE: May only be included into target-dependent code */ +#ifndef QEMU_SPARC_CPU_QOM_H #define QEMU_SPARC_CPU_QOM_H
target-sparc/cpu.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ +#ifndef CPU_SPARC_H #define CPU_SPARC_H
target-sparc/helper.h +2 -0
@@ -1,3 +1,5 @@ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ + +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +#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/>. */ +/* NOTE: May only be included into target-dependent code */ +/* * 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. */ + +/* NOTE: May only be included into target-dependent code */ +#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. */ +/* NOTE: May only be included into target-dependent code */ +#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. */ +/* NOTE: May only be included into target-dependent code */ +#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"
tcg/tcg-opc.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* NOTE: May only be included into target-dependent code */ +/* * DEF(name, oargs, iargs, cargs, flags) */
tcg/tcg-runtime.h +2 -0
@@ -1,3 +1,5 @@ +/* FIXME Does not pass make check-headers, yet! */ + DEF_HELPER_FLAGS_2(div_i32, TCG_CALL_NO_RWG_SE, s32, s32, s32) DEF_HELPER_FLAGS_2(rem_i32, TCG_CALL_NO_RWG_SE, s32, s32, s32)DEF_HELPER_FLAGS_2 (divu_i32,TCG_CALL_NO_RWG_SE , i32, i32, i32)
tcg/tcg.h +2 -0
@@ -22,6 +22,8 @@* THE SOFTWARE. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TCG_H #define TCG_H
tests/Makefile.include +46 -2
75 lines not on this page · raw message
tests/crypto-tls-x509-helpers.h +2 -0
@@ -18,6 +18,8 @@* Author: Daniel P. Berrange <[email protected]> */ +/* FIXME Does not pass make check-headers, yet! */ +#include <gnutls/gnutls.h> #include <gnutls/x509.h>
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@"
trace/control-internal.h +2 -0
@@ -7,6 +7,8 @@* See the COPYING file in the top-level directory. */ +/* FIXME Does not pass make check-headers, yet! */ +#ifndef TRACE__CONTROL_INTERNAL_H #define TRACE__CONTROL_INTERNAL_H
trace/mem-internal.h +2 -0
@@ -7,6 +7,8 @@* See the COPYING file in the top-level directory.
Lines of this file are not shown. View the raw message.
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 v3 1/5] tests: New make target check-source
tests/Makefile.include test-obj-y = tests/check-qint.o tests/check-qstring.o tests/check-qdict.o \ · line 430
Quoted 5 lines · Markus Armbruster
tests/Makefile.include +5
-0+bad-header-comment := /* FIXME Does not pass make check-headers$(bad-header-with-y), yet! +bad-headers := $(shell cd $(SRC_PATH) && fgrep -l '$(bad-header-comment)' $(src-headers)) +bad-headers += $(shell fgrep -l '$(bad-header-comment)' $(gen-headers)) +# Headers that require -DNEED_CPU_H etc. +target-header-comment := /* NOTE: May only be included into target-dependent code */
Perhaps accept a "FIXME" as well here? You don't have to use the right one in the patch of course.
target-sparc/cpu-qom.h line 21
Quoted 10 lines
target-sparc/cpu-qom.h +2
-0@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* NOTE: May only be included into target-dependent code */
This shouldn't be true for cpu-qom.h.
Perhaps
Paolo
Quoted 3 lines
target-sparc/cpu-qom.h +0
-0#ifndef QEMU_SPARC_CPU_QOM_H #define QEMU_SPARC_CPU_QOM_H
Re: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source
Quoted 9 lines · Paolo Bonzini
tests/Makefile.include test-obj-y = tests/check-qint.o tests/check-qstring.o tests/check-qdict.o \ · line 430
Quoted 5 lines · Markus Armbruster
tests/Makefile.include +5
-0+bad-header-comment := /* FIXME Does not pass make check-headers$(bad-header-with-y), yet! +bad-headers := $(shell cd $(SRC_PATH) && fgrep -l '$(bad-header-comment)' $(src-headers)) +bad-headers += $(shell fgrep -l '$(bad-header-comment)' $(gen-headers)) +# Headers that require -DNEED_CPU_H etc. +target-header-comment := /* NOTE: May only be included into target-dependent code */Perhaps accept a "FIXME" as well here? You don't have to use the right one in the patch of course.
Makes sense.
I guess the same argument could be made for the other magic comments.
Quoted 13 lines
target-sparc/cpu-qom.h line 21
Quoted 10 lines
target-sparc/cpu-qom.h +2
-0@@ -17,6 +17,9 @@* License along with this library; if not, see * <http://www.gnu.org/licenses/lgpl-2.1.html> */ + +/* NOTE: May only be included into target-dependent code */ This shouldn't be true for
cpu-qom.h.
Quoted 2 lines
Perhaps
Paolo
Here's what made me mark the header:
$ make tests/headers/target-sparc/cpu-qom.o
[...]
CC tests/headers/target-sparc/cpu-qom.o
In file included from tests/headers/target-sparc/cpu-qom.c:14:0:
/work/armbru/qemu/target-sparc/cpu-qom.h:28:8: error: attempt to use poisoned "TARGET_SPARC64"
#ifdef TARGET_SPARC64
^
/work/armbru/qemu/rules.mak:59: recipe for target 'tests/headers/target-sparc/cpu-qom.o' failed
make: *** [tests/headers/target-sparc/cpu-qom.o] Error 1Error context:
#ifdef TARGET_SPARC64
#define TYPE_SPARC_CPU "sparc64-cpu"
#else
#define TYPE_SPARC_CPU "sparc-cpu"
#endifRe: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source
Quoted 19 lines · Markus Armbruster
Quoted 7 lines
Quoted 7 lines
Quoted 2 lines
Review
Quoted 2 lines
(quoted diff) +2
-0+ +/* NOTE: May only be included into target-dependent code */This shouldn't be true for
cpu-qom.h.Perhaps
PaoloHere's what made me mark the header:
$ make tests/headers/target-sparc/cpu-qom.o [...] CC tests/headers/target-sparc/cpu-qom.o In file included from tests/headers/target-sparc/cpu-qom.c:14:0: /work/armbru/qemu/target-sparc/cpu-qom.h:28:8: error: attempt to use poisoned "TARGET_SPARC64" #ifdef TARGET_SPARC64 ^ /work/armbru/qemu/rules.mak:59: recipe for target 'tests/headers/target-sparc/cpu-qom.o' failed make: *** [tests/headers/target-sparc/cpu-qom.o] Error 1
Quoted 7 lines
Error context:
#ifdef TARGET_SPARC64 #define TYPE_SPARC_CPU "sparc64-cpu" #else #define TYPE_SPARC_CPU "sparc-cpu" #endif
Good, this one is a FIXME then. :)
Paolo
Re: [Qemu-devel] [PATCH RFC v3 1/5] tests: New make target check-source
In reply to Markus ArmbrusterDear Markus,
I looked into the s390x specific failures as it would be nice to get them fixed up right away. Fortunately it looks like all of them are related to known shortcomings of the header check rather than actual issues with the header files, so there's nothing for me to do. ;)
Markus Armbruster <[email protected]> writes:
[...]
Quoted 5 lines
Some headers fail the test because they need to be compiled with -DNEED_CPU_H, and testing them is not yet implemented. They are marked with a comment
/* NOTE: May only be included into target-dependent code */
The following header files either include target-s390x/cpu.h themselves or expect it to have been included already so they should be marked with the above note rather than the FIXME:
- hw/s390x/ipl.h
- hw/s390x/s390-pci-inst.h
- hw/s390x/s390-virtio.h
[linux-headers/asm-s390/kvm.h]
Quoted 1 line
+/* FIXME Does not pass make check-headers with
CONFIG_WIN32, yet! */
Is this because of the linux/types.h include or is there some other issue? Should we even check these imported headers?
[linux-user/host/*/hostdep.h]
Quoted 1 line
+/* FIXME Does not pass make check-headers, yet! */
The "struct ucontext" definition used by hostdep.h differs between host architectures. Not sure if testing the headers for "foreign" host architectures is possible; we should probably just skip them instead of marking them with a FIXME.
Many or even most other non-softmmu target failures smell like NEED_CPU_H.
[*/helper.h]
Quoted 1 line
+/* FIXME Does not pass make check-headers, yet! */
Probably never will. Looks like it's meant to be included only by some magic preprocessor code.
Sascha
Signature · 3 lines
Softwareentwicklung Sascha Silbe, Niederhofenstraße 5/1, 71229 Leonberg https://se-silbe.de/ USt-IdNr. DE281696641
RFC PATCH v3 2/5 tests: Make check-block a phony target
In reply to Markus ArmbrusterGot lost in commit b93b63f.
--- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tests/Makefile.include +1 -1
@@ -771,7 +771,7 @@ endif # Consolidated targets -.PHONY: check-qapi-schema check-qtest check-unit check-source +.PHONY: check-qapi-schema check-qtest check-unit check-block check-source .PHONY: check check-clean check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS))
Signature · 1 line
2.5.5
Re: [Qemu-devel] [PATCH RFC v3 2/5] tests: Make check-block a phony target
Quoted 6 lines · Markus Armbruster
Got lost in commit b93b63f.
Signed-off-by Markus Armbruster <[email protected]>--- tests/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
tests/Makefile.include +1
-1@@ -771,7 +771,7 @@ endif # Consolidated targets -.PHONY: check-qapi-schema check-qtest check-unit check-source +.PHONY: check-qapi-schema check-qtest check-unit check-block check-source .PHONY: check check-clean check-qapi-schema: $(patsubst %,check-%, $(check-qapi-schema-y)) check-qtest: $(patsubst %,check-qtest-%, $(QTEST_TARGETS))
Signature · 2 lines
Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
RFC PATCH v3 3/5 Include hw/irq.h where qemu_irq is used
In reply to Markus Armbruster--- hw/net/ne2000.h | 2 ++ hw/net/pcnet.h | 1 + include/hw/block/fdc.h | 1 + include/hw/char/escc.h | 2 ++ include/hw/char/pl011.h | 2 ++ include/hw/char/xilinx_uartlite.h | 2 ++ include/hw/cris/etraxfs_dma.h | 2 ++ include/hw/isa/vt82c686.h | 4 ++-- include/hw/mips/mips.h | 3 +-- include/hw/net/allwinner_emac.h | 1 + include/hw/pci-host/apb.h | 1 + include/hw/timer/allwinner-a10-pit.h | 1 + include/hw/timer/aspeed_timer.h | 1 + include/hw/timer/m48t59.h | 1 + 14 files changed, 20 insertions(+), 4 deletions(-)
hw/net/ne2000.h +2 -0
@@ -3,6 +3,8 @@#ifndef HW_NE2000_H #define HW_NE2000_H 1 +#include "hw/irq.h" +#define NE2000_PMEM_SIZE (32*1024)#define NE2000_PMEM_START (16*1024)#define NE2000_PMEM_END (NE2000_PMEM_SIZE+NE2000_PMEM_START)
hw/net/pcnet.h +1 -0
@@ -10,6 +10,7 @@#define PCNET_LOOPTEST_NOCRC 2#include "exec/memory.h" +#include "hw/irq.h" /* BUS CONFIGURATION REGISTERS */ #define BCR_MSRDA 0
include/hw/block/fdc.h +1 -0
@@ -3,6 +3,7 @@#ifndef HW_FDC_H #define HW_FDC_H +#include "hw/irq.h" #include "qemu-common.h" /* fdc.c */
include/hw/char/escc.h +2 -0
@@ -3,6 +3,8 @@#ifndef HW_ESCC_H #define HW_ESCC_H 1 +#include "hw/irq.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 "hw/irq.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 "hw/irq.h" +static inline DeviceState *xilinx_uartlite_create (hwaddr addr,qemu_irq irq,CharDriverState *chr)
include/hw/cris/etraxfs_dma.h +2 -0
@@ -3,6 +3,8 @@ #ifndef HW_ETRAXFS_DMA_H #define HW_ETRAXFS_DMA_H 1 +#include "hw/irq.h" + struct dma_context_metadata { /* data descriptor md */ uint16_t metadata;
include/hw/isa/vt82c686.h +2 -2
@@ -1,8 +1,8 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_VT82C686_H #define HW_VT82C686_H +#include "hw/irq.h" +/* vt82c686.c */ ISABus *vt82c686b_init (PCIBus * bus,int devfn);void vt82c686b_ac97_init (PCIBus *bus,int devfn);
include/hw/mips/mips.h +1 -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. */
@@ -8,6 +6,7 @@#define INITRD_PAGE_MASK (~((1 << 16) - 1))#include "exec/memory.h" +#include "hw/irq.h" /* gt64xxx.c */ PCIBus *gt64120_register (qemu_irq *pic);
include/hw/net/allwinner_emac.h +1 -0
@@ -27,6 +27,7 @@#include "net/net.h" #include "qemu/fifo8.h" +#include "hw/irq.h" #include "hw/net/mii.h" #define TYPE_AW_EMAC "allwinner-emac"
include/hw/pci-host/apb.h +1 -0
@@ -3,6 +3,7 @@#ifndef APB_PCI_H #define APB_PCI_H +#include "hw/irq.h" #include "qemu-common.h" PCIBus *pci_apb_init(hwaddr special_base,
include/hw/timer/allwinner-a10-pit.h +1 -0
@@ -3,6 +3,7 @@#ifndef AW_A10_PIT_H #define AW_A10_PIT_H +#include "hw/irq.h" #include "hw/ptimer.h" #define TYPE_AW_A10_PIT "allwinner-A10-timer"
include/hw/timer/aspeed_timer.h +1 -0
@@ -25,6 +25,7 @@#ifndef ASPEED_TIMER_H #define ASPEED_TIMER_H +#include "hw/irq.h" #include "qemu/timer.h" #define ASPEED_TIMER (obj) \
include/hw/timer/m48t59.h +1 -0
@@ -3,6 +3,7 @@#ifndef NVRAM_H #define NVRAM_H +#include "hw/irq.h" #include "qemu-common.h" #include "qom/object.h"
Signature · 1 line
2.5.5
RFC PATCH v3 4/5 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 | 3 +-- include/hw/char/pl011.h | 1 + include/hw/char/xilinx_uartlite.h | 1 + include/hw/cris/etraxfs_dma.h | 3 +-- 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, 30 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 "hw/irq.h" #include "qemu-common.h"
include/hw/char/escc.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_ESCC_H #define HW_ESCC_H 1 +#include "exec/hwaddr.h" #include "hw/irq.h" /* escc.c */
include/hw/char/pl011.h +1 -0
@@ -17,6 +17,7 @@#ifndef PL011_UART_H #define PL011_UART_H +#include "exec/hwaddr.h" #include "hw/irq.h" static inline DeviceState *pl011_create(hwaddr addr,
include/hw/char/xilinx_uartlite.h +1 -0
@@ -17,6 +17,7 @@#ifndef XILINX_UARTLITE_H #define XILINX_UARTLITE_H +#include "exec/hwaddr.h" #include "hw/irq.h" static inline DeviceState *xilinx_uartlite_create(hwaddr addr,
include/hw/cris/etraxfs_dma.h +1 -2
@@ -1,8 +1,7 @@ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_ETRAXFS_DMA_H #define HW_ETRAXFS_DMA_H 1 +#include "exec/hwaddr.h" #include "hw/irq.h" struct dma_context_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 "hw/irq.h" #include "qemu-common.h"
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 "hw/irq.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
RFC PATCH v3 5/5 Add a few missing #include "qemu/queue.h"
In reply to Markus Armbruster--- audio/audio_int.h | 2 ++ block/vhdx.h | 2 ++ hw/9pfs/9p-synth.h | 3 +-- include/hw/pci/pci_bus.h | 2 ++ 4 files changed, 7 insertions(+), 2 deletions(-)
audio/audio_int.h +2 -0
@@ -27,6 +27,8 @@#ifndef QEMU_AUDIO_INT_H #define QEMU_AUDIO_INT_H +#include "qemu/queue.h" +#ifdef CONFIG_COREAUDIO #define FLOAT_MIXENG /* #define RECIPROCAL */
block/vhdx.h +2 -0
@@ -20,6 +20,8 @@#ifndef BLOCK_VHDX_H #define BLOCK_VHDX_H +#include "qemu/queue.h" +#define KiB (1 * 1024)#define MiB (KiB * 1024)#define GiB (MiB * 1024)
hw/9pfs/9p-synth.h +1 -2
@@ -11,11 +11,10 @@* */ -/* FIXME Does not pass make check-headers, yet! */ -#ifndef HW_9PFS_SYNTH_H #define HW_9PFS_SYNTH_H 1 +#include "qemu/queue.h" typedef struct V9fsSynthNode V9fsSynthNode ; typedef ssize_t (*v9fs_synth_read)(void *buf, int len, off_t offset,
include/hw/pci/pci_bus.h +2 -0
@@ -3,6 +3,8 @@#ifndef QEMU_PCI_BUS_H #define QEMU_PCI_BUS_H +#include "qemu/queue.h" +/* * PCI Bus and Bridge datastructures. *
Signature · 1 line
2.5.5