Update header guards bases on new coding style
Subsystems (7)
PATCH 4/20 xen: Update header guards - ARGO
In reply to Frediano ZiglioUpdated headers related to ARGO.
--- xen/include/public/argo.h | 4 ++-- xen/include/xen/argo.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
xen/include/public/argo.h +2 -2
@@ -9,8 +9,8 @@* */ -#ifndef __XEN_PUBLIC_ARGO_H__ -#define __XEN_PUBLIC_ARGO_H__ +#ifndef PUBLIC__ARGO_H +#define PUBLIC__ARGO_H #include "xen.h"
xen/include/xen/argo.h +2 -2
@@ -12,8 +12,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_ARGO_H__ -#define __XEN_ARGO_H__ +#ifndef XEN__ARGO_H +#define XEN__ARGO_H #include <xen/sched.h>
Signature · 1 line
2.34.1
cover Update header guards bases on new coding style
With the help of some script I and manual checking I updated all header guards.
As the changes are pretty large patch was split based on maintainers to reduce mail spamming.
Frediano Ziglio (20):
xen: Update header guards - Generic
xen: Update header guards - X86
xen: Update header guards - ACPI
xen: Update header guards - ARGO
xen: Update header guards - ARM
xen: Update header guards - Device tree
xen: Update header guards - EFI
xen: Update header guards - HYPFS
xen: Update header guards - Intel TXT
xen: Update header guards - I/O MMU
xen: Update header guards - Kconfig
xen: Update header guards - KEXEC
xen: Update header guards - Live patch
xen: Update header guards - PPC 64
xen: Update header guards - Public I/O
xen: Update header guards - RISC-V
xen: Update header guards - Scheduling
xen: Update header guards - VM event, mem access, monitor
xen: Update header guards - VPCI
xen: Update header guards - XSM/Flask
xen/arch/arm/arm32/lib/assembler.h | 6 +++--- xen/arch/arm/arm64/lib/assembler.h | 6 +++--- xen/arch/arm/decode.h | 6 +++--- xen/arch/arm/include/asm/acpi.h | 6 +++--- xen/arch/arm/include/asm/alternative.h | 6 +++--- xen/arch/arm/include/asm/arm32/atomic.h | 6 +++--- xen/arch/arm/include/asm/arm32/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm32/bug.h | 6 +++--- xen/arch/arm/include/asm/arm32/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm32/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm32/insn.h | 6 +++--- xen/arch/arm/include/asm/arm32/io.h | 6 +++--- xen/arch/arm/include/asm/arm32/macros.h | 6 +++--- xen/arch/arm/include/asm/arm32/mm.h | 6 +++--- xen/arch/arm/include/asm/arm32/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm32/page.h | 6 +++--- xen/arch/arm/include/asm/arm32/processor.h | 6 +++--- xen/arch/arm/include/asm/arm32/sysregs.h | 6 +++--- xen/arch/arm/include/asm/arm32/system.h | 4 ++-- xen/arch/arm/include/asm/arm32/traps.h | 6 +++--- xen/arch/arm/include/asm/arm32/vfp.h | 6 +++--- xen/arch/arm/include/asm/arm64/atomic.h | 4 ++-- xen/arch/arm/include/asm/arm64/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm64/brk.h | 6 +++--- xen/arch/arm/include/asm/arm64/bug.h | 6 +++--- xen/arch/arm/include/asm/arm64/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm64/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/arm64/efibind.h | 4 ++-- xen/arch/arm/include/asm/arm64/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm64/hsr.h | 6 +++--- xen/arch/arm/include/asm/arm64/insn.h | 6 +++--- xen/arch/arm/include/asm/arm64/io.h | 6 +++--- xen/arch/arm/include/asm/arm64/macros.h | 6 +++--- xen/arch/arm/include/asm/arm64/mm.h | 6 +++--- xen/arch/arm/include/asm/arm64/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm64/page.h | 6 +++--- xen/arch/arm/include/asm/arm64/processor.h | 6 +++--- xen/arch/arm/include/asm/arm64/sve.h | 6 +++--- xen/arch/arm/include/asm/arm64/sysregs.h | 4 ++-- xen/arch/arm/include/asm/arm64/system.h | 4 ++-- xen/arch/arm/include/asm/arm64/traps.h | 6 +++--- xen/arch/arm/include/asm/arm64/vfp.h | 6 +++--- xen/arch/arm/include/asm/asm_defns.h | 6 +++--- xen/arch/arm/include/asm/atomic.h | 6 +++--- xen/arch/arm/include/asm/bitops.h | 6 +++--- xen/arch/arm/include/asm/bug.h | 6 +++--- xen/arch/arm/include/asm/byteorder.h | 6 +++--- xen/arch/arm/include/asm/cache.h | 4 ++-- xen/arch/arm/include/asm/cadence-uart.h | 4 ++-- xen/arch/arm/include/asm/config.h | 6 +++--- xen/arch/arm/include/asm/cpregs.h | 4 ++-- xen/arch/arm/include/asm/cpuerrata.h | 6 +++--- xen/arch/arm/include/asm/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/current.h | 6 +++--- xen/arch/arm/include/asm/div64.h | 4 ++-- xen/arch/arm/include/asm/dom0less-build.h | 6 +++--- xen/arch/arm/include/asm/domain.h | 6 +++--- xen/arch/arm/include/asm/domain_build.h | 4 ++-- xen/arch/arm/include/asm/early_printk.h | 4 ++-- xen/arch/arm/include/asm/elf.h | 6 +++--- xen/arch/arm/include/asm/event.h | 4 ++-- xen/arch/arm/include/asm/exynos4210-uart.h | 6 +++--- xen/arch/arm/include/asm/fixmap.h | 6 +++--- xen/arch/arm/include/asm/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/gic.h | 4 ++-- xen/arch/arm/include/asm/gic_v3_defs.h | 6 +++--- xen/arch/arm/include/asm/gic_v3_its.h | 4 ++-- xen/arch/arm/include/asm/grant_table.h | 6 +++--- xen/arch/arm/include/asm/guest_access.h | 6 +++--- xen/arch/arm/include/asm/guest_atomics.h | 6 +++--- xen/arch/arm/include/asm/guest_walk.h | 6 +++--- xen/arch/arm/include/asm/hsr.h | 6 +++--- xen/arch/arm/include/asm/hypercall.h | 8 ++++---- xen/arch/arm/include/asm/imx-lpuart.h | 6 +++--- xen/arch/arm/include/asm/insn.h | 6 +++--- xen/arch/arm/include/asm/io.h | 4 ++-- xen/arch/arm/include/asm/iommu.h | 6 +++--- xen/arch/arm/include/asm/iommu_fwspec.h | 6 +++--- xen/arch/arm/include/asm/ioreq.h | 6 +++--- xen/arch/arm/include/asm/irq.h | 6 +++--- xen/arch/arm/include/asm/kernel.h | 6 +++--- xen/arch/arm/include/asm/livepatch.h | 6 +++--- xen/arch/arm/include/asm/lpae.h | 6 +++--- xen/arch/arm/include/asm/macros.h | 4 ++-- xen/arch/arm/include/asm/mem_access.h | 6 +++--- xen/arch/arm/include/asm/mm.h | 6 +++--- xen/arch/arm/include/asm/mmio.h | 6 +++--- xen/arch/arm/include/asm/mmu/layout.h | 6 +++--- xen/arch/arm/include/asm/mmu/mm.h | 6 +++--- xen/arch/arm/include/asm/mmu/p2m.h | 6 +++--- xen/arch/arm/include/asm/monitor.h | 6 +++--- xen/arch/arm/include/asm/new_vgic.h | 6 +++--- xen/arch/arm/include/asm/nospec.h | 6 +++--- xen/arch/arm/include/asm/p2m.h | 8 ++++---- xen/arch/arm/include/asm/page-bits.h | 6 +++--- xen/arch/arm/include/asm/page.h | 6 +++--- xen/arch/arm/include/asm/pci.h | 6 +++--- xen/arch/arm/include/asm/perfc.h | 4 ++-- xen/arch/arm/include/asm/perfc_defn.h | 6 +++--- xen/arch/arm/include/asm/pl011-uart.h | 6 +++--- xen/arch/arm/include/asm/platform.h | 6 +++--- xen/arch/arm/include/asm/platforms/exynos5.h | 6 +++--- xen/arch/arm/include/asm/platforms/midway.h | 2 +- xen/arch/arm/include/asm/platforms/omap5.h | 4 ++-- xen/arch/arm/include/asm/platforms/vexpress.h | 6 +++--- xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h | 6 +++--- xen/arch/arm/include/asm/pmap.h | 6 +++--- xen/arch/arm/include/asm/processor.h | 6 +++--- xen/arch/arm/include/asm/procinfo.h | 4 ++-- xen/arch/arm/include/asm/psci.h | 6 +++--- xen/arch/arm/include/asm/regs.h | 6 +++--- xen/arch/arm/include/asm/scif-uart.h | 6 +++--- xen/arch/arm/include/asm/setup.h | 4 ++-- xen/arch/arm/include/asm/short-desc.h | 6 +++--- xen/arch/arm/include/asm/smccc.h | 6 +++--- xen/arch/arm/include/asm/smp.h | 4 ++-- xen/arch/arm/include/asm/spinlock.h | 6 +++--- xen/arch/arm/include/asm/static-evtchn.h | 6 +++--- xen/arch/arm/include/asm/static-memory.h | 6 +++--- xen/arch/arm/include/asm/static-shmem.h | 6 +++--- xen/arch/arm/include/asm/string.h | 6 +++--- xen/arch/arm/include/asm/sysregs.h | 6 +++--- xen/arch/arm/include/asm/system.h | 4 ++-- xen/arch/arm/include/asm/tee/ffa.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_msg.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_rpc_cmd.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_smc.h | 6 +++--- xen/arch/arm/include/asm/tee/tee.h | 6 +++--- xen/arch/arm/include/asm/time.h | 6 +++--- xen/arch/arm/include/asm/traps.h | 6 +++--- xen/arch/arm/include/asm/types.h | 6 +++--- xen/arch/arm/include/asm/vfp.h | 6 +++--- xen/arch/arm/include/asm/vgic-emul.h | 6 +++--- xen/arch/arm/include/asm/vgic.h | 6 +++--- xen/arch/arm/include/asm/vpl011.h | 6 +++--- xen/arch/arm/include/asm/vpsci.h | 6 +++--- xen/arch/arm/include/asm/vreg.h | 6 +++--- xen/arch/arm/include/asm/vtimer.h | 4 ++-- xen/arch/arm/tee/ffa_private.h | 6 +++--- xen/arch/arm/vgic/vgic-mmio.h | 4 ++-- xen/arch/arm/vgic/vgic.h | 4 ++-- xen/arch/arm/vpci.h | 6 +++--- xen/arch/arm/vuart.h | 6 +++--- xen/arch/ppc/include/asm/asm-defns.h | 6 +++--- xen/arch/ppc/include/asm/atomic.h | 6 +++--- xen/arch/ppc/include/asm/bitops.h | 6 +++--- xen/arch/ppc/include/asm/boot.h | 6 +++--- xen/arch/ppc/include/asm/bug.h | 6 +++--- xen/arch/ppc/include/asm/byteorder.h | 6 +++--- xen/arch/ppc/include/asm/cache.h | 6 +++--- xen/arch/ppc/include/asm/config.h | 6 +++--- xen/arch/ppc/include/asm/cpufeature.h | 6 +++--- xen/arch/ppc/include/asm/current.h | 6 +++--- xen/arch/ppc/include/asm/domain.h | 6 +++--- xen/arch/ppc/include/asm/early_printk.h | 6 +++--- xen/arch/ppc/include/asm/event.h | 6 +++--- xen/arch/ppc/include/asm/flushtlb.h | 6 +++--- xen/arch/ppc/include/asm/guest_access.h | 6 +++--- xen/arch/ppc/include/asm/guest_atomics.h | 6 +++--- xen/arch/ppc/include/asm/io.h | 6 +++--- xen/arch/ppc/include/asm/iommu.h | 6 +++--- xen/arch/ppc/include/asm/irq.h | 6 +++--- xen/arch/ppc/include/asm/memory.h | 4 ++-- xen/arch/ppc/include/asm/mm.h | 6 +++--- xen/arch/ppc/include/asm/monitor.h | 6 +++--- xen/arch/ppc/include/asm/msr.h | 6 +++--- xen/arch/ppc/include/asm/nospec.h | 6 +++--- xen/arch/ppc/include/asm/opal-api.h | 6 +++--- xen/arch/ppc/include/asm/p2m.h | 6 +++--- xen/arch/ppc/include/asm/page-bits.h | 6 +++--- xen/arch/ppc/include/asm/page.h | 6 +++--- xen/arch/ppc/include/asm/processor.h | 6 +++--- xen/arch/ppc/include/asm/regs.h | 6 +++--- xen/arch/ppc/include/asm/setup.h | 6 +++--- xen/arch/ppc/include/asm/smp.h | 4 ++-- xen/arch/ppc/include/asm/spinlock.h | 6 +++--- xen/arch/ppc/include/asm/string.h | 6 +++--- xen/arch/ppc/include/asm/system.h | 4 ++-- xen/arch/ppc/include/asm/time.h | 6 +++--- xen/arch/ppc/include/asm/types.h | 6 +++--- xen/arch/riscv/include/asm/acpi.h | 6 +++--- xen/arch/riscv/include/asm/asm.h | 6 +++--- xen/arch/riscv/include/asm/atomic.h | 6 +++--- xen/arch/riscv/include/asm/bitops.h | 6 +++--- xen/arch/riscv/include/asm/bug.h | 6 +++--- xen/arch/riscv/include/asm/byteorder.h | 6 +++--- xen/arch/riscv/include/asm/cache.h | 6 +++--- xen/arch/riscv/include/asm/cmpxchg.h | 6 +++--- xen/arch/riscv/include/asm/config.h | 6 +++--- xen/arch/riscv/include/asm/cpufeature.h | 6 +++--- xen/arch/riscv/include/asm/csr.h | 6 +++--- xen/arch/riscv/include/asm/current.h | 6 +++--- xen/arch/riscv/include/asm/domain.h | 6 +++--- xen/arch/riscv/include/asm/early_printk.h | 6 +++--- xen/arch/riscv/include/asm/event.h | 6 +++--- xen/arch/riscv/include/asm/fence.h | 6 +++--- xen/arch/riscv/include/asm/fixmap.h | 6 +++--- xen/arch/riscv/include/asm/flushtlb.h | 6 +++--- xen/arch/riscv/include/asm/guest_access.h | 6 +++--- xen/arch/riscv/include/asm/guest_atomics.h | 6 +++--- xen/arch/riscv/include/asm/io.h | 6 +++--- xen/arch/riscv/include/asm/irq.h | 6 +++--- xen/arch/riscv/include/asm/mm.h | 6 +++--- xen/arch/riscv/include/asm/monitor.h | 6 +++--- xen/arch/riscv/include/asm/nospec.h | 6 +++--- xen/arch/riscv/include/asm/p2m.h | 6 +++--- xen/arch/riscv/include/asm/page-bits.h | 6 +++--- xen/arch/riscv/include/asm/page.h | 6 +++--- xen/arch/riscv/include/asm/pmap.h | 6 +++--- xen/arch/riscv/include/asm/processor.h | 6 +++--- xen/arch/riscv/include/asm/regs.h | 6 +++--- xen/arch/riscv/include/asm/riscv_encoding.h | 4 ++-- xen/arch/riscv/include/asm/sbi.h | 6 +++--- xen/arch/riscv/include/asm/setup.h | 6 +++--- xen/arch/riscv/include/asm/smp.h | 4 ++-- xen/arch/riscv/include/asm/spinlock.h | 6 +++--- xen/arch/riscv/include/asm/string.h | 6 +++--- xen/arch/riscv/include/asm/system.h | 6 +++--- xen/arch/riscv/include/asm/time.h | 6 +++--- xen/arch/riscv/include/asm/traps.h | 6 +++--- xen/arch/riscv/include/asm/types.h | 6 +++--- xen/arch/x86/boot/video.h | 6 +++--- xen/arch/x86/cpu/mcheck/barrier.h | 6 +++--- xen/arch/x86/cpu/mcheck/mcaction.h | 4 ++-- xen/arch/x86/cpu/mcheck/mce.h | 6 +++--- xen/arch/x86/cpu/mcheck/mce_amd.h | 4 ++-- xen/arch/x86/cpu/mcheck/mctelem.h | 4 ++-- xen/arch/x86/cpu/mcheck/util.h | 4 ++-- xen/arch/x86/cpu/mcheck/vmce.h | 4 ++-- xen/arch/x86/cpu/mcheck/x86_mca.h | 6 +++--- xen/arch/x86/cpu/microcode/private.h | 6 +++--- xen/arch/x86/cpu/mtrr/mtrr.h | 6 +++--- xen/arch/x86/guest/hyperv/private.h | 6 +++--- xen/arch/x86/hvm/svm/nestedhvm.h | 6 +++--- xen/arch/x86/hvm/svm/svm.h | 6 +++--- xen/arch/x86/hvm/viridian/private.h | 6 +++--- xen/arch/x86/include/asm/acpi.h | 4 ++-- xen/arch/x86/include/asm/alternative-asm.h | 6 +++--- xen/arch/x86/include/asm/alternative.h | 6 +++--- xen/arch/x86/include/asm/altp2m.h | 6 +++--- xen/arch/x86/include/asm/amd.h | 6 +++--- xen/arch/x86/include/asm/apic.h | 6 +++--- xen/arch/x86/include/asm/apicdef.h | 4 ++-- xen/arch/x86/include/asm/asm_defns.h | 6 +++--- xen/arch/x86/include/asm/atomic.h | 6 +++--- xen/arch/x86/include/asm/bitops.h | 6 +++--- xen/arch/x86/include/asm/bug.h | 6 +++--- xen/arch/x86/include/asm/byteorder.h | 6 +++--- xen/arch/x86/include/asm/bzimage.h | 6 +++--- xen/arch/x86/include/asm/cache.h | 4 ++-- xen/arch/x86/include/asm/config.h | 6 +++--- xen/arch/x86/include/asm/cpu-policy.h | 6 +++--- xen/arch/x86/include/asm/cpufeature.h | 6 +++--- xen/arch/x86/include/asm/cpufeatureset.h | 6 +++--- xen/arch/x86/include/asm/cpuid.h | 6 +++--- xen/arch/x86/include/asm/cpuidle.h | 4 ++-- xen/arch/x86/include/asm/current.h | 6 +++--- xen/arch/x86/include/asm/debugreg.h | 6 +++--- xen/arch/x86/include/asm/desc.h | 6 +++--- xen/arch/x86/include/asm/device.h | 6 +++--- xen/arch/x86/include/asm/dom0_build.h | 6 +++--- xen/arch/x86/include/asm/domain.h | 6 +++--- xen/arch/x86/include/asm/e820.h | 6 +++--- xen/arch/x86/include/asm/edd.h | 6 +++--- xen/arch/x86/include/asm/elf.h | 6 +++--- xen/arch/x86/include/asm/endbr.h | 6 +++--- xen/arch/x86/include/asm/event.h | 4 ++-- xen/arch/x86/include/asm/fixmap.h | 4 ++-- xen/arch/x86/include/asm/flushtlb.h | 6 +++--- xen/arch/x86/include/asm/gdbsx.h | 6 +++--- xen/arch/x86/include/asm/genapic.h | 4 ++-- xen/arch/x86/include/asm/grant_table.h | 6 +++--- xen/arch/x86/include/asm/guest.h | 6 +++--- xen/arch/x86/include/asm/guest/hyperv-hcall.h | 6 +++--- xen/arch/x86/include/asm/guest/hyperv-tlfs.h | 4 ++-- xen/arch/x86/include/asm/guest/hyperv.h | 6 +++--- xen/arch/x86/include/asm/guest/hypervisor.h | 6 +++--- xen/arch/x86/include/asm/guest/pvh-boot.h | 6 +++--- xen/arch/x86/include/asm/guest/xen-hcall.h | 6 +++--- xen/arch/x86/include/asm/guest/xen.h | 6 +++--- xen/arch/x86/include/asm/guest_access.h | 6 +++--- xen/arch/x86/include/asm/guest_atomics.h | 6 +++--- xen/arch/x86/include/asm/guest_pt.h | 6 +++--- xen/arch/x86/include/asm/hap.h | 4 ++-- xen/arch/x86/include/asm/hardirq.h | 6 +++--- xen/arch/x86/include/asm/hpet.h | 6 +++--- xen/arch/x86/include/asm/hvm/asid.h | 6 +++--- xen/arch/x86/include/asm/hvm/cacheattr.h | 6 +++--- xen/arch/x86/include/asm/hvm/domain.h | 6 +++--- xen/arch/x86/include/asm/hvm/emulate.h | 6 +++--- xen/arch/x86/include/asm/hvm/grant_table.h | 6 +++--- xen/arch/x86/include/asm/hvm/guest_access.h | 6 +++--- xen/arch/x86/include/asm/hvm/hvm.h | 6 +++--- xen/arch/x86/include/asm/hvm/io.h | 6 +++--- xen/arch/x86/include/asm/hvm/ioreq.h | 6 +++--- xen/arch/x86/include/asm/hvm/irq.h | 6 +++--- xen/arch/x86/include/asm/hvm/monitor.h | 6 +++--- xen/arch/x86/include/asm/hvm/nestedhvm.h | 6 +++--- xen/arch/x86/include/asm/hvm/save.h | 6 +++--- xen/arch/x86/include/asm/hvm/support.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/nestedsvm.h | 4 ++-- xen/arch/x86/include/asm/hvm/svm/svm.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/svmdebug.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/vmcb.h | 4 ++-- xen/arch/x86/include/asm/hvm/vcpu.h | 6 +++--- xen/arch/x86/include/asm/hvm/vioapic.h | 6 +++--- xen/arch/x86/include/asm/hvm/viridian.h | 6 +++--- xen/arch/x86/include/asm/hvm/vlapic.h | 6 +++--- xen/arch/x86/include/asm/hvm/vm_event.h | 6 +++--- xen/arch/x86/include/asm/hvm/vmx/vmcs.h | 4 ++-- xen/arch/x86/include/asm/hvm/vmx/vmx.h | 6 +++--- xen/arch/x86/include/asm/hvm/vmx/vvmx.h | 6 +++--- xen/arch/x86/include/asm/hvm/vpic.h | 6 +++--- xen/arch/x86/include/asm/hvm/vpt.h | 6 +++--- xen/arch/x86/include/asm/hypercall.h | 8 ++++---- xen/arch/x86/include/asm/i387.h | 6 +++--- xen/arch/x86/include/asm/intel-family.h | 6 +++--- xen/arch/x86/include/asm/invpcid.h | 6 +++--- xen/arch/x86/include/asm/io.h | 4 ++-- xen/arch/x86/include/asm/io_apic.h | 4 ++-- xen/arch/x86/include/asm/iocap.h | 6 +++--- xen/arch/x86/include/asm/iommu.h | 6 +++--- xen/arch/x86/include/asm/ioreq.h | 6 +++--- xen/arch/x86/include/asm/irq.h | 6 +++--- xen/arch/x86/include/asm/ldt.h | 4 ++-- xen/arch/x86/include/asm/livepatch.h | 6 +++--- xen/arch/x86/include/asm/mach-default/bios_ebda.h | 6 +++--- xen/arch/x86/include/asm/mach-default/io_ports.h | 6 +++--- xen/arch/x86/include/asm/mach-default/irq_vectors.h | 6 +++--- xen/arch/x86/include/asm/mach-default/mach_mpspec.h | 6 +++--- xen/arch/x86/include/asm/mach-generic/mach_apic.h | 6 +++--- xen/arch/x86/include/asm/machine_kexec.h | 6 +++--- xen/arch/x86/include/asm/mc146818rtc.h | 6 +++--- xen/arch/x86/include/asm/mce.h | 4 ++-- xen/arch/x86/include/asm/mem_access.h | 6 +++--- xen/arch/x86/include/asm/mem_paging.h | 6 +++--- xen/arch/x86/include/asm/mem_sharing.h | 6 +++--- xen/arch/x86/include/asm/microcode.h | 6 +++--- xen/arch/x86/include/asm/mm.h | 6 +++--- xen/arch/x86/include/asm/monitor.h | 6 +++--- xen/arch/x86/include/asm/mpspec.h | 4 ++-- xen/arch/x86/include/asm/mpspec_def.h | 4 ++-- xen/arch/x86/include/asm/msi.h | 6 +++--- xen/arch/x86/include/asm/msr-index.h | 6 +++--- xen/arch/x86/include/asm/msr.h | 6 +++--- xen/arch/x86/include/asm/mtrr.h | 6 +++--- xen/arch/x86/include/asm/multicall.h | 6 +++--- xen/arch/x86/include/asm/mwait.h | 6 +++--- xen/arch/x86/include/asm/nmi.h | 6 +++--- xen/arch/x86/include/asm/nops.h | 6 +++--- xen/arch/x86/include/asm/nospec.h | 6 +++--- xen/arch/x86/include/asm/numa.h | 4 ++-- xen/arch/x86/include/asm/p2m.h | 8 ++++---- xen/arch/x86/include/asm/page-bits.h | 6 +++--- xen/arch/x86/include/asm/page.h | 6 +++--- xen/arch/x86/include/asm/paging.h | 4 ++-- xen/arch/x86/include/asm/pci.h | 6 +++--- xen/arch/x86/include/asm/perfc.h | 4 ++-- xen/arch/x86/include/asm/perfc_defn.h | 6 +++--- xen/arch/x86/include/asm/processor.h | 6 +++--- xen/arch/x86/include/asm/prot-key.h | 6 +++--- xen/arch/x86/include/asm/psr.h | 6 +++--- xen/arch/x86/include/asm/pt-contig-markers.h | 6 +++--- xen/arch/x86/include/asm/pv/domain.h | 6 +++--- xen/arch/x86/include/asm/pv/grant_table.h | 6 +++--- xen/arch/x86/include/asm/pv/mm.h | 6 +++--- xen/arch/x86/include/asm/pv/shim.h | 6 +++--- xen/arch/x86/include/asm/pv/trace.h | 6 +++--- xen/arch/x86/include/asm/pv/traps.h | 6 +++--- xen/arch/x86/include/asm/random.h | 6 +++--- xen/arch/x86/include/asm/regs.h | 6 +++--- xen/arch/x86/include/asm/setup.h | 4 ++-- xen/arch/x86/include/asm/shadow.h | 6 +++--- xen/arch/x86/include/asm/shared.h | 6 +++--- xen/arch/x86/include/asm/shstk.h | 6 +++--- xen/arch/x86/include/asm/smp.h | 4 ++-- xen/arch/x86/include/asm/softirq.h | 6 +++--- xen/arch/x86/include/asm/spec_ctrl.h | 6 +++--- xen/arch/x86/include/asm/spec_ctrl_asm.h | 6 +++--- xen/arch/x86/include/asm/spinlock.h | 6 +++--- xen/arch/x86/include/asm/string.h | 6 +++--- xen/arch/x86/include/asm/system.h | 4 ++-- xen/arch/x86/include/asm/tboot.h | 6 +++--- xen/arch/x86/include/asm/time.h | 6 +++--- xen/arch/x86/include/asm/trampoline.h | 6 +++--- xen/arch/x86/include/asm/traps.h | 6 +++--- xen/arch/x86/include/asm/types.h | 6 +++--- xen/arch/x86/include/asm/uaccess.h | 6 +++--- xen/arch/x86/include/asm/vm_event.h | 6 +++--- xen/arch/x86/include/asm/vpmu.h | 6 +++--- xen/arch/x86/include/asm/x86-defns.h | 6 +++--- xen/arch/x86/include/asm/x86-vendors.h | 6 +++--- xen/arch/x86/include/asm/x86_64/efibind.h | 4 ++-- xen/arch/x86/include/asm/x86_64/elf.h | 6 +++--- xen/arch/x86/include/asm/x86_64/page.h | 6 +++--- xen/arch/x86/include/asm/x86_64/regs.h | 4 ++-- xen/arch/x86/include/asm/x86_64/system.h | 6 +++--- xen/arch/x86/include/asm/x86_64/uaccess.h | 6 +++--- xen/arch/x86/include/asm/x86_emulate.h | 6 +++--- xen/arch/x86/include/asm/xenoprof.h | 6 +++--- xen/arch/x86/include/asm/xstate.h | 6 +++--- xen/arch/x86/mm/hap/private.h | 6 +++--- xen/arch/x86/mm/mm-locks.h | 6 +++--- xen/arch/x86/mm/p2m.h | 6 +++--- xen/arch/x86/mm/shadow/private.h | 6 +++--- xen/arch/x86/mm/shadow/types.h | 6 +++--- xen/arch/x86/oprofile/op_counter.h | 6 +++--- xen/arch/x86/oprofile/op_x86_model.h | 6 +++--- xen/arch/x86/pv/emulate.h | 6 +++--- xen/arch/x86/pv/mm.h | 6 +++--- xen/arch/x86/x86_emulate/x86_emulate.h | 6 +++--- xen/common/coverage/coverage.h | 4 ++-- xen/common/coverage/gcov.h | 6 +++--- xen/common/libelf/libelf-private.h | 6 +++--- xen/common/libfdt/libfdt_internal.h | 6 +++--- xen/common/lz4/defs.h | 6 +++--- xen/common/sched/private.h | 6 +++--- xen/common/ubsan/ubsan.h | 4 ++-- xen/common/xz/lzma2.h | 4 ++-- xen/common/xz/private.h | 4 ++-- xen/common/xz/stream.h | 4 ++-- xen/common/zstd/bitstream.h | 6 +++--- xen/common/zstd/error_private.h | 6 +++--- xen/common/zstd/fse.h | 6 +++--- xen/common/zstd/huf.h | 6 +++--- xen/common/zstd/mem.h | 6 +++--- xen/common/zstd/zstd_internal.h | 6 +++--- xen/drivers/acpi/apei/apei-internal.h | 4 ++-- xen/drivers/passthrough/amd/iommu-defs.h | 6 +++--- xen/drivers/passthrough/amd/iommu.h | 6 +++--- xen/drivers/passthrough/arm/smmu-v3.h | 6 +++--- xen/drivers/passthrough/ats.h | 6 +++--- xen/drivers/passthrough/vtd/dmar.h | 6 +++--- xen/drivers/passthrough/vtd/extern.h | 6 +++--- xen/drivers/passthrough/vtd/iommu.h | 4 ++-- xen/drivers/passthrough/vtd/vtd.h | 6 +++--- xen/drivers/video/font.h | 6 +++--- xen/drivers/video/lfb.h | 4 ++-- xen/drivers/video/modelines.h | 4 ++-- xen/include/acpi/acconfig.h | 6 +++--- xen/include/acpi/acexcep.h | 6 +++--- xen/include/acpi/acglobal.h | 6 +++--- xen/include/acpi/achware.h | 6 +++--- xen/include/acpi/aclocal.h | 6 +++--- xen/include/acpi/acmacros.h | 4 ++-- xen/include/acpi/acnames.h | 6 +++--- xen/include/acpi/acoutput.h | 6 +++--- xen/include/acpi/acpi.h | 6 +++--- xen/include/acpi/acpiosxf.h | 6 +++--- xen/include/acpi/acpixf.h | 6 +++--- xen/include/acpi/actables.h | 6 +++--- xen/include/acpi/actbl.h | 6 +++--- xen/include/acpi/actbl1.h | 6 +++--- xen/include/acpi/actbl2.h | 6 +++--- xen/include/acpi/actbl3.h | 6 +++--- xen/include/acpi/actypes.h | 6 +++--- xen/include/acpi/acutils.h | 6 +++--- xen/include/acpi/apei.h | 4 ++-- xen/include/acpi/cpufreq/cpufreq.h | 6 +++--- xen/include/acpi/cpufreq/processor_perf.h | 6 +++--- xen/include/acpi/pdc_intel.h | 6 +++--- xen/include/acpi/platform/acenv.h | 6 +++--- xen/include/acpi/platform/acgcc.h | 6 +++--- xen/include/acpi/platform/aclinux.h | 6 +++--- xen/include/asm-generic/altp2m.h | 6 +++--- xen/include/asm-generic/atomic-ops.h | 6 +++--- xen/include/asm-generic/device.h | 6 +++--- xen/include/asm-generic/div64.h | 4 ++-- xen/include/asm-generic/hardirq.h | 6 +++--- xen/include/asm-generic/hypercall.h | 8 ++++---- xen/include/asm-generic/iocap.h | 6 +++--- xen/include/asm-generic/monitor.h | 6 +++--- xen/include/asm-generic/paging.h | 6 +++--- xen/include/asm-generic/percpu.h | 6 +++--- xen/include/asm-generic/random.h | 6 +++--- xen/include/asm-generic/softirq.h | 6 +++--- xen/include/asm-generic/vm_event.h | 6 +++--- xen/include/crypto/rijndael.h | 6 +++--- xen/include/crypto/vmac.h | 4 ++-- xen/include/efi/efiapi.h | 4 ++-- xen/include/efi/eficapsule.h | 4 ++-- xen/include/efi/eficon.h | 4 ++-- xen/include/efi/efidef.h | 4 ++-- xen/include/efi/efidevp.h | 4 ++-- xen/include/efi/efierr.h | 4 ++-- xen/include/efi/efipciio.h | 6 +++--- xen/include/efi/efiprot.h | 4 ++-- xen/include/public/arch-arm.h | 6 +++--- xen/include/public/arch-arm/hvm/save.h | 4 ++-- xen/include/public/arch-arm/smccc.h | 6 +++--- xen/include/public/arch-ppc.h | 6 +++--- xen/include/public/arch-riscv.h | 6 +++--- xen/include/public/arch-x86/cpufeatureset.h | 6 +++--- xen/include/public/arch-x86/cpuid.h | 6 +++--- xen/include/public/arch-x86/guest-acpi.h | 6 +++--- xen/include/public/arch-x86/hvm/save.h | 6 +++--- xen/include/public/arch-x86/hvm/start_info.h | 6 +++--- xen/include/public/arch-x86/pmu.h | 6 +++--- xen/include/public/arch-x86/xen-mca.h | 6 +++--- xen/include/public/arch-x86/xen-x86_32.h | 6 +++--- xen/include/public/arch-x86/xen-x86_64.h | 6 +++--- xen/include/public/arch-x86/xen.h | 6 +++--- xen/include/public/argo.h | 4 ++-- xen/include/public/callback.h | 6 +++--- xen/include/public/device_tree_defs.h | 4 ++-- xen/include/public/dom0_ops.h | 6 +++--- xen/include/public/domctl.h | 6 +++--- xen/include/public/elfnote.h | 6 +++--- xen/include/public/errno.h | 6 +++--- xen/include/public/event_channel.h | 6 +++--- xen/include/public/features.h | 6 +++--- xen/include/public/grant_table.h | 6 +++--- xen/include/public/hvm/dm_op.h | 6 +++--- xen/include/public/hvm/e820.h | 6 +++--- xen/include/public/hvm/hvm_info_table.h | 6 +++--- xen/include/public/hvm/hvm_op.h | 6 +++--- xen/include/public/hvm/hvm_vcpu.h | 6 +++--- xen/include/public/hvm/hvm_xs_strings.h | 6 +++--- xen/include/public/hvm/ioreq.h | 6 +++--- xen/include/public/hvm/params.h | 6 +++--- xen/include/public/hvm/pvdrivers.h | 6 +++--- xen/include/public/hvm/save.h | 6 +++--- xen/include/public/hypfs.h | 6 +++--- xen/include/public/io/9pfs.h | 4 ++-- xen/include/public/io/blkif.h | 6 +++--- xen/include/public/io/cameraif.h | 6 +++--- xen/include/public/io/console.h | 6 +++--- xen/include/public/io/displif.h | 6 +++--- xen/include/public/io/fbif.h | 4 ++-- xen/include/public/io/fsif.h | 4 ++-- xen/include/public/io/kbdif.h | 6 +++--- xen/include/public/io/netif.h | 4 ++-- xen/include/public/io/pciif.h | 6 +++--- xen/include/public/io/protocols.h | 4 ++-- xen/include/public/io/pvcalls.h | 4 ++-- xen/include/public/io/ring.h | 6 +++--- xen/include/public/io/sndif.h | 6 +++--- xen/include/public/io/tpmif.h | 4 ++-- xen/include/public/io/usbif.h | 6 +++--- xen/include/public/io/vscsiif.h | 6 +++--- xen/include/public/io/xenbus.h | 6 +++--- xen/include/public/io/xs_wire.h | 6 +++--- xen/include/public/kexec.h | 6 +++--- xen/include/public/memory.h | 6 +++--- xen/include/public/nmi.h | 6 +++--- xen/include/public/physdev.h | 6 +++--- xen/include/public/platform.h | 6 +++--- xen/include/public/pmu.h | 6 +++--- xen/include/public/sched.h | 6 +++--- xen/include/public/sysctl.h | 6 +++--- xen/include/public/tmem.h | 6 +++--- xen/include/public/trace.h | 6 +++--- xen/include/public/vcpu.h | 6 +++--- xen/include/public/version.h | 6 +++--- xen/include/public/vm_event.h | 6 +++--- xen/include/public/xen-compat.h | 6 +++--- xen/include/public/xen.h | 6 +++--- xen/include/public/xencomm.h | 6 +++--- xen/include/public/xenoprof.h | 6 +++--- xen/include/public/xsm/flask_op.h | 4 ++-- xen/include/xen/8250-uart.h | 6 +++--- xen/include/xen/acpi.h | 6 +++--- xen/include/xen/alternative-call.h | 6 +++--- xen/include/xen/argo.h | 4 ++-- xen/include/xen/atomic.h | 6 +++--- xen/include/xen/bitmap.h | 6 +++--- xen/include/xen/bitops.h | 6 +++--- xen/include/xen/bootfdt.h | 6 +++--- xen/include/xen/bug.h | 6 +++--- xen/include/xen/byteorder/big_endian.h | 6 +++--- xen/include/xen/byteorder/generic.h | 6 +++--- xen/include/xen/byteorder/little_endian.h | 6 +++--- xen/include/xen/byteorder/swab.h | 6 +++--- xen/include/xen/cache.h | 6 +++--- xen/include/xen/compat.h | 6 +++--- xen/include/xen/compiler.h | 6 +++--- xen/include/xen/config.h | 6 +++--- xen/include/xen/console.h | 6 +++--- xen/include/xen/consoled.h | 6 +++--- xen/include/xen/const.h | 6 +++--- xen/include/xen/coverage.h | 4 ++-- xen/include/xen/cper.h | 4 ++-- xen/include/xen/cpu.h | 6 +++--- xen/include/xen/cpuidle.h | 6 +++--- xen/include/xen/cpumask.h | 6 +++--- xen/include/xen/ctype.h | 4 ++-- xen/include/xen/decompress.h | 4 ++-- xen/include/xen/delay.h | 6 +++--- xen/include/xen/device_tree.h | 4 ++-- xen/include/xen/dm.h | 6 +++--- xen/include/xen/dmi.h | 6 +++--- xen/include/xen/domain.h | 6 +++--- xen/include/xen/domain_page.h | 6 +++--- xen/include/xen/dt-overlay.h | 6 +++--- xen/include/xen/early_printk.h | 4 ++-- xen/include/xen/earlycpio.h | 6 +++--- xen/include/xen/efi.h | 6 +++--- xen/include/xen/elf.h | 6 +++--- xen/include/xen/elfcore.h | 6 +++--- xen/include/xen/elfstructs.h | 6 +++--- xen/include/xen/err.h | 6 +++--- xen/include/xen/errno.h | 6 +++--- xen/include/xen/event.h | 6 +++--- xen/include/xen/grant_table.h | 6 +++--- xen/include/xen/guest_access.h | 6 +++--- xen/include/xen/gunzip.h | 4 ++-- xen/include/xen/hypercall.h | 6 +++--- xen/include/xen/hypfs.h | 6 +++--- xen/include/xen/init.h | 6 +++--- xen/include/xen/inttypes.h | 6 +++--- xen/include/xen/iocap.h | 6 +++--- xen/include/xen/iommu.h | 6 +++--- xen/include/xen/ioreq.h | 6 +++--- xen/include/xen/irq.h | 6 +++--- xen/include/xen/irq_cpustat.h | 6 +++--- xen/include/xen/kconfig.h | 6 +++--- xen/include/xen/kernel.h | 6 +++--- xen/include/xen/kexec.h | 6 +++--- xen/include/xen/keyhandler.h | 6 +++--- xen/include/xen/kimage.h | 6 +++--- xen/include/xen/lib.h | 6 +++--- xen/include/xen/lib/x86/cpu-policy.h | 6 +++--- xen/include/xen/libelf.h | 6 +++--- xen/include/xen/libfdt/fdt.h | 6 +++--- xen/include/xen/libfdt/libfdt-xen.h | 6 +++--- xen/include/xen/libfdt/libfdt.h | 6 +++--- xen/include/xen/libfdt/libfdt_env.h | 6 +++--- xen/include/xen/linkage.h | 6 +++--- xen/include/xen/linux-compat.h | 6 +++--- xen/include/xen/list.h | 6 +++--- xen/include/xen/list_sort.h | 4 ++-- xen/include/xen/livepatch.h | 6 +++--- xen/include/xen/livepatch_elf.h | 6 +++--- xen/include/xen/livepatch_payload.h | 6 +++--- xen/include/xen/lz4.h | 4 ++-- xen/include/xen/lzo.h | 4 ++-- xen/include/xen/macros.h | 6 +++--- xen/include/xen/mem_access.h | 6 +++--- xen/include/xen/mm-frame.h | 6 +++--- xen/include/xen/mm.h | 6 +++--- xen/include/xen/monitor.h | 6 +++--- xen/include/xen/msi.h | 4 ++-- xen/include/xen/multiboot.h | 6 +++--- xen/include/xen/multiboot2.h | 6 +++--- xen/include/xen/multicall.h | 6 +++--- xen/include/xen/nodemask.h | 6 +++--- xen/include/xen/nospec.h | 6 +++--- xen/include/xen/notifier.h | 6 +++--- xen/include/xen/numa.h | 6 +++--- xen/include/xen/p2m-common.h | 6 +++--- xen/include/xen/page-defs.h | 6 +++--- xen/include/xen/page-size.h | 4 ++-- xen/include/xen/paging.h | 6 +++--- xen/include/xen/param.h | 6 +++--- xen/include/xen/pci.h | 6 +++--- xen/include/xen/pci_regs.h | 6 +++--- xen/include/xen/pdx.h | 6 +++--- xen/include/xen/percpu.h | 6 +++--- xen/include/xen/perfc.h | 6 +++--- xen/include/xen/perfc_defn.h | 6 +++--- xen/include/xen/pfn.h | 6 +++--- xen/include/xen/pmap.h | 6 +++--- xen/include/xen/pmstat.h | 6 +++--- xen/include/xen/preempt.h | 6 +++--- xen/include/xen/prefetch.h | 4 ++-- xen/include/xen/pv_console.h | 6 +++--- xen/include/xen/radix-tree.h | 6 +++--- xen/include/xen/random.h | 6 +++--- xen/include/xen/rangeset.h | 6 +++--- xen/include/xen/rbtree.h | 6 +++--- xen/include/xen/rcupdate.h | 6 +++--- xen/include/xen/rwlock.h | 6 +++--- xen/include/xen/sched.h | 6 +++--- xen/include/xen/sections.h | 6 +++--- xen/include/xen/self-tests.h | 6 +++--- xen/include/xen/serial.h | 6 +++--- xen/include/xen/shared.h | 6 +++--- xen/include/xen/shutdown.h | 6 +++--- xen/include/xen/sizes.h | 6 +++--- xen/include/xen/smp.h | 6 +++--- xen/include/xen/softirq.h | 6 +++--- xen/include/xen/sort.h | 6 +++--- xen/include/xen/spinlock.h | 6 +++--- xen/include/xen/stdarg.h | 6 +++--- xen/include/xen/stdbool.h | 6 +++--- xen/include/xen/stdint.h | 6 +++--- xen/include/xen/stop_machine.h | 6 +++--- xen/include/xen/string.h | 6 +++--- xen/include/xen/stringify.h | 6 +++--- xen/include/xen/symbols.h | 6 +++--- xen/include/xen/tasklet.h | 6 +++--- xen/include/xen/time.h | 6 +++--- xen/include/xen/timer.h | 6 +++--- xen/include/xen/trace.h | 6 +++--- xen/include/xen/types.h | 6 +++--- xen/include/xen/typesafe.h | 6 +++--- xen/include/xen/unaligned.h | 6 +++--- xen/include/xen/version.h | 6 +++--- xen/include/xen/vga.h | 6 +++--- xen/include/xen/video.h | 6 +++--- xen/include/xen/virtual_region.h | 6 +++--- xen/include/xen/vm_event.h | 6 +++--- xen/include/xen/vmap.h | 6 +++--- xen/include/xen/vpci.h | 4 ++-- xen/include/xen/wait.h | 6 +++--- xen/include/xen/warning.h | 4 ++-- xen/include/xen/watchdog.h | 6 +++--- xen/include/xen/xen.lds.h | 6 +++--- xen/include/xen/xenoprof.h | 4 ++-- xen/include/xen/xmalloc.h | 6 +++--- xen/include/xen/xxhash.h | 6 +++--- xen/include/xsm/dummy.h | 6 +++--- xen/include/xsm/xsm.h | 4 ++-- xen/lib/x86/private.h | 6 +++--- xen/tools/kconfig/expr.h | 6 +++--- xen/tools/kconfig/images.h | 6 +++--- xen/tools/kconfig/list.h | 4 ++-- xen/tools/kconfig/lkc.h | 6 +++--- xen/xsm/flask/include/avc.h | 6 +++--- xen/xsm/flask/include/avc_ss.h | 6 +++--- xen/xsm/flask/include/conditional.h | 4 ++-- xen/xsm/flask/include/objsec.h | 6 +++--- xen/xsm/flask/include/security.h | 6 +++--- xen/xsm/flask/private.h | 6 +++--- xen/xsm/flask/ss/avtab.h | 6 +++--- xen/xsm/flask/ss/conditional.h | 6 +++--- xen/xsm/flask/ss/constraint.h | 6 +++--- xen/xsm/flask/ss/context.h | 6 +++--- xen/xsm/flask/ss/ebitmap.h | 6 +++--- xen/xsm/flask/ss/hashtab.h | 4 ++-- xen/xsm/flask/ss/mls.h | 4 ++-- xen/xsm/flask/ss/mls_types.h | 6 +++--- xen/xsm/flask/ss/policydb.h | 6 +++--- xen/xsm/flask/ss/services.h | 6 +++--- xen/xsm/flask/ss/sidtab.h | 6 +++--- xen/xsm/flask/ss/symtab.h | 6 +++--- 736 files changed, 2093 insertions(+), 2093 deletions(-)
Signature · 1 line
2.34.1
PATCH 7/20 xen: Update header guards - EFI
Updated headers related to EFI.
--- xen/arch/x86/include/asm/x86_64/efibind.h | 4 ++-- xen/include/efi/efiapi.h | 4 ++-- xen/include/efi/eficapsule.h | 4 ++-- xen/include/efi/eficon.h | 4 ++-- xen/include/efi/efidef.h | 4 ++-- xen/include/efi/efidevp.h | 4 ++-- xen/include/efi/efierr.h | 4 ++-- xen/include/efi/efipciio.h | 6 +++--- xen/include/efi/efiprot.h | 4 ++-- 9 files changed, 19 insertions(+), 19 deletions(-)
xen/arch/x86/include/asm/x86_64/efibind.h +2 -2
@@ -16,8 +16,8 @@ Abstract:Revision History --*/ -#ifndef X86_64_EFI_BIND -#define X86_64_EFI_BIND +#ifndef ASM__X86__X86_64__EFIBIND_H +#define ASM__X86__X86_64__EFIBIND_H #ifndef __GNUC__#pragma pack()#endif
xen/include/efi/efiapi.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _EFI_API_H -#define _EFI_API_H +#ifndef EFI__EFIAPI_H +#define EFI__EFIAPI_H /*++
xen/include/efi/eficapsule.h +2 -2
@@ -19,8 +19,8 @@ Abstract:--*/ -#ifndef _EFI_CAPSULE_H -#define _EFI_CAPSULE_H +#ifndef EFI__EFICAPSULE_H +#define EFI__EFICAPSULE_H #define CAPSULE_BLOCK_DESCRIPTOR_SIGNATURE EFI_SIGNATURE_32 ('C', 'B', 'D', 'S')
xen/include/efi/eficon.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _EFI_CON_H -#define _EFI_CON_H +#ifndef EFI__EFICON_H +#define EFI__EFICON_H /*++
xen/include/efi/efidef.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _EFI_DEF_H -#define _EFI_DEF_H +#ifndef EFI__EFIDEF_H +#define EFI__EFIDEF_H /*++
xen/include/efi/efidevp.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _DEVPATH_H -#define _DEVPATH_H +#ifndef EFI__EFIDEVP_H +#define EFI__EFIDEVP_H /*++
xen/include/efi/efierr.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _EFI_ERR_H -#define _EFI_ERR_H +#ifndef EFI__EFIERR_H +#define EFI__EFIERR_H /*++
xen/include/efi/efipciio.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _EFI_PCI_IO_H -#define _EFI_PCI_IO_H +#ifndef EFI__EFIPCIIO_H +#define EFI__EFIPCIIO_H #define EFI_PCI_IO_PROTOCOL \ { 0x4cf5b200, 0x68b8, 0x4ca5, {0x9e, 0xec, 0xb2, 0x3e, 0x3f, 0x50, 0x02, 0x9a} }
@@ -216,4 +216,4 @@ typedef struct _EFI_PCI_IO { VOID *RomImage; }EFI_PCI_IO ; -#endif /* _EFI_PCI_IO_H */ +#endif /* EFI__EFIPCIIO_H */
xen/include/efi/efiprot.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _EFI_PROT_H -#define _EFI_PROT_H +#ifndef EFI__EFIPROT_H +#define EFI__EFIPROT_H /*++
Signature · 1 line
2.34.1
PATCH 3/20 xen: Update header guards - ACPI
In reply to Frediano ZiglioUpdated headers related to ACPI.
--- xen/drivers/acpi/apei/apei-internal.h | 4 ++-- xen/include/acpi/acconfig.h | 6 +++--- xen/include/acpi/acexcep.h | 6 +++--- xen/include/acpi/acglobal.h | 6 +++--- xen/include/acpi/achware.h | 6 +++--- xen/include/acpi/aclocal.h | 6 +++--- xen/include/acpi/acmacros.h | 4 ++-- xen/include/acpi/acnames.h | 6 +++--- xen/include/acpi/acoutput.h | 6 +++--- xen/include/acpi/acpi.h | 6 +++--- xen/include/acpi/acpiosxf.h | 6 +++--- xen/include/acpi/acpixf.h | 6 +++--- xen/include/acpi/actables.h | 6 +++--- xen/include/acpi/actbl.h | 6 +++--- xen/include/acpi/actbl1.h | 6 +++--- xen/include/acpi/actbl2.h | 6 +++--- xen/include/acpi/actbl3.h | 6 +++--- xen/include/acpi/actypes.h | 6 +++--- xen/include/acpi/acutils.h | 6 +++--- xen/include/acpi/apei.h | 4 ++-- xen/include/acpi/cpufreq/cpufreq.h | 6 +++--- xen/include/acpi/cpufreq/processor_perf.h | 6 +++--- xen/include/acpi/pdc_intel.h | 6 +++--- xen/include/acpi/platform/acenv.h | 6 +++--- xen/include/acpi/platform/acgcc.h | 6 +++--- xen/include/acpi/platform/aclinux.h | 6 +++--- 26 files changed, 75 insertions(+), 75 deletions(-)
xen/drivers/acpi/apei/apei-internal.h +2 -2
@@ -3,8 +3,8 @@* definations. */ -#ifndef APEI_INTERNAL_H -#define APEI_INTERNAL_H +#ifndef DRIVERS__ACPI__APEI__APEI_INTERNAL_H +#define DRIVERS__ACPI__APEI__APEI_INTERNAL_H struct apei_exec_context ;
xen/include/acpi/acconfig.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef _ACCONFIG_H -#define _ACCONFIG_H +#ifndef ACPI__ACCONFIG_H +#define ACPI__ACCONFIG_H /****************************************************************************** *
@@ -203,4 +203,4 @@#define ACPI_DEBUGGER_COMMAND_PROMPT '-'#define ACPI_DEBUGGER_EXECUTE_PROMPT '%' -#endif /* _ACCONFIG_H */ +#endif /* ACPI__ACCONFIG_H */
xen/include/acpi/acexcep.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACEXCEP_H__ -#define __ACEXCEP_H__ +#ifndef ACPI__ACEXCEP_H +#define ACPI__ACEXCEP_H /* * Exceptions returned by external ACPI interfaces
@@ -300,4 +300,4 @@ char const *__initdata acpi_gbl_exception_names_ctrl[] = {#endif /* ACPI GLOBALS */ -#endif /* __ACEXCEP_H__ */ +#endif /* ACPI__ACEXCEP_H */
xen/include/acpi/acglobal.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACGLOBAL_H__ -#define __ACGLOBAL_H__ +#ifndef ACPI__ACGLOBAL_H +#define ACPI__ACGLOBAL_H /* * Ensure that the globals are actually defined and initialized only once.
@@ -110,4 +110,4 @@ extern char const *acpi_gbl_exception_names_ctrl[];extern struct acpi_bit_register_info acpi_gbl_bit_register_info[ACPI_NUM_BITREG ]; -#endif /* __ACGLOBAL_H__ */ +#endif /* ACPI__ACGLOBAL_H */
xen/include/acpi/achware.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACHWARE_H__ -#define __ACHWARE_H__ +#ifndef ACPI__ACHWARE_H +#define ACPI__ACHWARE_H /* * hwregs - ACPI Register I/O
@@ -59,4 +59,4 @@ acpi_hw_low_level_read(u32 width,acpi_status acpi_hw_low_level_write (u32 width,u32 value,struct acpi_generic_address *reg); -#endif /* __ACHWARE_H__ */ +#endif /* ACPI__ACHWARE_H */
xen/include/acpi/aclocal.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACLOCAL_H__ -#define __ACLOCAL_H__ +#ifndef ACPI__ACLOCAL_H +#define ACPI__ACLOCAL_H /* acpisrc:struct_defs -- for acpisrc conversion */
@@ -204,4 +204,4 @@ struct acpi_bit_register_info {#define ACPI_ADDRESS_TYPE_IO_RANGE 1#define ACPI_ADDRESS_TYPE_BUS_NUMBER_RANGE 2 -#endif /* __ACLOCAL_H__ */ +#endif /* ACPI__ACLOCAL_H */
xen/include/acpi/acmacros.h +2 -2
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACMACROS_H__ -#define __ACMACROS_H__ +#ifndef ACPI__ACMACROS_H +#define ACPI__ACMACROS_H /* * Data manipulation macros
xen/include/acpi/acnames.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACNAMES_H__ -#define __ACNAMES_H__ +#ifndef ACPI__ACNAMES_H +#define ACPI__ACNAMES_H /* Method names - these methods can appear anywhere in the namespace */
@@ -80,4 +80,4 @@#define ACPI_NS_ROOT_PATH "\\"#define ACPI_NS_SYSTEM_BUS "_SB_" -#endif /* __ACNAMES_H__ */ +#endif /* ACPI__ACNAMES_H */
xen/include/acpi/acoutput.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACOUTPUT_H__ -#define __ACOUTPUT_H__ +#ifndef ACPI__ACOUTPUT_H +#define ACPI__ACOUTPUT_H /* * Debug levels and component IDs. These are used to control the
@@ -182,4 +182,4 @@#define ACPI_NORMAL_DEFAULT (ACPI_LV_INIT | ACPI_LV_WARN | ACPI_LV_ERROR)#define ACPI_DEBUG_ALL (ACPI_LV_AML_DISASSEMBLE | ACPI_LV_ALL_EXCEPTIONS | ACPI_LV_ALL) -#endif /* __ACOUTPUT_H__ */ +#endif /* ACPI__ACOUTPUT_H */
xen/include/acpi/acpi.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACPI_H__ -#define __ACPI_H__ +#ifndef ACPI__ACPI_H +#define ACPI__ACPI_H #define PREFIX "ACPI: "
@@ -66,4 +66,4 @@#include "achware.h" /* Hardware defines and interfaces */ #include "acutils.h" /* Utility interfaces */ -#endif /* __ACPI_H__ */ +#endif /* ACPI__ACPI_H */
xen/include/acpi/acpiosxf.h +3 -3
@@ -44,8 +44,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACPIOSXF_H__ -#define __ACPIOSXF_H__ +#ifndef ACPI__ACPIOSXF_H +#define ACPI__ACPIOSXF_H #include "platform/acenv.h" #include "actypes.h"
@@ -86,4 +86,4 @@ void ACPI_INTERNAL_VAR_XFACE acpi_os_printf(const char *format, ...);void acpi_os_vprintf (const char *format,va_list args); -#endif /* __ACPIOSXF_H__ */ +#endif /* ACPI__ACPIOSXF_H */
xen/include/acpi/acpixf.h +3 -3
@@ -42,8 +42,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACXFACE_H__ -#define __ACXFACE_H__ +#ifndef ACPI__ACPIXF_H +#define ACPI__ACPIXF_H #include "actypes.h" #include "actbl.h"
@@ -116,4 +116,4 @@ acpi_status acpi_leave_sleep_state_prep(u8 sleep_state);acpi_status acpi_leave_sleep_state (u8 sleep_state); -#endif /* __ACXFACE_H__ */ +#endif /* ACPI__ACPIXF_H */
xen/include/acpi/actables.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTABLES_H__ -#define __ACTABLES_H__ +#ifndef ACPI__ACTABLES_H +#define ACPI__ACTABLES_H acpi_status acpi_allocate_root_table (u32 initial_table_count);
@@ -104,4 +104,4 @@ acpi_tb_install_table(acpi_physical_address address,acpi_status acpi_tb_parse_root_table (acpi_physical_address rsdp_address,u8 flags); -#endif /* __ACTABLES_H__ */ +#endif /* ACPI__ACTABLES_H */
xen/include/acpi/actbl.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTBL_H__ -#define __ACTBL_H__ +#ifndef ACPI__ACTBL_H +#define ACPI__ACTBL_H /******************************************************************************* *
@@ -358,4 +358,4 @@ enum acpi_prefered_pm_profiles {#define ACPI_FADT_V5_SIZE (u32) (ACPI_FADT_OFFSET (hypervisor_id))#define ACPI_FADT_V6_SIZE (u32) (sizeof (struct acpi_table_fadt)) -#endif /* __ACTBL_H__ */ +#endif /* ACPI__ACTBL_H */
xen/include/acpi/actbl1.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTBL1_H__ -#define __ACTBL1_H__ +#ifndef ACPI__ACTBL1_H +#define ACPI__ACTBL1_H /******************************************************************************* *
@@ -1012,4 +1012,4 @@ struct acpi_srat_x2apic_cpu_affinity {#pragma pack() -#endif /* __ACTBL1_H__ */ +#endif /* ACPI__ACTBL1_H */
xen/include/acpi/actbl2.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTBL2_H__ -#define __ACTBL2_H__ +#ifndef ACPI__ACTBL2_H +#define ACPI__ACTBL2_H /******************************************************************************* *
@@ -1268,4 +1268,4 @@ struct acpi_table_wdrt {#pragma pack() -#endif /* __ACTBL2_H__ */ +#endif /* ACPI__ACTBL2_H */
xen/include/acpi/actbl3.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTBL3_H__ -#define __ACTBL3_H__ +#ifndef ACPI__ACTBL3_H +#define ACPI__ACTBL3_H /******************************************************************************* *
@@ -639,4 +639,4 @@ struct acpi_table_stao {#pragma pack() -#endif /* __ACTBL3_H__ */ +#endif /* ACPI__ACTBL3_H */
xen/include/acpi/actypes.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACTYPES_H__ -#define __ACTYPES_H__ +#ifndef ACPI__ACTYPES_H +#define ACPI__ACTYPES_H /* acpisrc:struct_defs -- for acpisrc conversion */
@@ -724,4 +724,4 @@ struct acpi_buffer {#define ACPI_PRODUCER (u8) 0x00#define ACPI_CONSUMER (u8) 0x01 -#endif /* __ACTYPES_H__ */ +#endif /* ACPI__ACTYPES_H */
xen/include/acpi/acutils.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef _ACUTILS_H -#define _ACUTILS_H +#ifndef ACPI__ACUTILS_H +#define ACPI__ACUTILS_H /* Types for Resource descriptor entries */
@@ -196,4 +196,4 @@ acpi_ut_info(const char *module_name,*/ const char *acpi_ut_validate_exception (acpi_status status); -#endif /* _ACUTILS_H */ +#endif /* ACPI__ACUTILS_H */
xen/include/acpi/apei.h +2 -2
@@ -2,8 +2,8 @@* apei.h - ACPI Platform Error Interface */ -#ifndef ACPI_APEI_H -#define ACPI_APEI_H +#ifndef ACPI__APEI_H +#define ACPI__APEI_H #include <xen/acpi.h> #include <xen/cper.h>
xen/include/acpi/cpufreq/cpufreq.h +3 -3
@@ -11,8 +11,8 @@* published by the Free Software Foundation. */ -#ifndef __XEN_CPUFREQ_PM_H__ -#define __XEN_CPUFREQ_PM_H__ +#ifndef ACPI__CPUFREQ__CPUFREQ_H +#define ACPI__CPUFREQ__CPUFREQ_H #include <xen/types.h> #include <xen/list.h>
@@ -267,4 +267,4 @@ int set_hwp_para(struct cpufreq_policy *policy,int acpi_cpufreq_register (void ); -#endif /* __XEN_CPUFREQ_PM_H__ */ +#endif /* ACPI__CPUFREQ__CPUFREQ_H */
xen/include/acpi/cpufreq/processor_perf.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PROCESSOR_PM_H__ -#define __XEN_PROCESSOR_PM_H__ +#ifndef ACPI__CPUFREQ__PROCESSOR_PERF_H +#define ACPI__CPUFREQ__PROCESSOR_PERF_H #include <public/platform.h> #include <public/sysctl.h>
@@ -59,4 +59,4 @@ struct pm_px { DECLARE_PER_CPU(struct pm_px *, cpufreq_statistic_data);int cpufreq_cpu_init (unsigned int cpu); -#endif /* __XEN_PROCESSOR_PM_H__ */ +#endif /* ACPI__CPUFREQ__PROCESSOR_PERF_H */
xen/include/acpi/pdc_intel.h +3 -3
@@ -1,8 +1,8 @@/* _PDC bit definition for Intel processors */ -#ifndef __PDC_INTEL_H__ -#define __PDC_INTEL_H__ +#ifndef ACPI__PDC_INTEL_H +#define ACPI__PDC_INTEL_H #define ACPI_PDC_REVISION_ID 1
@@ -48,4 +48,4 @@#define ACPI_PDC_T_MASK (ACPI_PDC_T_FFH | \ ACPI_PDC_SMP_T_SWCOORD) -#endif /* __PDC_INTEL_H__ */ +#endif /* ACPI__PDC_INTEL_H */
xen/include/acpi/platform/acenv.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACENV_H__ -#define __ACENV_H__ +#ifndef ACPI__PLATFORM__ACENV_H +#define ACPI__PLATFORM__ACENV_H /* * Configuration for ACPI tools and utilities
@@ -362,4 +362,4 @@ typedef char *va_list;* headers. * *****************************************************************************/ -#endif /* __ACENV_H__ */ +#endif /* ACPI__PLATFORM__ACENV_H */
xen/include/acpi/platform/acgcc.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACGCC_H__ -#define __ACGCC_H__ +#ifndef ACPI__PLATFORM__ACGCC_H +#define ACPI__PLATFORM__ACGCC_H /* Function name is used for debug output. Non-ANSI, compiler-dependent */
@@ -62,4 +62,4 @@*/ #define ACPI_UNUSED_VAR __attribute__ ((unused)) -#endif /* __ACGCC_H__ */ +#endif /* ACPI__PLATFORM__ACGCC_H */
xen/include/acpi/platform/aclinux.h +3 -3
@@ -41,8 +41,8 @@* POSSIBILITY OF SUCH DAMAGES. */ -#ifndef __ACLINUX_H__ -#define __ACLINUX_H__ +#ifndef ACPI__PLATFORM__ACLINUX_H +#define ACPI__PLATFORM__ACLINUX_H #define ACPI_USE_SYSTEM_CLIBRARY #define ACPI_USE_DO_WHILE_0
@@ -82,4 +82,4 @@ void acpi_os_free_memory(void *ptr);#define ACPI_ALLOCATE_ZEROED (a) acpi_os_zalloc_memory(a)#define ACPI_FREE (a) acpi_os_free_memory(a) -#endif /* __ACLINUX_H__ */ +#endif /* ACPI__PLATFORM__ACLINUX_H */
Signature · 1 line
2.34.1
PATCH 9/20 xen: Update header guards - Intel TXT
In reply to Frediano ZiglioUpdated headers related to Intel trusted execution technology.
--- xen/arch/x86/include/asm/tboot.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
xen/arch/x86/include/asm/tboot.h +3 -3
@@ -34,8 +34,8 @@* */ -#ifndef __TBOOT_H__ -#define __TBOOT_H__ +#ifndef ASM__X86__TBOOT_H +#define ASM__X86__TBOOT_H #include <xen/acpi.h>
@@ -147,7 +147,7 @@ static inline int tboot_wake_ap(int apicid, unsigned long sipi_vec) }#endif /* CONFIG_TBOOT */ -#endif /* __TBOOT_H__ */ +#endif /* ASM__X86__TBOOT_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 6/20 xen: Update header guards - Device tree
In reply to Frediano ZiglioUpdated headers related to device tree.
--- xen/common/libfdt/libfdt_internal.h | 6 +++--- xen/include/xen/bootfdt.h | 6 +++--- xen/include/xen/device_tree.h | 4 ++-- xen/include/xen/libfdt/fdt.h | 6 +++--- xen/include/xen/libfdt/libfdt-xen.h | 6 +++--- xen/include/xen/libfdt/libfdt.h | 6 +++--- xen/include/xen/libfdt/libfdt_env.h | 6 +++--- 7 files changed, 20 insertions(+), 20 deletions(-)
xen/common/libfdt/libfdt_internal.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ -#ifndef LIBFDT_INTERNAL_H -#define LIBFDT_INTERNAL_H +#ifndef COMMON__LIBFDT__LIBFDT_INTERNAL_H +#define COMMON__LIBFDT__LIBFDT_INTERNAL_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -189,4 +189,4 @@ static inline bool can_assume_(int mask)/** helper macros for checking assumptions */ #define can_assume (_assume) can_assume_(ASSUME_ ## _assume) -#endif /* LIBFDT_INTERNAL_H */ +#endif /* COMMON__LIBFDT__LIBFDT_INTERNAL_H */
xen/include/xen/bootfdt.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef XEN_BOOTFDT_H -#define XEN_BOOTFDT_H +#ifndef XEN__BOOTFDT_H +#define XEN__BOOTFDT_H #include <xen/types.h> #include <xen/kernel.h>
@@ -206,4 +206,4 @@ static inline struct shmem_membank_extra *bootinfo_get_shmem_extra(void) }#endif -#endif /* XEN_BOOTFDT_H */ +#endif /* XEN__BOOTFDT_H */
xen/include/xen/device_tree.h +2 -2
@@ -7,8 +7,8 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef __XEN_DEVICE_TREE_H__ -#define __XEN_DEVICE_TREE_H__ +#ifndef XEN__DEVICE_TREE_H +#define XEN__DEVICE_TREE_H #include <asm/byteorder.h> #include <asm/device.h>
xen/include/xen/libfdt/fdt.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ -#ifndef FDT_H -#define FDT_H +#ifndef XEN__LIBFDT__FDT_H +#define XEN__LIBFDT__FDT_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -63,4 +63,4 @@ struct fdt_property {#define FDT_V16_SIZE FDT_V3_SIZE#define FDT_V17_SIZE (FDT_V16_SIZE + sizeof(fdt32_t)) -#endif /* FDT_H */ +#endif /* XEN__LIBFDT__FDT_H */
xen/include/xen/libfdt/libfdt-xen.h +3 -3
@@ -8,8 +8,8 @@* Copyright (C) 2023, Advanced Micro Devices, Inc. All Rights Reserved. */ -#ifndef LIBFDT_XEN_H -#define LIBFDT_XEN_H +#ifndef XEN__LIBFDT__LIBFDT_XEN_H +#define XEN__LIBFDT__LIBFDT_XEN_H #include <xen/libfdt/libfdt.h>
@@ -43,7 +43,7 @@ static inline int fdt_get_mem_rsv_paddr(const void *fdt, int n, return ret; } -#endif /* LIBFDT_XEN_H */ +#endif /* XEN__LIBFDT__LIBFDT_XEN_H */ /* * Local variables:
xen/include/xen/libfdt/libfdt.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ -#ifndef LIBFDT_H -#define LIBFDT_H +#ifndef XEN__LIBFDT__LIBFDT_H +#define XEN__LIBFDT__LIBFDT_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -2137,4 +2137,4 @@ const char *fdt_strerror(int errval); }#endif -#endif /* LIBFDT_H */ +#endif /* XEN__LIBFDT__LIBFDT_H */
xen/include/xen/libfdt/libfdt_env.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: (GPL-2.0-or-later OR BSD-2-Clause) */ -#ifndef LIBFDT_ENV_H -#define LIBFDT_ENV_H +#ifndef XEN__LIBFDT__LIBFDT_ENV_H +#define XEN__LIBFDT__LIBFDT_ENV_H /* * libfdt - Flat Device Tree manipulation * Copyright (C) 2006 David Gibson, IBM Corporation.
@@ -93,4 +93,4 @@ static inline size_t fdt_strnlen(const char *string, size_t max_count)#endif /* __APPLE__ */ -#endif /* LIBFDT_ENV_H */ +#endif /* XEN__LIBFDT__LIBFDT_ENV_H */
Signature · 1 line
2.34.1
PATCH 10/20 xen: Update header guards - I/O MMU
In reply to Frediano ZiglioUpdated headers related to I/O MMU.
--- xen/drivers/passthrough/amd/iommu-defs.h | 6 +++--- xen/drivers/passthrough/amd/iommu.h | 6 +++--- xen/drivers/passthrough/ats.h | 6 +++--- xen/drivers/passthrough/vtd/dmar.h | 6 +++--- xen/drivers/passthrough/vtd/extern.h | 6 +++--- xen/drivers/passthrough/vtd/iommu.h | 4 ++-- xen/drivers/passthrough/vtd/vtd.h | 6 +++--- xen/include/xen/iommu.h | 6 +++--- 8 files changed, 23 insertions(+), 23 deletions(-)
xen/drivers/passthrough/amd/iommu-defs.h +3 -3
@@ -17,8 +17,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef AMD_IOMMU_DEFS_H -#define AMD_IOMMU_DEFS_H +#ifndef DRIVERS__PASSTHROUGH__AMD__IOMMU_DEFS_H +#define DRIVERS__PASSTHROUGH__AMD__IOMMU_DEFS_H /* IOMMU Event Log entries: in power of 2 increments, minimum of 256 */ #define IOMMU_EVENT_LOG_DEFAULT_ENTRIES 512
@@ -486,7 +486,7 @@ union amd_iommu_pte {#define IOMMU_REG_BASE_ADDR_HIGH_MASK 0x000FFFFFU#define IOMMU_REG_BASE_ADDR_HIGH_SHIFT 0 -#endif /* AMD_IOMMU_DEFS_H */ +#endif /* DRIVERS__PASSTHROUGH__AMD__IOMMU_DEFS_H */ /* * Local variables:
xen/drivers/passthrough/amd/iommu.h +3 -3
@@ -16,8 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef AMD_IOMMU_H -#define AMD_IOMMU_H +#ifndef DRIVERS__PASSTHROUGH__AMD__IOMMU_H +#define DRIVERS__PASSTHROUGH__AMD__IOMMU_H #include <xen/init.h> #include <xen/types.h>
@@ -372,4 +372,4 @@ static inline void iommu_set_addr_hi_to_reg(uint32_t *reg, uint32_t addr) IOMMU_REG_BASE_ADDR_HIGH_SHIFT, reg); } -#endif /* AMD_IOMMU_H */ +#endif /* DRIVERS__PASSTHROUGH__AMD__IOMMU_H */
xen/drivers/passthrough/ats.h +3 -3
@@ -12,8 +12,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _ATS_H_ -#define _ATS_H_ +#ifndef DRIVERS__PASSTHROUGH__ATS_H +#define DRIVERS__PASSTHROUGH__ATS_H #include <xen/pci_regs.h>
@@ -50,5 +50,5 @@ static inline int pci_ats_device(int seg, int bus, int devfn) PCI_EXT_CAP_ID_ATS); } -#endif /* _ATS_H_ */ +#endif /* DRIVERS__PASSTHROUGH__ATS_H */
xen/drivers/passthrough/vtd/dmar.h +3 -3
@@ -17,8 +17,8 @@* Copyright (C) Shaohua Li <[email protected]> */ -#ifndef _DMAR_H_ -#define _DMAR_H_ +#ifndef DRIVERS__PASSTHROUGH__VTD__DMAR_H +#define DRIVERS__PASSTHROUGH__VTD__DMAR_H #include <xen/list.h> #include <xen/iommu.h>
@@ -171,4 +171,4 @@ int vtd_hw_check(void);void disable_pmr (struct vtd_iommu *iommu);int is_igd_drhd (struct acpi_drhd_unit *drhd); -#endif /* _DMAR_H_ */ +#endif /* DRIVERS__PASSTHROUGH__VTD__DMAR_H */
xen/drivers/passthrough/vtd/extern.h +3 -3
@@ -17,8 +17,8 @@* Copyright (C) Weidong Han <[email protected]> */ -#ifndef _VTD_EXTERN_H_ -#define _VTD_EXTERN_H_ +#ifndef DRIVERS__PASSTHROUGH__VTD__EXTERN_H +#define DRIVERS__PASSTHROUGH__VTD__EXTERN_H #include "dmar.h" #include <xen/keyhandler.h>
@@ -114,4 +114,4 @@ void quirk_iommu_caps(struct vtd_iommu *iommu);bool platform_supports_intremap (void );bool platform_supports_x2apic (void ); -#endif // _VTD_EXTERN_H_ +#endif // DRIVERS__PASSTHROUGH__VTD__EXTERN_H
xen/drivers/passthrough/vtd/iommu.h +2 -2
@@ -16,8 +16,8 @@* Copyright (C) Ashok Raj <[email protected]> */ -#ifndef _INTEL_IOMMU_H_ -#define _INTEL_IOMMU_H_ +#ifndef DRIVERS__PASSTHROUGH__VTD__IOMMU_H +#define DRIVERS__PASSTHROUGH__VTD__IOMMU_H #include <xen/iommu.h> #include <asm/msi.h>
xen/drivers/passthrough/vtd/vtd.h +3 -3
@@ -17,8 +17,8 @@* Copyright (C) Weidong Han <[email protected]> */ -#ifndef _VTD_H_ -#define _VTD_H_ +#ifndef DRIVERS__PASSTHROUGH__VTD__VTD_H +#define DRIVERS__PASSTHROUGH__VTD__VTD_H #include <xen/iommu.h>
@@ -72,4 +72,4 @@ struct msi_msg_remap_entry { u32 data; /* msi message data */ }; -#endif // _VTD_H_ +#endif // DRIVERS__PASSTHROUGH__VTD__VTD_H
xen/include/xen/iommu.h +3 -3
@@ -16,8 +16,8 @@* Copyright (C) Allen Kay <[email protected]> */ -#ifndef _IOMMU_H_ -#define _IOMMU_H_ +#ifndef XEN__IOMMU_H +#define XEN__IOMMU_H #include <xen/mm-frame.h> #include <xen/init.h>
@@ -440,7 +440,7 @@ static inline int iommu_update_ire_from_msi( }#endif -#endif /* _IOMMU_H_ */ +#endif /* XEN__IOMMU_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 5/20 xen: Update header guards - ARM
In reply to Frediano ZiglioUpdated headers related to ARM.
--- xen/arch/arm/arm32/lib/assembler.h | 6 +++--- xen/arch/arm/arm64/lib/assembler.h | 6 +++--- xen/arch/arm/decode.h | 6 +++--- xen/arch/arm/include/asm/acpi.h | 6 +++--- xen/arch/arm/include/asm/alternative.h | 6 +++--- xen/arch/arm/include/asm/arm32/atomic.h | 6 +++--- xen/arch/arm/include/asm/arm32/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm32/bug.h | 6 +++--- xen/arch/arm/include/asm/arm32/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm32/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm32/insn.h | 6 +++--- xen/arch/arm/include/asm/arm32/io.h | 6 +++--- xen/arch/arm/include/asm/arm32/macros.h | 6 +++--- xen/arch/arm/include/asm/arm32/mm.h | 6 +++--- xen/arch/arm/include/asm/arm32/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm32/page.h | 6 +++--- xen/arch/arm/include/asm/arm32/processor.h | 6 +++--- xen/arch/arm/include/asm/arm32/sysregs.h | 6 +++--- xen/arch/arm/include/asm/arm32/system.h | 4 ++-- xen/arch/arm/include/asm/arm32/traps.h | 6 +++--- xen/arch/arm/include/asm/arm32/vfp.h | 6 +++--- xen/arch/arm/include/asm/arm64/atomic.h | 4 ++-- xen/arch/arm/include/asm/arm64/bitops.h | 6 +++--- xen/arch/arm/include/asm/arm64/brk.h | 6 +++--- xen/arch/arm/include/asm/arm64/bug.h | 6 +++--- xen/arch/arm/include/asm/arm64/cmpxchg.h | 4 ++-- xen/arch/arm/include/asm/arm64/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/arm64/efibind.h | 4 ++-- xen/arch/arm/include/asm/arm64/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/arm64/hsr.h | 6 +++--- xen/arch/arm/include/asm/arm64/insn.h | 6 +++--- xen/arch/arm/include/asm/arm64/io.h | 6 +++--- xen/arch/arm/include/asm/arm64/macros.h | 6 +++--- xen/arch/arm/include/asm/arm64/mm.h | 6 +++--- xen/arch/arm/include/asm/arm64/nospec.h | 6 +++--- xen/arch/arm/include/asm/arm64/page.h | 6 +++--- xen/arch/arm/include/asm/arm64/processor.h | 6 +++--- xen/arch/arm/include/asm/arm64/sve.h | 6 +++--- xen/arch/arm/include/asm/arm64/sysregs.h | 4 ++-- xen/arch/arm/include/asm/arm64/system.h | 4 ++-- xen/arch/arm/include/asm/arm64/traps.h | 6 +++--- xen/arch/arm/include/asm/arm64/vfp.h | 6 +++--- xen/arch/arm/include/asm/asm_defns.h | 6 +++--- xen/arch/arm/include/asm/atomic.h | 6 +++--- xen/arch/arm/include/asm/bitops.h | 6 +++--- xen/arch/arm/include/asm/bug.h | 6 +++--- xen/arch/arm/include/asm/byteorder.h | 6 +++--- xen/arch/arm/include/asm/cache.h | 4 ++-- xen/arch/arm/include/asm/cadence-uart.h | 4 ++-- xen/arch/arm/include/asm/config.h | 6 +++--- xen/arch/arm/include/asm/cpregs.h | 4 ++-- xen/arch/arm/include/asm/cpuerrata.h | 6 +++--- xen/arch/arm/include/asm/cpufeature.h | 4 ++-- xen/arch/arm/include/asm/current.h | 6 +++--- xen/arch/arm/include/asm/div64.h | 4 ++-- xen/arch/arm/include/asm/dom0less-build.h | 6 +++--- xen/arch/arm/include/asm/domain.h | 6 +++--- xen/arch/arm/include/asm/domain_build.h | 4 ++-- xen/arch/arm/include/asm/early_printk.h | 4 ++-- xen/arch/arm/include/asm/elf.h | 6 +++--- xen/arch/arm/include/asm/event.h | 4 ++-- xen/arch/arm/include/asm/exynos4210-uart.h | 6 +++--- xen/arch/arm/include/asm/fixmap.h | 6 +++--- xen/arch/arm/include/asm/flushtlb.h | 6 +++--- xen/arch/arm/include/asm/gic.h | 4 ++-- xen/arch/arm/include/asm/gic_v3_defs.h | 6 +++--- xen/arch/arm/include/asm/gic_v3_its.h | 4 ++-- xen/arch/arm/include/asm/grant_table.h | 6 +++--- xen/arch/arm/include/asm/guest_access.h | 6 +++--- xen/arch/arm/include/asm/guest_atomics.h | 6 +++--- xen/arch/arm/include/asm/guest_walk.h | 6 +++--- xen/arch/arm/include/asm/hsr.h | 6 +++--- xen/arch/arm/include/asm/hypercall.h | 8 ++++---- xen/arch/arm/include/asm/imx-lpuart.h | 6 +++--- xen/arch/arm/include/asm/insn.h | 6 +++--- xen/arch/arm/include/asm/io.h | 4 ++-- xen/arch/arm/include/asm/iommu.h | 6 +++--- xen/arch/arm/include/asm/iommu_fwspec.h | 6 +++--- xen/arch/arm/include/asm/ioreq.h | 6 +++--- xen/arch/arm/include/asm/irq.h | 6 +++--- xen/arch/arm/include/asm/kernel.h | 6 +++--- xen/arch/arm/include/asm/livepatch.h | 6 +++--- xen/arch/arm/include/asm/lpae.h | 6 +++--- xen/arch/arm/include/asm/macros.h | 4 ++-- xen/arch/arm/include/asm/mem_access.h | 6 +++--- xen/arch/arm/include/asm/mm.h | 6 +++--- xen/arch/arm/include/asm/mmio.h | 6 +++--- xen/arch/arm/include/asm/mmu/layout.h | 6 +++--- xen/arch/arm/include/asm/mmu/mm.h | 6 +++--- xen/arch/arm/include/asm/mmu/p2m.h | 6 +++--- xen/arch/arm/include/asm/monitor.h | 6 +++--- xen/arch/arm/include/asm/new_vgic.h | 6 +++--- xen/arch/arm/include/asm/nospec.h | 6 +++--- xen/arch/arm/include/asm/p2m.h | 8 ++++---- xen/arch/arm/include/asm/page-bits.h | 6 +++--- xen/arch/arm/include/asm/page.h | 6 +++--- xen/arch/arm/include/asm/pci.h | 6 +++--- xen/arch/arm/include/asm/perfc.h | 4 ++-- xen/arch/arm/include/asm/perfc_defn.h | 6 +++--- xen/arch/arm/include/asm/pl011-uart.h | 6 +++--- xen/arch/arm/include/asm/platform.h | 6 +++--- xen/arch/arm/include/asm/platforms/exynos5.h | 6 +++--- xen/arch/arm/include/asm/platforms/midway.h | 2 +- xen/arch/arm/include/asm/platforms/omap5.h | 4 ++-- xen/arch/arm/include/asm/platforms/vexpress.h | 6 +++--- xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h | 6 +++--- xen/arch/arm/include/asm/pmap.h | 6 +++--- xen/arch/arm/include/asm/processor.h | 6 +++--- xen/arch/arm/include/asm/procinfo.h | 4 ++-- xen/arch/arm/include/asm/psci.h | 6 +++--- xen/arch/arm/include/asm/regs.h | 6 +++--- xen/arch/arm/include/asm/scif-uart.h | 6 +++--- xen/arch/arm/include/asm/setup.h | 4 ++-- xen/arch/arm/include/asm/short-desc.h | 6 +++--- xen/arch/arm/include/asm/smccc.h | 6 +++--- xen/arch/arm/include/asm/smp.h | 4 ++-- xen/arch/arm/include/asm/spinlock.h | 6 +++--- xen/arch/arm/include/asm/static-evtchn.h | 6 +++--- xen/arch/arm/include/asm/static-memory.h | 6 +++--- xen/arch/arm/include/asm/static-shmem.h | 6 +++--- xen/arch/arm/include/asm/string.h | 6 +++--- xen/arch/arm/include/asm/sysregs.h | 6 +++--- xen/arch/arm/include/asm/system.h | 4 ++-- xen/arch/arm/include/asm/tee/ffa.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_msg.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_rpc_cmd.h | 6 +++--- xen/arch/arm/include/asm/tee/optee_smc.h | 6 +++--- xen/arch/arm/include/asm/tee/tee.h | 6 +++--- xen/arch/arm/include/asm/time.h | 6 +++--- xen/arch/arm/include/asm/traps.h | 6 +++--- xen/arch/arm/include/asm/types.h | 6 +++--- xen/arch/arm/include/asm/vfp.h | 6 +++--- xen/arch/arm/include/asm/vgic-emul.h | 6 +++--- xen/arch/arm/include/asm/vgic.h | 6 +++--- xen/arch/arm/include/asm/vpl011.h | 6 +++--- xen/arch/arm/include/asm/vpsci.h | 6 +++--- xen/arch/arm/include/asm/vreg.h | 6 +++--- xen/arch/arm/include/asm/vtimer.h | 4 ++-- xen/arch/arm/tee/ffa_private.h | 6 +++--- xen/arch/arm/vgic/vgic-mmio.h | 4 ++-- xen/arch/arm/vgic/vgic.h | 4 ++-- xen/arch/arm/vpci.h | 6 +++--- xen/arch/arm/vuart.h | 6 +++--- xen/drivers/passthrough/arm/smmu-v3.h | 6 +++--- xen/include/public/arch-arm.h | 6 +++--- xen/include/public/arch-arm/hvm/save.h | 4 ++-- xen/include/public/arch-arm/smccc.h | 6 +++--- 147 files changed, 411 insertions(+), 411 deletions(-)
xen/arch/arm/arm32/lib/assembler.h +3 -3
@@ -14,8 +14,8 @@* Do not include any C declarations in this file - it is included by * assembler source. */ -#ifndef __ASM_ASSEMBLER_H__ -#define __ASM_ASSEMBLER_H__ +#ifndef ARM__ARM32__LIB__ASSEMBLER_H +#define ARM__ARM32__LIB__ASSEMBLER_H #ifndef __ASSEMBLY__#error "Only include this from assembly code"
@@ -322,4 +322,4 @@ .size \name , . - \name .endm -#endif /* __ASM_ASSEMBLER_H__ */ +#endif /* ARM__ARM32__LIB__ASSEMBLER_H */
xen/arch/arm/arm64/lib/assembler.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ASSEMBLER_H__ -#define __ASM_ASSEMBLER_H__ +#ifndef ARM__ARM64__LIB__ASSEMBLER_H +#define ARM__ARM64__LIB__ASSEMBLER_H #ifndef __ASSEMBLY__#error "Only include this from assembly code"
@@ -9,4 +9,4 @@ #define CPU_BE(x...) #define CPU_LE(x...) x -#endif /* __ASM_ASSEMBLER_H__ */ +#endif /* ARM__ARM64__LIB__ASSEMBLER_H */
xen/arch/arm/decode.h +3 -3
@@ -17,8 +17,8 @@* GNU General Public License for more details. */ -#ifndef __ARCH_ARM_DECODE_H_ -#define __ARCH_ARM_DECODE_H_ +#ifndef ARM__DECODE_H +#define ARM__DECODE_H #include <asm/regs.h> #include <asm/processor.h>
@@ -73,7 +73,7 @@ union instr {int decode_instruction (const struct cpu_user_regs *regs,mmio_info_t *info); -#endif /* __ARCH_ARM_DECODE_H_ */ +#endif /* ARM__DECODE_H */ /* * Local variables:
xen/arch/arm/include/asm/acpi.h +3 -3
@@ -19,8 +19,8 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#ifndef _ASM_ARM_ACPI_H -#define _ASM_ARM_ACPI_H +#ifndef ASM__ARM__ACPI_H +#define ASM__ARM__ACPI_H #include <asm/setup.h>
@@ -78,4 +78,4 @@ static inline void enable_acpi(void)#define enable_acpi ()#endif -#endif /*_ASM_ARM_ACPI_H*/ +#endif /*ASM__ARM__ACPI_H*/
xen/arch/arm/include/asm/alternative.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ALTERNATIVE_H -#define __ASM_ALTERNATIVE_H +#ifndef ASM__ARM__ALTERNATIVE_H +#define ASM__ARM__ALTERNATIVE_H #include <asm/cpufeature.h> #include <asm/insn.h>
@@ -218,4 +218,4 @@ alternative_endif#define ALTERNATIVE (oldinstr, newinstr, ...) \ _ALTERNATIVE_CFG(oldinstr, newinstr, __VA_ARGS__, 1) -#endif /* __ASM_ALTERNATIVE_H */ +#endif /* ASM__ARM__ALTERNATIVE_H */
xen/arch/arm/include/asm/arm32/atomic.h +3 -3
@@ -8,8 +8,8 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef __ARCH_ARM_ARM32_ATOMIC__ -#define __ARCH_ARM_ARM32_ATOMIC__ +#ifndef ASM__ARM__ARM32__ATOMIC_H +#define ASM__ARM__ARM32__ATOMIC_H /* * ARMv6 UP and SMP safe atomic ops. We use load exclusive and
@@ -164,7 +164,7 @@ static inline int __atomic_add_unless(atomic_t *v, int a, int u) return oldval; } -#endif /* __ARCH_ARM_ARM32_ATOMIC__ */ +#endif /* ASM__ARM__ARM32__ATOMIC_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/bitops.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ARM_ARM32_BITOPS_H -#define _ARM_ARM32_BITOPS_H +#ifndef ASM__ARM__ARM32__BITOPS_H +#define ASM__ARM__ARM32__BITOPS_H /* * Little endian assembly bitops. nr = 0 -> byte 0 bit 0.
@@ -37,4 +37,4 @@ extern int _find_next_bit_be(const unsigned long *p, int size, int offset);#endif -#endif /* _ARM_ARM32_BITOPS_H */ +#endif /* ASM__ARM__ARM32__BITOPS_H */
xen/arch/arm/include/asm/arm32/bug.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_BUG_H__ -#define __ARM_ARM32_BUG_H__ +#ifndef ASM__ARM__ARM32__BUG_H +#define ASM__ARM__ARM32__BUG_H #include <xen/stringify.h>
@@ -12,4 +12,4 @@#define BUG_FN_REG r0 -#endif /* __ARM_ARM32_BUG_H__ */ +#endif /* ASM__ARM__ARM32__BUG_H */
xen/arch/arm/include/asm/arm32/cmpxchg.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM32_CMPXCHG_H -#define __ASM_ARM32_CMPXCHG_H +#ifndef ASM__ARM__ARM32__CMPXCHG_H +#define ASM__ARM__ARM32__CMPXCHG_H #include <xen/bug.h> #include <xen/prefetch.h>
xen/arch/arm/include/asm/arm32/flushtlb.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_FLUSHTLB_H__ -#define __ASM_ARM_ARM32_FLUSHTLB_H__ +#ifndef ASM__ARM__ARM32__FLUSHTLB_H +#define ASM__ARM__ARM32__FLUSHTLB_H /* * Every invalidation operation use the following patterns:
@@ -57,7 +57,7 @@ static inline void __flush_xen_tlb_one(vaddr_t va) asm volatile(STORE_CP32(0, TLBIMVAHIS) : : "r" (va) : "memory"); } -#endif /* __ASM_ARM_ARM32_FLUSHTLB_H__ */ +#endif /* ASM__ARM__ARM32__FLUSHTLB_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/insn.h +3 -3
@@ -13,8 +13,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARCH_ARM_ARM32_INSN -#define __ARCH_ARM_ARM32_INSN +#ifndef ASM__ARM__ARM32__INSN_H +#define ASM__ARM__ARM32__INSN_H #include <xen/types.h>
@@ -60,7 +60,7 @@ static inline uint32_t insn_set_branch_offset(uint32_t insn, int32_t offset) return aarch32_set_branch_offset(insn, offset); } -#endif /* !__ARCH_ARM_ARM32_INSN */ +#endif /* !ASM__ARM__ARM32__INSN_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/io.h +3 -3
@@ -18,8 +18,8 @@* 18-Jun-2000 RMK Removed virt_to_* and friends definitions * 05-Oct-2004 BJD Moved memory string functions to use void __iomem */ -#ifndef _ARM_ARM32_IO_H -#define _ARM_ARM32_IO_H +#ifndef ASM__ARM__ARM32__IO_H +#define ASM__ARM__ARM32__IO_H #include <asm/system.h> #include <asm/byteorder.h>
@@ -113,4 +113,4 @@ static inline void writeq_relaxed_non_atomic(u64 val, volatile void __iomem *add#define writew (v,c) ({ __iowmb(); writew_relaxed(v,c); })#define writel (v,c) ({ __iowmb(); writel_relaxed(v,c); }) -#endif /* _ARM_ARM32_IO_H */ +#endif /* ASM__ARM__ARM32__IO_H */
xen/arch/arm/include/asm/arm32/macros.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_MACROS_H -#define __ASM_ARM_ARM32_MACROS_H +#ifndef ASM__ARM__ARM32__MACROS_H +#define ASM__ARM__ARM32__MACROS_H .macro retmov pc, lr
@@ -75,4 +75,4 @@#endif /* !CONFIG_EARLY_PRINTK */ -#endif /* __ASM_ARM_ARM32_MACROS_H */ +#endif /* ASM__ARM__ARM32__MACROS_H */
xen/arch/arm/include/asm/arm32/mm.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_MM_H__ -#define __ARM_ARM32_MM_H__ +#ifndef ASM__ARM__ARM32__MM_H +#define ASM__ARM__ARM32__MM_H #include <xen/percpu.h>
@@ -22,7 +22,7 @@ static inline void arch_setup_page_tables(void) { } -#endif /* __ARM_ARM32_MM_H__ */ +#endif /* ASM__ARM__ARM32__MM_H */ /* * Local variables:
xen/arch/arm/include/asm/arm32/nospec.h +3 -3
@@ -1,6 +1,6 @@/* Portions taken from Linux arch arm */ -#ifndef __ASM_ARM32_NOSPEC_H -#define __ASM_ARM32_NOSPEC_H +#ifndef ASM__ARM__ARM32__NOSPEC_H +#define ASM__ARM__ARM32__NOSPEC_H #define CSDB ".inst 0xe320f014"
@@ -20,7 +20,7 @@ static inline unsigned long array_index_mask_nospec(unsigned long idx, }#define array_index_mask_nospec array_index_mask_nospec -#endif /* __ASM_ARM32_NOSPEC_H */ +#endif /* ASM__ARM__ARM32__NOSPEC_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/page.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM32_PAGE_H__ -#define __ARM_ARM32_PAGE_H__ +#ifndef ASM__ARM__ARM32__PAGE_H +#define ASM__ARM__ARM32__PAGE_H #ifndef __ASSEMBLY__
@@ -89,7 +89,7 @@ static inline uint64_t gva_to_ipa_par(vaddr_t va, unsigned int flags)#endif /* __ASSEMBLY__ */ -#endif /* __ARM_ARM32_PAGE_H__ */ +#endif /* ASM__ARM__ARM32__PAGE_H */ /* * Local variables:
xen/arch/arm/include/asm/arm32/processor.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_PROCESSOR_H -#define __ASM_ARM_ARM32_PROCESSOR_H +#ifndef ASM__ARM__ARM32__PROCESSOR_H +#define ASM__ARM__ARM32__PROCESSOR_H #define ACTLR_CAXX_SMP (1<<6)
@@ -58,7 +58,7 @@ struct cpu_user_regs#endif -#endif /* __ASM_ARM_ARM32_PROCESSOR_H */ +#endif /* ASM__ARM__ARM32__PROCESSOR_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/sysregs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM32_SYSREGS_H -#define __ASM_ARM_ARM32_SYSREGS_H +#ifndef ASM__ARM__ARM32__SYSREGS_H +#define ASM__ARM__ARM32__SYSREGS_H #include <xen/stringify.h> #include <asm/cpregs.h>
@@ -86,7 +86,7 @@#endif /* __ASSEMBLY__ */ -#endif /* __ASM_ARM_ARM32_SYSREGS_H */ +#endif /* ASM__ARM__ARM32__SYSREGS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/system.h +2 -2
@@ -1,6 +1,6 @@/* Portions taken from Linux arch arm */ -#ifndef __ASM_ARM32_SYSTEM_H -#define __ASM_ARM32_SYSTEM_H +#ifndef ASM__ARM__ARM32__SYSTEM_H +#define ASM__ARM__ARM32__SYSTEM_H #include <asm/arm32/cmpxchg.h>
xen/arch/arm/include/asm/arm32/traps.h +3 -3
@@ -1,7 +1,7 @@ -#ifndef __ASM_ARM32_TRAPS__ -#define __ASM_ARM32_TRAPS__ +#ifndef ASM__ARM__ARM32__TRAPS_H +#define ASM__ARM__ARM32__TRAPS_H -#endif /* __ASM_ARM32_TRAPS__ */ +#endif /* ASM__ARM__ARM32__TRAPS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm32/vfp.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ARM_ARM32_VFP_H -#define _ARM_ARM32_VFP_H +#ifndef ASM__ARM__ARM32__VFP_H +#define ASM__ARM__ARM32__VFP_H #define FPEXC_EX (1U << 31)#define FPEXC_EN (1U << 30)
@@ -30,7 +30,7 @@ struct vfp_state uint32_t fpinst2; }; -#endif /* _ARM_ARM32_VFP_H */ +#endif /* ASM__ARM__ARM32__VFP_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/atomic.h +2 -2
@@ -19,8 +19,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARCH_ARM_ARM64_ATOMIC -#define __ARCH_ARM_ARM64_ATOMIC +#ifndef ASM__ARM__ARM64__ATOMIC_H +#define ASM__ARM__ARM64__ATOMIC_H /* * AArch64 UP and SMP safe atomic ops. We use load exclusive and
xen/arch/arm/include/asm/arm64/bitops.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ARM_ARM64_BITOPS_H -#define _ARM_ARM64_BITOPS_H +#ifndef ASM__ARM__ARM64__BITOPS_H +#define ASM__ARM__ARM64__BITOPS_H /* Based on linux/include/asm-generic/bitops/find.h */
@@ -10,7 +10,7 @@#endif /* CONFIG_GENERIC_FIND_FIRST_BIT */ -#endif /* _ARM_ARM64_BITOPS_H */ +#endif /* ASM__ARM__ARM64__BITOPS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/brk.h +3 -3
@@ -6,8 +6,8 @@* published by the Free Software Foundation. */ -#ifndef __ASM_ARM_ARM64_BRK -#define __ASM_ARM_ARM64_BRK +#ifndef ASM__ARM__ARM64__BRK_H +#define ASM__ARM__ARM64__BRK_H /* * #imm16 values used for BRK instruction generation
@@ -28,7 +28,7 @@*/ #define AARCH64_BREAK_FAULT (AARCH64_BREAK_MON | (BRK_FAULT_IMM << 5)) -#endif /* !__ASM_ARM_ARM64_BRK */ +#endif /* !ASM__ARM__ARM64__BRK_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/bug.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_BUG_H__ -#define __ARM_ARM64_BUG_H__ +#ifndef ASM__ARM__ARM64__BUG_H +#define ASM__ARM__ARM64__BUG_H #include <xen/stringify.h> #include <asm/arm64/brk.h>
@@ -8,4 +8,4 @@#define BUG_FN_REG x0 -#endif /* __ARM_ARM64_BUG_H__ */ +#endif /* ASM__ARM__ARM64__BUG_H */
xen/arch/arm/include/asm/arm64/cmpxchg.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM64_CMPXCHG_H -#define __ASM_ARM64_CMPXCHG_H +#ifndef ASM__ARM__ARM64__CMPXCHG_H +#define ASM__ARM__ARM64__CMPXCHG_H #include <xen/bug.h>
xen/arch/arm/include/asm/arm64/cpufeature.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_CPUFEATURES_H -#define __ASM_ARM_ARM64_CPUFEATURES_H +#ifndef ASM__ARM__ARM64__CPUFEATURE_H +#define ASM__ARM__ARM64__CPUFEATURE_H /* * CPU feature register tracking
xen/arch/arm/include/asm/arm64/efibind.h +2 -2
@@ -16,8 +16,8 @@ Abstract:Revision History --*/ -#ifndef AARCH64_EFI_BIND -#define AARCH64_EFI_BIND +#ifndef ASM__ARM__ARM64__EFIBIND_H +#define ASM__ARM__ARM64__EFIBIND_H #ifndef __GNUC__#pragma pack()#endif
xen/arch/arm/include/asm/arm64/flushtlb.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_FLUSHTLB_H__ -#define __ASM_ARM_ARM64_FLUSHTLB_H__ +#ifndef ASM__ARM__ARM64__FLUSHTLB_H +#define ASM__ARM__ARM64__FLUSHTLB_H /* * Every invalidation operation use the following patterns:
@@ -90,7 +90,7 @@ TLB_HELPER_VA(__flush_xen_tlb_one, vae2is)#undef TLB_HELPER#undef TLB_HELPER_VA -#endif /* __ASM_ARM_ARM64_FLUSHTLB_H__ */ +#endif /* ASM__ARM__ARM64__FLUSHTLB_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/hsr.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_HSR_H -#define __ASM_ARM_ARM64_HSR_H +#ifndef ASM__ARM__ARM64__HSR_H +#define ASM__ARM__ARM64__HSR_H /* AArch 64 System Register Encodings */ #define __HSR_SYSREG_c0 0
@@ -150,7 +150,7 @@#define HSR_SYSREG_ID_AA64AFR1_EL1 HSR_SYSREG(3,0,c0,c5,5)#define HSR_SYSREG_ID_AA64ZFR0_EL1 HSR_SYSREG(3,0,c0,c4,4) -#endif /* __ASM_ARM_ARM64_HSR_H */ +#endif /* ASM__ARM__ARM64__HSR_H */ /* * Local variables:
xen/arch/arm/include/asm/arm64/insn.h +3 -3
@@ -16,8 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARCH_ARM_ARM64_INSN -#define __ARCH_ARM_ARM64_INSN +#ifndef ASM__ARM__ARM64__INSN_H +#define ASM__ARM__ARM64__INSN_H #include <xen/types.h> #include <xen/stdbool.h>
@@ -99,7 +99,7 @@ static inline uint32_t insn_set_branch_offset(uint32_t insn, int32_t offset) return aarch64_set_branch_offset(insn, offset); } -#endif /* !__ARCH_ARM_ARM64_INSN */ +#endif /* !ASM__ARM__ARM64__INSN_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/io.h +3 -3
@@ -17,8 +17,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _ARM_ARM64_IO_H -#define _ARM_ARM64_IO_H +#ifndef ASM__ARM__ARM64__IO_H +#define ASM__ARM__ARM64__IO_H #include <asm/system.h> #include <asm/byteorder.h>
@@ -147,4 +147,4 @@ static inline void emulate_write(u64 addr)#define outw (v, c) ( emulate_write(c) )#define outl (v, c) ( emulate_write(c) ) -#endif /* _ARM_ARM64_IO_H */ +#endif /* ASM__ARM__ARM64__IO_H */
xen/arch/arm/include/asm/arm64/macros.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_MACROS_H -#define __ASM_ARM_ARM64_MACROS_H +#ifndef ASM__ARM__ARM64__MACROS_H +#define ASM__ARM__ARM64__MACROS_H /* * @dst: Result of get_cpu_info()
@@ -96,5 +96,5 @@*/ lr .req x30 /* link register */ -#endif /* __ASM_ARM_ARM64_MACROS_H */ +#endif /* ASM__ARM__ARM64__MACROS_H */
xen/arch/arm/include/asm/arm64/mm.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_MM_H__ -#define __ARM_ARM64_MM_H__ +#ifndef ASM__ARM__ARM64__MM_H +#define ASM__ARM__ARM64__MM_H extern DEFINE_PAGE_TABLE (xen_pgtable);
@@ -16,7 +16,7 @@ void arch_setup_page_tables(void);void update_boot_mapping (bool enable); -#endif /* __ARM_ARM64_MM_H__ */ +#endif /* ASM__ARM__ARM64__MM_H */ /* * Local variables:
xen/arch/arm/include/asm/arm64/nospec.h +3 -3
@@ -1,6 +1,6 @@/* Portions taken from Linux arch arm64 */ -#ifndef __ASM_ARM64_NOSPEC_H -#define __ASM_ARM64_NOSPEC_H +#ifndef ASM__ARM__ARM64__NOSPEC_H +#define ASM__ARM__ARM64__NOSPEC_H #define csdb () asm volatile ( "hint #20" : : : "memory" )
@@ -24,7 +24,7 @@ static inline unsigned long array_index_mask_nospec(unsigned long idx, }#define array_index_mask_nospec array_index_mask_nospec -#endif /* __ASM_ARM64_NOSPEC_H */ +#endif /* ASM__ARM__ARM64__NOSPEC_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/page.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ARM64_PAGE_H__ -#define __ARM_ARM64_PAGE_H__ +#ifndef ASM__ARM__ARM64__PAGE_H +#define ASM__ARM__ARM64__PAGE_H #ifndef __ASSEMBLY__
@@ -79,7 +79,7 @@ extern void clear_page(void *to);#endif /* __ASSEMBLY__ */ -#endif /* __ARM_ARM64_PAGE_H__ */ +#endif /* ASM__ARM__ARM64__PAGE_H */ /* * Local variables:
xen/arch/arm/include/asm/arm64/processor.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_PROCESSOR_H -#define __ASM_ARM_ARM64_PROCESSOR_H +#ifndef ASM__ARM__ARM64__PROCESSOR_H +#define ASM__ARM__ARM64__PROCESSOR_H #ifndef __ASSEMBLY__
@@ -88,7 +88,7 @@ struct cpu_user_regs#endif /* __ASSEMBLY__ */ -#endif /* __ASM_ARM_ARM64_PROCESSOR_H */ +#endif /* ASM__ARM__ARM64__PROCESSOR_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/sve.h +3 -3
@@ -5,8 +5,8 @@* Copyright (C) 2022 ARM Ltd. */ -#ifndef _ARM_ARM64_SVE_H -#define _ARM_ARM64_SVE_H +#ifndef ASM__ARM__ARM64__SVE_H +#define ASM__ARM__ARM64__SVE_H #include <xen/sched.h>
@@ -60,7 +60,7 @@ static inline unsigned int get_sys_vl_len(void)#endif /* CONFIG_ARM64_SVE */ -#endif /* _ARM_ARM64_SVE_H */ +#endif /* ASM__ARM__ARM64__SVE_H */ /* * Local variables:
xen/arch/arm/include/asm/arm64/sysregs.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_ARM64_SYSREGS_H -#define __ASM_ARM_ARM64_SYSREGS_H +#ifndef ASM__ARM__ARM64__SYSREGS_H +#define ASM__ARM__ARM64__SYSREGS_H #include <xen/stringify.h>
xen/arch/arm/include/asm/arm64/system.h +2 -2
@@ -1,6 +1,6 @@/* Portions taken from Linux arch arm64 */ -#ifndef __ASM_ARM64_SYSTEM_H -#define __ASM_ARM64_SYSTEM_H +#ifndef ASM__ARM__ARM64__SYSTEM_H +#define ASM__ARM__ARM64__SYSTEM_H #include <asm/arm64/cmpxchg.h>
xen/arch/arm/include/asm/arm64/traps.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM64_TRAPS__ -#define __ASM_ARM64_TRAPS__ +#ifndef ASM__ARM__ARM64__TRAPS_H +#define ASM__ARM__ARM64__TRAPS_H void inject_undef64_exception (struct cpu_user_regs *regs,int instr_len);
@@ -8,7 +8,7 @@ void do_sysreg(struct cpu_user_regs *regs,void do_bad_mode (struct cpu_user_regs *regs,int reason); -#endif /* __ASM_ARM64_TRAPS__ */ +#endif /* ASM__ARM__ARM64__TRAPS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/arm64/vfp.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ARM_ARM64_VFP_H -#define _ARM_ARM64_VFP_H +#ifndef ASM__ARM__ARM64__VFP_H +#define ASM__ARM__ARM64__VFP_H /* ARM64 VFP instruction requires fpregs address to be 128-byte aligned */ #define __vfp_aligned __attribute__((aligned(16)))
@@ -28,7 +28,7 @@ struct vfp_state register_t fpsr; }; -#endif /* _ARM_ARM64_VFP_H */ +#endif /* ASM__ARM__ARM64__VFP_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/asm_defns.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ASM_DEFNS_H__ -#define __ARM_ASM_DEFNS_H__ +#ifndef ASM__ARM__ASM_DEFNS_H +#define ASM__ARM__ASM_DEFNS_H #ifndef COMPILE_OFFSETS /* NB. Auto-generated from arch/.../asm-offsets.c */
@@ -28,7 +28,7 @@ label: .asciz msg; \ .popsection -#endif /* __ARM_ASM_DEFNS_H__ */ +#endif /* ASM__ARM__ASM_DEFNS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/atomic.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_ATOMIC__ -#define __ARCH_ARM_ATOMIC__ +#ifndef ASM__ARM__ATOMIC_H +#define ASM__ARM__ATOMIC_H #include <xen/atomic.h> #include <xen/prefetch.h>
@@ -227,7 +227,7 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u)#define atomic_xchg (v, new) (xchg(&((v)->counter), new)) -#endif /* __ARCH_ARM_ATOMIC__ */ +#endif /* ASM__ARM__ATOMIC_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/bitops.h +3 -3
@@ -6,8 +6,8 @@* reworked by rmk. */ -#ifndef _ARM_BITOPS_H -#define _ARM_BITOPS_H +#ifndef ASM__ARM__BITOPS_H +#define ASM__ARM__BITOPS_H #include <xen/macros.h>
@@ -78,7 +78,7 @@ bool clear_mask16_timeout(uint16_t mask, volatile void *p,#define arch_fls (x) ((x) ? 32 - __builtin_clz(x) : 0)#define arch_flsl (x) ((x) ? BITS_PER_LONG - __builtin_clzl(x) : 0) -#endif /* _ARM_BITOPS_H */ +#endif /* ASM__ARM__BITOPS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/bug.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_BUG_H__ -#define __ARM_BUG_H__ +#ifndef ASM__ARM__BUG_H +#define ASM__ARM__BUG_H #include <xen/types.h>
@@ -82,7 +82,7 @@ struct bug_frame {unreachable (); \ } while (0) -#endif /* __ARM_BUG_H__ */ +#endif /* ASM__ARM__BUG_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/byteorder.h +3 -3
@@ -1,11 +1,11 @@ -#ifndef __ASM_ARM_BYTEORDER_H__ -#define __ASM_ARM_BYTEORDER_H__ +#ifndef ASM__ARM__BYTEORDER_H +#define ASM__ARM__BYTEORDER_H #define __BYTEORDER_HAS_U64__#include <xen/byteorder/little_endian.h> -#endif /* __ASM_ARM_BYTEORDER_H__ */ +#endif /* ASM__ARM__BYTEORDER_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/cache.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_CACHE_H -#define __ARCH_ARM_CACHE_H +#ifndef ASM__ARM__CACHE_H +#define ASM__ARM__CACHE_H /* L1 cache line size */
xen/arch/arm/include/asm/cadence-uart.h +2 -2
@@ -15,8 +15,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_CADENCE_UART_H__ -#define __ASM_ARM_CADENCE_UART_H__ +#ifndef ASM__ARM__CADENCE_UART_H +#define ASM__ARM__CADENCE_UART_H #define R_UART_CR 0x00#define UART_CR_RX_RST 0x01
xen/arch/arm/include/asm/config.h +3 -3
@@ -4,8 +4,8 @@* A Linux-style configuration list. */ -#ifndef __ARM_CONFIG_H__ -#define __ARM_CONFIG_H__ +#ifndef ASM__ARM__CONFIG_H +#define ASM__ARM__CONFIG_H #if defined(CONFIG_ARM_64 )# define LONG_BYTEORDER 3
@@ -92,7 +92,7 @@ extern unsigned long frametable_virt_end;#include <asm/macros.h> #endif -#endif /* __ARM_CONFIG_H__ */ +#endif /* ASM__ARM__CONFIG_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/cpregs.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_CPREGS_H -#define __ASM_ARM_CPREGS_H +#ifndef ASM__ARM__CPREGS_H +#define ASM__ARM__CPREGS_H /* * AArch32 Co-processor registers.
xen/arch/arm/include/asm/cpuerrata.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_CPUERRATA_H__ -#define __ARM_CPUERRATA_H__ +#ifndef ASM__ARM__CPUERRATA_H +#define ASM__ARM__CPUERRATA_H #include <asm/cpufeature.h> #include <asm/alternative.h>
@@ -74,7 +74,7 @@ static inline enum ssbd_state get_ssbd_state(void)#endif -#endif /* __ARM_CPUERRATA_H__ */ +#endif /* ASM__ARM__CPUERRATA_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/cpufeature.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_CPUFEATURE_H -#define __ASM_ARM_CPUFEATURE_H +#ifndef ASM__ARM__CPUFEATURE_H +#define ASM__ARM__CPUFEATURE_H #ifdef CONFIG_ARM_64 #define cpu_feature64 (c, feat) ((c)->pfr64.feat)
xen/arch/arm/include/asm/current.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_CURRENT_H__ -#define __ARM_CURRENT_H__ +#ifndef ASM__ARM__CURRENT_H +#define ASM__ARM__CURRENT_H #include <xen/page-size.h> #include <xen/percpu.h>
@@ -65,7 +65,7 @@ do { \#endif -#endif /* __ARM_CURRENT_H__ */ +#endif /* ASM__ARM__CURRENT_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/div64.h +2 -2
@@ -1,6 +1,6 @@/* Taken from Linux arch/arm */ -#ifndef __ASM_ARM_DIV64 -#define __ASM_ARM_DIV64 +#ifndef ASM__ARM__DIV64_H +#define ASM__ARM__DIV64_H #include <asm/system.h> #include <xen/types.h>
xen/arch/arm/include/asm/dom0less-build.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_DOM0LESS_BUILD_H_ -#define __ASM_DOM0LESS_BUILD_H_ +#ifndef ASM__ARM__DOM0LESS_BUILD_H +#define ASM__ARM__DOM0LESS_BUILD_H #include <xen/stdbool.h>
@@ -20,7 +20,7 @@ static inline bool is_dom0less_mode(void)#endif /* CONFIG_DOM0LESS_BOOT */ -#endif /* __ASM_DOM0LESS_BUILD_H_ */ +#endif /* ASM__ARM__DOM0LESS_BUILD_H */ /* * Local variables:
xen/arch/arm/include/asm/domain.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_DOMAIN_H__ -#define __ASM_DOMAIN_H__ +#ifndef ASM__ARM__DOMAIN_H +#define ASM__ARM__DOMAIN_H #include <xen/cache.h> #include <xen/timer.h>
@@ -310,7 +310,7 @@ static inline void update_guest_memory_policy(struct vcpu *v, struct guest_memory_policy *gmp) {} -#endif /* __ASM_DOMAIN_H__ */ +#endif /* ASM__ARM__DOMAIN_H */ /* * Local variables:
xen/arch/arm/include/asm/domain_build.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_DOMAIN_BUILD_H__ -#define __ASM_DOMAIN_BUILD_H__ +#ifndef ASM__ARM__DOMAIN_BUILD_H +#define ASM__ARM__DOMAIN_BUILD_H #include <xen/sched.h> #include <asm/kernel.h>
xen/arch/arm/include/asm/early_printk.h +2 -2
@@ -7,8 +7,8 @@* it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ -#ifndef __ARM_EARLY_PRINTK_H__ -#define __ARM_EARLY_PRINTK_H__ +#ifndef ASM__ARM__EARLY_PRINTK_H +#define ASM__ARM__EARLY_PRINTK_H #include <xen/page-size.h> #include <asm/fixmap.h>
xen/arch/arm/include/asm/elf.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_ELF_H__ -#define __ARM_ELF_H__ +#ifndef ASM__ARM__ELF_H +#define ASM__ARM__ELF_H typedef struct { unsigned long r0;
@@ -20,7 +20,7 @@ typedef struct { unsigned long pc; } ELF_Gregset; -#endif /* __ARM_ELF_H__ */ +#endif /* ASM__ARM__ELF_H */ /* * Local variables:
xen/arch/arm/include/asm/event.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_EVENT_H__ -#define __ASM_EVENT_H__ +#ifndef ASM__ARM__EVENT_H +#define ASM__ARM__EVENT_H #include <asm/domain.h>
xen/arch/arm/include/asm/exynos4210-uart.h +3 -3
@@ -18,8 +18,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_EXYNOS4210_H -#define __ASM_ARM_EXYNOS4210_H +#ifndef ASM__ARM__EXYNOS4210_UART_H +#define ASM__ARM__EXYNOS4210_UART_H /*
@@ -100,7 +100,7 @@#define UINTM_RXD (1 << 0)#define UINTM_ALLI (UINTM_MODEM | UINTM_TXD | UINTM_ERROR | UINTM_RXD) -#endif /* __ASM_ARM_EXYNOS4210_H */ +#endif /* ASM__ARM__EXYNOS4210_UART_H */ /* * Local variables:
xen/arch/arm/include/asm/fixmap.h +3 -3
@@ -1,8 +1,8 @@/* * fixmap.h: compile-time virtual memory allocation */ -#ifndef __ASM_FIXMAP_H -#define __ASM_FIXMAP_H +#ifndef ASM__ARM__FIXMAP_H +#define ASM__ARM__FIXMAP_H #include <xen/acpi.h> #include <xen/pmap.h>
@@ -45,4 +45,4 @@ static inline unsigned int virt_to_fix(vaddr_t vaddr)#endif /* __ASSEMBLY__ */ -#endif /* __ASM_FIXMAP_H */ +#endif /* ASM__ARM__FIXMAP_H */
xen/arch/arm/include/asm/flushtlb.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_FLUSHTLB_H__ -#define __ASM_ARM_FLUSHTLB_H__ +#ifndef ASM__ARM__FLUSHTLB_H +#define ASM__ARM__FLUSHTLB_H #include <xen/cpumask.h>
@@ -68,7 +68,7 @@ static inline void flush_xen_tlb_range_va(vaddr_t va, isb(); } -#endif /* __ASM_ARM_FLUSHTLB_H__ */ +#endif /* ASM__ARM__FLUSHTLB_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/gic.h +2 -2
@@ -15,8 +15,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_GIC_H__ -#define __ASM_ARM_GIC_H__ +#ifndef ASM__ARM__GIC_H +#define ASM__ARM__GIC_H #define NR_GIC_LOCAL_IRQS NR_LOCAL_IRQS#define NR_GIC_SGI 16
xen/arch/arm/include/asm/gic_v3_defs.h +3 -3
@@ -15,8 +15,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_GIC_V3_DEFS_H__ -#define __ASM_ARM_GIC_V3_DEFS_H__ +#ifndef ASM__ARM__GIC_V3_DEFS_H +#define ASM__ARM__GIC_V3_DEFS_H #include <xen/sizes.h>
@@ -210,7 +210,7 @@ struct rdist_region { bool single_rdist; }; -#endif /* __ASM_ARM_GIC_V3_DEFS_H__ */ +#endif /* ASM__ARM__GIC_V3_DEFS_H */ /* * Local variables:
xen/arch/arm/include/asm/gic_v3_its.h +2 -2
@@ -17,8 +17,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_ARM_ITS_H__ -#define __ASM_ARM_ITS_H__ +#ifndef ASM__ARM__GIC_V3_ITS_H +#define ASM__ARM__GIC_V3_ITS_H #define GITS_CTLR 0x000#define GITS_IIDR 0x004
xen/arch/arm/include/asm/grant_table.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_GRANT_TABLE_H__ -#define __ASM_GRANT_TABLE_H__ +#ifndef ASM__ARM__GRANT_TABLE_H +#define ASM__ARM__GRANT_TABLE_H #include <xen/grant_table.h> #include <xen/kernel.h>
@@ -76,7 +76,7 @@ int replace_grant_host_mapping(uint64_t gpaddr, mfn_t frame,#define gnttab_need_iommu_mapping (d) \ (is_domain_direct_mapped(d) && is_iommu_enabled(d)) -#endif /* __ASM_GRANT_TABLE_H__ */ +#endif /* ASM__ARM__GRANT_TABLE_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/guest_access.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_GUEST_ACCESS_H__ -#define __ASM_ARM_GUEST_ACCESS_H__ +#ifndef ASM__ARM__GUEST_ACCESS_H +#define ASM__ARM__GUEST_ACCESS_H #include <xen/errno.h> #include <xen/sched.h>
@@ -31,7 +31,7 @@ int access_guest_memory_by_gpa(struct domain *d, paddr_t gpa, void *buf,#define guest_handle_okay (hnd, nr) (1)#define guest_handle_subrange_okay (hnd, first, last) (1) -#endif /* __ASM_ARM_GUEST_ACCESS_H__ */ +#endif /* ASM__ARM__GUEST_ACCESS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/guest_atomics.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ARM_GUEST_ATOMICS_H -#define _ARM_GUEST_ATOMICS_H +#ifndef ASM__ARM__GUEST_ATOMICS_H +#define ASM__ARM__GUEST_ATOMICS_H #include <xen/bitops.h> #include <xen/sched.h>
@@ -137,7 +137,7 @@ static inline uint64_t guest_cmpxchg64(struct domain *d, return oldval; } -#endif /* _ARM_GUEST_ATOMICS_H */ +#endif /* ASM__ARM__GUEST_ATOMICS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/guest_walk.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _XEN_GUEST_WALK_H -#define _XEN_GUEST_WALK_H +#ifndef ASM__ARM__GUEST_WALK_H +#define ASM__ARM__GUEST_WALK_H /* Walk the guest's page tables in software. */ bool guest_walk_tables(const struct vcpu *v,
@@ -7,7 +7,7 @@ bool guest_walk_tables(const struct vcpu *v,paddr_t *ipa, unsigned int *perms); -#endif /* _XEN_GUEST_WALK_H */ +#endif /* ASM__ARM__GUEST_WALK_H */ /* * Local variables:
xen/arch/arm/include/asm/hsr.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_HSR_H -#define __ASM_ARM_HSR_H +#ifndef ASM__ARM__HSR_H +#define ASM__ARM__HSR_H #include <xen/types.h>
@@ -205,7 +205,7 @@ union hsr {/* HSR.EC == HSR_{HVC32, HVC64, SMC64, SVC32, SVC64} */ #define HSR_XXC_IMM_MASK (0xffff) -#endif /* __ASM_ARM_HSR_H */ +#endif /* ASM__ARM__HSR_H */ /* * Local variables:
xen/arch/arm/include/asm/hypercall.h +4 -4
@@ -1,17 +1,17 @@/* SAF-10-safe direct inclusion guard before */ -#ifndef __XEN_HYPERCALL_H__ +#ifndef XEN__HYPERCALL_H #error "asm/hypercall.h should not be included directly - include xen/hypercall.h instead"#endif -#ifndef __ASM_ARM_HYPERCALL_H__ -#define __ASM_ARM_HYPERCALL_H__ +#ifndef ASM__ARM__HYPERCALL_H +#define ASM__ARM__HYPERCALL_H #include <public/domctl.h> /* for arch_do_domctl */ long subarch_do_domctl (struct xen_domctl *domctl,struct domain *d,XEN_GUEST_HANDLE_PARAM (xen_domctl_t) u_domctl); -#endif /* __ASM_ARM_HYPERCALL_H__ */ +#endif /* ASM__ARM__HYPERCALL_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/imx-lpuart.h +3 -3
@@ -17,8 +17,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_IMX_LPUART_H__ -#define __ASM_ARM_IMX_LPUART_H__ +#ifndef ASM__ARM__IMX_LPUART_H +#define ASM__ARM__IMX_LPUART_H /* 32-bit register definition */ #define UARTBAUD (0x10)
@@ -52,7 +52,7 @@#define UARTWATER_RXCNT_OFF 24 -#endif /* __ASM_ARM_IMX_LPUART_H__ */ +#endif /* ASM__ARM__IMX_LPUART_H */ /* * Local variables:
xen/arch/arm/include/asm/insn.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_INSN -#define __ARCH_ARM_INSN +#ifndef ASM__ARM__INSN_H +#define ASM__ARM__INSN_H #ifndef __ASSEMBLY__
@@ -18,7 +18,7 @@/* On ARM32,64 instructions are always 4 bytes long. */ #define ARCH_PATCH_INSN_SIZE 4 -#endif /* !__ARCH_ARM_INSN */ +#endif /* !ASM__ARM__INSN_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/io.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _ASM_IO_H -#define _ASM_IO_H +#ifndef ASM__ARM__IO_H +#define ASM__ARM__IO_H #if defined(CONFIG_ARM_32 )# include <asm/arm32/io.h>
xen/arch/arm/include/asm/iommu.h +3 -3
@@ -11,8 +11,8 @@* You should have received a copy of the GNU General Public License along with * this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARCH_ARM_IOMMU_H__ -#define __ARCH_ARM_IOMMU_H__ +#ifndef ASM__ARM__IOMMU_H +#define ASM__ARM__IOMMU_H struct arch_iommu {
@@ -34,7 +34,7 @@ int __must_check arm_iommu_unmap_page(struct domain *d, dfn_t dfn,unsigned int order, unsigned int *flush_flags); -#endif /* __ARCH_ARM_IOMMU_H__ */ +#endif /* ASM__ARM__IOMMU_H */ /* * Local variables:
xen/arch/arm/include/asm/iommu_fwspec.h +3 -3
@@ -24,8 +24,8 @@* License along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARCH_ARM_IOMMU_FWSPEC_H__ -#define __ARCH_ARM_IOMMU_FWSPEC_H__ +#ifndef ASM__ARM__IOMMU_FWSPEC_H +#define ASM__ARM__IOMMU_FWSPEC_H /* per-device IOMMU instance data */ struct iommu_fwspec {
@@ -55,7 +55,7 @@ static inline void dev_iommu_fwspec_set(struct device *dev, dev->iommu_fwspec = fwspec; } -#endif /* __ARCH_ARM_IOMMU_FWSPEC_H__ */ +#endif /* ASM__ARM__IOMMU_FWSPEC_H */ /* * Local variables:
xen/arch/arm/include/asm/ioreq.h +3 -3
@@ -17,8 +17,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_ARM_IOREQ_H__ -#define __ASM_ARM_IOREQ_H__ +#ifndef ASM__ARM__IOREQ_H +#define ASM__ARM__IOREQ_H #ifdef CONFIG_IOREQ_SERVER enum io_state handle_ioserv (struct cpu_user_regs *regs,struct vcpu *v);
@@ -57,7 +57,7 @@ static inline void msix_write_completion(struct vcpu *v)#define IOREQ_STATUS_UNHANDLED IO_UNHANDLED#define IOREQ_STATUS_RETRY IO_RETRY -#endif /* __ASM_ARM_IOREQ_H__ */ +#endif /* ASM__ARM__IOREQ_H */ /* * Local variables:
xen/arch/arm/include/asm/irq.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_HW_IRQ_H -#define _ASM_HW_IRQ_H +#ifndef ASM__ARM__IRQ_H +#define ASM__ARM__IRQ_H #include <xen/device_tree.h> #include <public/device_tree_defs.h>
@@ -101,7 +101,7 @@ bool irq_type_set_by_domain(const struct domain *d);void irq_end_none (struct irq_desc *irq);#define irq_end_none irq_end_none -#endif /* _ASM_HW_IRQ_H */ +#endif /* ASM__ARM__IRQ_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/kernel.h +3 -3
@@ -3,8 +3,8 @@* * Copyright (C) 2011 Citrix Systems, Inc. */ -#ifndef __ARCH_ARM_KERNEL_H__ -#define __ARCH_ARM_KERNEL_H__ +#ifndef ASM__ARM__KERNEL_H +#define ASM__ARM__KERNEL_H #include <xen/device_tree.h> #include <asm/domain.h>
@@ -126,7 +126,7 @@ int kernel_probe(struct kernel_info *info, const struct dt_device_node *domain);*/ void kernel_load (struct kernel_info *info); -#endif /* #ifdef __ARCH_ARM_KERNEL_H__ */ +#endif /* #ifdef ASM__ARM__KERNEL_H */ /* * Local variables:
xen/arch/arm/include/asm/livepatch.h +3 -3
@@ -3,8 +3,8 @@* */ -#ifndef __XEN_ARM_LIVEPATCH_H__ -#define __XEN_ARM_LIVEPATCH_H__ +#ifndef ASM__ARM__LIVEPATCH_H +#define ASM__ARM__LIVEPATCH_H #include <xen/sizes.h> /* For SZ_* macros. */ #include <asm/insn.h>
@@ -24,7 +24,7 @@ extern void *vmap_of_xen_text;#define ARCH_LIVEPATCH_RANGE SZ_128M#endif -#endif /* __XEN_ARM_LIVEPATCH_H__ */ +#endif /* ASM__ARM__LIVEPATCH_H */ /* * Local variables:
xen/arch/arm/include/asm/lpae.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_LPAE_H__ -#define __ARM_LPAE_H__ +#ifndef ASM__ARM__LPAE_H +#define ASM__ARM__LPAE_H #ifndef __ASSEMBLY__
@@ -284,7 +284,7 @@ lpae_t __aligned(PAGE_SIZE) name[XEN_PT_LPAE_ENTRIES * (nr)]#define DEFINE_PAGE_TABLE (name) DEFINE_PAGE_TABLES(name, 1) -#endif /* __ARM_LPAE_H__ */ +#endif /* ASM__ARM__LPAE_H */ /* * Local variables:
xen/arch/arm/include/asm/macros.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_MACROS_H -#define __ASM_MACROS_H +#ifndef ASM__ARM__MACROS_H +#define ASM__ARM__MACROS_H #ifndef __ASSEMBLY__# error "This file should only be included in assembly file"
xen/arch/arm/include/asm/mem_access.h +3 -3
@@ -14,8 +14,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _ASM_ARM_MEM_ACCESS_H -#define _ASM_ARM_MEM_ACCESS_H +#ifndef ASM__ARM__MEM_ACCESS_H +#define ASM__ARM__MEM_ACCESS_H #include <xen/types.h>
@@ -59,7 +59,7 @@ p2m_mem_access_check_and_get_page(vaddr_t gva, unsigned long flag, }#endif /*CONFIG_MEM_ACCESS*/ -#endif /* _ASM_ARM_MEM_ACCESS_H */ +#endif /* ASM__ARM__MEM_ACCESS_H */ /* * Local variables:
xen/arch/arm/include/asm/mm.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARCH_ARM_MM__ -#define __ARCH_ARM_MM__ +#ifndef ASM__ARM__MM_H +#define ASM__ARM__MM_H #include <xen/kernel.h> #include <asm/page.h>
@@ -426,7 +426,7 @@ static inline void page_set_xenheap_gfn(struct page_info *p, gfn_t gfn) } while ( (y = cmpxchg(&p->u.inuse.type_info, x, nx)) != x ); } -#endif /* __ARCH_ARM_MM__ */ +#endif /* ASM__ARM__MM_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/mmio.h +3 -3
@@ -16,8 +16,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_MMIO_H__ -#define __ASM_ARM_MMIO_H__ +#ifndef ASM__ARM__MMIO_H +#define ASM__ARM__MMIO_H #include <xen/lib.h> #include <xen/rwlock.h>
@@ -92,7 +92,7 @@ void domain_io_free(struct domain *d);void try_decode_instruction (const struct cpu_user_regs *regs,mmio_info_t *info); -#endif /* __ASM_ARM_MMIO_H__ */ +#endif /* ASM__ARM__MMIO_H */ /* * Local variables:
xen/arch/arm/include/asm/mmu/layout.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ARM_MMU_LAYOUT_H__ -#define __ARM_MMU_LAYOUT_H__ +#ifndef ASM__ARM__MMU__LAYOUT_H +#define ASM__ARM__MMU__LAYOUT_H /* * ARM32 layout:
@@ -140,7 +140,7 @@#endif -#endif /* __ARM_MMU_LAYOUT_H__ */ +#endif /* ASM__ARM__MMU__LAYOUT_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/mmu/mm.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ARM_MMU_MM_H__ -#define __ARM_MMU_MM_H__ +#ifndef ASM__ARM__MMU__MM_H +#define ASM__ARM__MMU__MM_H /* Non-boot CPUs use this to find the correct pagetables. */ extern uint64_t init_ttbr;
@@ -32,7 +32,7 @@ void dump_pt_walk(paddr_t ttbr, paddr_t addr,/* Switch to a new root page-tables */ extern void switch_ttbr (uint64_t ttbr); -#endif /* __ARM_MMU_MM_H__ */ +#endif /* ASM__ARM__MMU__MM_H */ /* * Local variables:
xen/arch/arm/include/asm/mmu/p2m.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef __ARM_MMU_P2M_H__ -#define __ARM_MMU_P2M_H__ +#ifndef ASM__ARM__MMU__P2M_H +#define ASM__ARM__MMU__P2M_H extern unsigned int p2m_root_order;extern unsigned int p2m_root_level;
@@ -14,7 +14,7 @@ void p2m_tlb_flush_sync(struct p2m_domain *p2m);void p2m_clear_root_pages (struct p2m_domain *p2m); -#endif /* __ARM_MMU_P2M_H__ */ +#endif /* ASM__ARM__MMU__P2M_H */ /* * Local variables:
xen/arch/arm/include/asm/monitor.h +3 -3
@@ -19,8 +19,8 @@* License along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_ARM_MONITOR_H__ -#define __ASM_ARM_MONITOR_H__ +#ifndef ASM__ARM__MONITOR_H +#define ASM__ARM__MONITOR_H #include <xen/sched.h> #include <public/domctl.h>
@@ -44,4 +44,4 @@ static inline uint32_t arch_monitor_get_capabilities(struct domain *d)int monitor_smc (void ); -#endif /* __ASM_ARM_MONITOR_H__ */ +#endif /* ASM__ARM__MONITOR_H */
xen/arch/arm/include/asm/new_vgic.h +3 -3
@@ -13,8 +13,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_ARM_NEW_VGIC_H -#define __ASM_ARM_NEW_VGIC_H +#ifndef ASM__ARM__NEW_VGIC_H +#define ASM__ARM__NEW_VGIC_H #include <asm/atomic.h> #include <asm/mmio.h>
@@ -198,7 +198,7 @@ static inline paddr_t vgic_dist_base(const struct vgic_dist *vgic) return vgic->dbase; } -#endif /* __ASM_ARM_NEW_VGIC_H */ +#endif /* ASM__ARM__NEW_VGIC_H */ /* * Local variables:
xen/arch/arm/include/asm/nospec.h +3 -3
@@ -1,8 +1,8 @@/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ -#ifndef _ASM_ARM_NOSPEC_H -#define _ASM_ARM_NOSPEC_H +#ifndef ASM__ARM__NOSPEC_H +#define ASM__ARM__NOSPEC_H #if defined(CONFIG_ARM_32 )# include <asm/arm32/nospec.h>
@@ -21,7 +21,7 @@ static inline void block_speculation(void) { } -#endif /* _ASM_ARM_NOSPEC_H */ +#endif /* ASM__ARM__NOSPEC_H */ /* * Local variables:
xen/arch/arm/include/asm/p2m.h +4 -4
@@ -1,5 +1,5 @@ -#ifndef _XEN_P2M_H -#define _XEN_P2M_H +#ifndef ASM__ARM__P2M_H +#define ASM__ARM__P2M_H #include <xen/mm.h> #include <xen/radix-tree.h>
@@ -160,7 +160,7 @@ typedef enum { P2M_FOREIGN_TYPES))/* All common type definitions should live ahead of this inclusion. */ -#ifdef _XEN_P2M_COMMON_H +#ifdef XEN__P2M_COMMON_H # error "xen/p2m-common.h should not be included directly"#endif #include <xen/p2m-common.h>
@@ -449,7 +449,7 @@ static inline bool vcpu_has_cache_enabled(struct vcpu *v) return (READ_SYSREG(SCTLR_EL1) & mask) == mask; } -#endif /* _XEN_P2M_H */ +#endif /* ASM__ARM__P2M_H */ /* * Local variables:
xen/arch/arm/include/asm/page-bits.h +3 -3
@@ -1,8 +1,8 @@ -#ifndef __ARM_PAGE_SHIFT_H__ -#define __ARM_PAGE_SHIFT_H__ +#ifndef ASM__ARM__PAGE_BITS_H +#define ASM__ARM__PAGE_BITS_H #define PAGE_SHIFT 12#define PADDR_BITS CONFIG_PADDR_BITS -#endif /* __ARM_PAGE_SHIFT_H__ */ +#endif /* ASM__ARM__PAGE_BITS_H */
xen/arch/arm/include/asm/page.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_PAGE_H__ -#define __ARM_PAGE_H__ +#ifndef ASM__ARM__PAGE_H +#define ASM__ARM__PAGE_H #include <public/xen.h> #include <xen/page-size.h>
@@ -316,7 +316,7 @@ static inline int gva_to_ipa(vaddr_t va, paddr_t *paddr, unsigned int flags)#endif /* __ASSEMBLY__ */ -#endif /* __ARM_PAGE_H__ */ +#endif /* ASM__ARM__PAGE_H */ /* * Local variables:
xen/arch/arm/include/asm/pci.h +3 -3
@@ -12,8 +12,8 @@* along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ARM_PCI_H__ -#define __ARM_PCI_H__ +#ifndef ASM__ARM__PCI_H +#define ASM__ARM__PCI_H #ifdef CONFIG_HAS_PCI
@@ -148,4 +148,4 @@ static inline int pci_get_new_domain_nr(void) }#endif /*!CONFIG_HAS_PCI*/ -#endif /* __ARM_PCI_H__ */ +#endif /* ASM__ARM__PCI_H */
xen/arch/arm/include/asm/perfc.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_PERFC_H__ -#define __ASM_PERFC_H__ +#ifndef ASM__ARM__PERFC_H +#define ASM__ARM__PERFC_H static inline void arch_perfc_reset (void ) {
xen/arch/arm/include/asm/perfc_defn.h +3 -3
@@ -1,6 +1,6 @@/* This file is legitimately included multiple times. */ -/*#ifndef __XEN_PERFC_DEFN_H__*/ -/*#define __XEN_PERFC_DEFN_H__*/ +/*#ifndef ASM__ARM__PERFC_DEFN_H*/ +/*#define ASM__ARM__PERFC_DEFN_H*/ PERFCOUNTER (invalid_hypercalls,"invalid hypercalls" )
@@ -76,7 +76,7 @@ PERFCOUNTER(maintenance_irqs, "Maintenance interrupts") PERFCOUNTER(atomics_guest, "atomics: guest access")PERFCOUNTER (atomics_guest_paused,"atomics: guest paused" ) -/*#endif*/ /* __XEN_PERFC_DEFN_H__ */ +/*#endif*/ /* ASM__ARM__PERFC_DEFN_H */ /* * Local variables:
xen/arch/arm/include/asm/pl011-uart.h +3 -3
@@ -18,8 +18,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_PL011_H -#define __ASM_ARM_PL011_H +#ifndef ASM__ARM__PL011_UART_H +#define ASM__ARM__PL011_UART_H #ifdef __ASSEMBLY__
@@ -95,7 +95,7 @@#define RIMI (1<<0)/* nUARTRI Modem interrupt mask */ #define ALLI OEI|BEI|PEI|FEI|RTI|TXI|RXI|DSRMI|DCDMI|CTSMI|RIMI -#endif /* __ASM_ARM_PL011_H */ +#endif /* ASM__ARM__PL011_UART_H */ /* * Local variables:
xen/arch/arm/include/asm/platform.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORM_H -#define __ASM_ARM_PLATFORM_H +#ifndef ASM__ARM__PLATFORM_H +#define ASM__ARM__PLATFORM_H #include <xen/sched.h> #include <xen/mm.h>
@@ -70,7 +70,7 @@ __section(".arch.info") = { \#define PLATFORM_END \ }; -#endif /* __ASM_ARM_PLATFORM_H */ +#endif /* ASM__ARM__PLATFORM_H */ /* * Local variables:
xen/arch/arm/include/asm/platforms/exynos5.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORMS_EXYNOS5_H -#define __ASM_ARM_PLATFORMS_EXYNOS5_H +#ifndef ASM__ARM__PLATFORMS__EXYNOS5_H +#define ASM__ARM__PLATFORMS__EXYNOS5_H #define EXYNOS5_MCT_G_TCON 0x240/* Relative to MCT_BASE */ #define EXYNOS5_MCT_G_TCON_START (1 << 8)
@@ -9,7 +9,7 @@#define EXYNOS5_SWRESET 0x0400/* Relative to PA_PMU */ -#endif /* __ASM_ARM_PLATFORMS_EXYNOS5_H */ +#endif /* ASM__ARM__PLATFORMS__EXYNOS5_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/platforms/midway.h +1 -1
@@ -1,5 +1,5 @@#ifndef __ASM_ARM_PLATFORMS_MIDWAY_H -#define __ASM_ASM_PLATFORMS_MIDWAY_H +#define ASM__ARM__PLATFORMS__MIDWAY_H /* addresses of SREG registers for resetting the SoC */ #define MW_SREG_PWR_REQ 0xfff3cf00
xen/arch/arm/include/asm/platforms/omap5.h +2 -2
@@ -1,4 +1,4 @@ -#ifndef __ASM_ARM_PLATFORMS_OMAP5_H +#ifndef ASM__ARM__PLATFORMS__OMAP5_H #define __ASM_ASM_PLATFORMS_OMAP5_H#define REALTIME_COUNTER_BASE 0x48243200
@@ -20,7 +20,7 @@#define OMAP_AUX_CORE_BOOT_0_OFFSET 0x800#define OMAP_AUX_CORE_BOOT_1_OFFSET 0x804 -#endif /* __ASM_ARM_PLATFORMS_OMAP5_H */ +#endif /* ASM__ARM__PLATFORMS__OMAP5_H */ /* * Local variables:
xen/arch/arm/include/asm/platforms/vexpress.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PLATFORMS_VEXPRESS_H -#define __ASM_ARM_PLATFORMS_VEXPRESS_H +#ifndef ASM__ARM__PLATFORMS__VEXPRESS_H +#define ASM__ARM__PLATFORMS__VEXPRESS_H /* V2M */ #define V2M_SYS_MMIO_BASE (0x1c010000)
@@ -26,7 +26,7 @@/* Board-specific: base address of system controller */ #define SP810_ADDRESS 0x1C020000 -#endif /* __ASM_ARM_PLATFORMS_VEXPRESS_H */ +#endif /* ASM__ARM__PLATFORMS__VEXPRESS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/platforms/xilinx-zynqmp-eemi.h +3 -3
@@ -11,8 +11,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_PLATFORMS_ZYNQMP_H -#define __ASM_ARM_PLATFORMS_ZYNQMP_H +#ifndef ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H +#define ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H #include <asm/processor.h> #include <asm/smccc.h>
@@ -116,7 +116,7 @@ enum ipi_api_id {extern bool zynqmp_eemi (struct cpu_user_regs *regs); -#endif /* __ASM_ARM_PLATFORMS_ZYNQMP_H */ +#endif /* ASM__ARM__PLATFORMS__XILINX_ZYNQMP_EEMI_H */ /* * Local variables:
xen/arch/arm/include/asm/pmap.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_PMAP_H__ -#define __ASM_PMAP_H__ +#ifndef ASM__ARM__PMAP_H +#define ASM__ARM__PMAP_H #include <xen/mm.h>
@@ -31,4 +31,4 @@ static inline void arch_pmap_unmap(unsigned int slot) flush_xen_tlb_range_va_local(FIXMAP_ADDR(slot), PAGE_SIZE); } -#endif /* __ASM_PMAP_H__ */ +#endif /* ASM__ARM__PMAP_H */
xen/arch/arm/include/asm/processor.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_PROCESSOR_H -#define __ASM_ARM_PROCESSOR_H +#ifndef ASM__ARM__PROCESSOR_H +#define ASM__ARM__PROCESSOR_H #ifndef __ASSEMBLY__#include <xen/types.h>
@@ -616,7 +616,7 @@ register_t get_default_cptr_flags(void); } while (0)#endif /* __ASSEMBLY__ */ -#endif /* __ASM_ARM_PROCESSOR_H */ +#endif /* ASM__ARM__PROCESSOR_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/procinfo.h +2 -2
@@ -18,8 +18,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_PROCINFO_H -#define __ASM_ARM_PROCINFO_H +#ifndef ASM__ARM__PROCINFO_H +#define ASM__ARM__PROCINFO_H #include <xen/sched.h>
xen/arch/arm/include/asm/psci.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_PSCI_H__ -#define __ASM_PSCI_H__ +#ifndef ASM__ARM__PSCI_H +#define ASM__ARM__PSCI_H #include <asm/smccc.h>
@@ -82,7 +82,7 @@ void call_psci_system_reset(void);#define PSCI_VERSION (major, minor) \ (((major) << PSCI_VERSION_MAJOR_SHIFT) | (minor)) -#endif /* __ASM_PSCI_H__ */ +#endif /* ASM__ARM__PSCI_H */ /* * Local variables:
xen/arch/arm/include/asm/regs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_REGS_H__ -#define __ARM_REGS_H__ +#ifndef ASM__ARM__REGS_H +#define ASM__ARM__REGS_H #define PSR_MODE_MASK 0x1f
@@ -74,7 +74,7 @@ static inline void uint64_to_regpair(register_t *reg0, register_t *reg1,#endif -#endif /* __ARM_REGS_H__ */ +#endif /* ASM__ARM__REGS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/scif-uart.h +3 -3
@@ -18,8 +18,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_SCIF_UART_H -#define __ASM_ARM_SCIF_UART_H +#ifndef ASM__ARM__SCIF_UART_H +#define ASM__ARM__SCIF_UART_H /* Register offsets (SCIF) */ #define SCIF_SCSMR (0x00)/* Serial mode register */
@@ -115,7 +115,7 @@#define SCASSR_RDF (1 << 1)/* Receive FIFO Data Full */ #define SCASSR_DR (1 << 0)/* Receive Data Ready */ -#endif /* __ASM_ARM_SCIF_UART_H */ +#endif /* ASM__ARM__SCIF_UART_H */ /* * Local variables:
xen/arch/arm/include/asm/setup.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ARM_SETUP_H_ -#define __ARM_SETUP_H_ +#ifndef ASM__ARM__SETUP_H +#define ASM__ARM__SETUP_H #include <public/version.h> #include <asm/p2m.h>
xen/arch/arm/include/asm/short-desc.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_SHORT_DESC_H__ -#define __ARM_SHORT_DESC_H__ +#ifndef ASM__ARM__SHORT_DESC_H +#define ASM__ARM__SHORT_DESC_H /* * First level translation table descriptor types used by the AArch32
@@ -127,4 +127,4 @@ typedef union { short_desc_l2_lpage_t lpg; } short_desc_t; -#endif /* __ARM_SHORT_DESC_H__ */ +#endif /* ASM__ARM__SHORT_DESC_H */
xen/arch/arm/include/asm/smccc.h +3 -3
@@ -13,8 +13,8 @@* */ -#ifndef __ASM_ARM_SMCCC_H__ -#define __ASM_ARM_SMCCC_H__ +#ifndef ASM__ARM__SMCCC_H +#define ASM__ARM__SMCCC_H #include <asm/alternative.h> #include <asm/cpufeature.h>
@@ -390,7 +390,7 @@ void arm_smccc_1_2_smc(const struct arm_smccc_1_2_regs *args,#define ARM_SMCCC_RESERVED_RANGE_START 0x0#define ARM_SMCCC_RESERVED_RANGE_END 0x0100FFFF -#endif /* __ASM_ARM_SMCCC_H__ */ +#endif /* ASM__ARM__SMCCC_H */ /* * Local variables:
xen/arch/arm/include/asm/smp.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_SMP_H -#define __ASM_SMP_H +#ifndef ASM__ARM__SMP_H +#define ASM__ARM__SMP_H #ifndef __ASSEMBLY__#include <xen/cpumask.h>
xen/arch/arm/include/asm/spinlock.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H +#ifndef ASM__ARM__SPINLOCK_H +#define ASM__ARM__SPINLOCK_H #define arch_lock_acquire_barrier () smp_mb()#define arch_lock_release_barrier () smp_mb()
@@ -12,4 +12,4 @@#define arch_lock_signal_wmb () arch_lock_signal() -#endif /* __ASM_SPINLOCK_H */ +#endif /* ASM__ARM__SPINLOCK_H */
xen/arch/arm/include/asm/static-evtchn.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_STATIC_EVTCHN_H_ -#define __ASM_STATIC_EVTCHN_H_ +#ifndef ASM__ARM__STATIC_EVTCHN_H +#define ASM__ARM__STATIC_EVTCHN_H #ifdef CONFIG_STATIC_EVTCHN
@@ -13,7 +13,7 @@ static inline void alloc_static_evtchn(void) {};#endif /* CONFIG_STATIC_EVTCHN */ -#endif /* __ASM_STATIC_EVTCHN_H_ */ +#endif /* ASM__ARM__STATIC_EVTCHN_H */ /* * Local variables:
xen/arch/arm/include/asm/static-memory.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_STATIC_MEMORY_H_ -#define __ASM_STATIC_MEMORY_H_ +#ifndef ASM__ARM__STATIC_MEMORY_H +#define ASM__ARM__STATIC_MEMORY_H #include <xen/pfn.h> #include <asm/kernel.h>
@@ -46,7 +46,7 @@ static inline void init_staticmem_pages(void) {};#endif /* CONFIG_STATIC_MEMORY */ -#endif /* __ASM_STATIC_MEMORY_H_ */ +#endif /* ASM__ARM__STATIC_MEMORY_H */ /* * Local variables:
xen/arch/arm/include/asm/static-shmem.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_STATIC_SHMEM_H_ -#define __ASM_STATIC_SHMEM_H_ +#ifndef ASM__ARM__STATIC_SHMEM_H +#define ASM__ARM__STATIC_SHMEM_H #include <xen/types.h> #include <asm/kernel.h>
@@ -106,7 +106,7 @@ static inline void shm_mem_node_fill_reg_range(const struct kernel_info *kinfo,#endif /* CONFIG_STATIC_SHM */ -#endif /* __ASM_STATIC_SHMEM_H_ */ +#endif /* ASM__ARM__STATIC_SHMEM_H */ /* * Local variables:
xen/arch/arm/include/asm/string.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_STRING_H__ -#define __ARM_STRING_H__ +#ifndef ASM__ARM__STRING_H +#define ASM__ARM__STRING_H /*
@@ -42,7 +42,7 @@ void __memzero(void *ptr, size_t n);#endif -#endif /* __ARM_STRING_H__ */ +#endif /* ASM__ARM__STRING_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/sysregs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_SYSREGS_H -#define __ASM_ARM_SYSREGS_H +#ifndef ASM__ARM__SYSREGS_H +#define ASM__ARM__SYSREGS_H #if defined(CONFIG_ARM_32 )# include <asm/arm32/sysregs.h>
@@ -33,7 +33,7 @@ static inline register_t read_sysreg_par(void)#endif /* !__ASSEMBLY__ */ -#endif /* __ASM_ARM_SYSREGS_H */ +#endif /* ASM__ARM__SYSREGS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/system.h +2 -2
@@ -1,6 +1,6 @@/* Portions taken from Linux arch arm */ -#ifndef __ASM_SYSTEM_H -#define __ASM_SYSTEM_H +#ifndef ASM__ARM__SYSTEM_H +#define ASM__ARM__SYSTEM_H #include <xen/lib.h> #include <public/arch-arm.h>
xen/arch/arm/include/asm/tee/ffa.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2023 Linaro Limited */ -#ifndef __ASM_ARM_TEE_FFA_H__ -#define __ASM_ARM_TEE_FFA_H__ +#ifndef ASM__ARM__TEE__FFA_H +#define ASM__ARM__TEE__FFA_H #include <xen/const.h>
@@ -31,4 +31,4 @@ static inline bool is_ffa_fid(uint32_t fid)#define FFA_NR_FUNCS 0#endif -#endif /*__ASM_ARM_TEE_FFA_H__*/ +#endif /*ASM__ARM__TEE__FFA_H*/
xen/arch/arm/include/asm/tee/optee_msg.h +3 -3
@@ -2,8 +2,8 @@/* * Copyright (c) 2015-2017, Linaro Limited */ -#ifndef _OPTEE_MSG_H -#define _OPTEE_MSG_H +#ifndef ASM__ARM__TEE__OPTEE_MSG_H +#define ASM__ARM__TEE__OPTEE_MSG_H #include <xen/bitops.h> #include <xen/types.h>
@@ -307,4 +307,4 @@ struct optee_msg_arg {#define OPTEE_MSG_CMD_UNREGISTER_SHM 5#define OPTEE_MSG_FUNCID_CALL_WITH_ARG 0x0004 -#endif /* _OPTEE_MSG_H */ +#endif /* ASM__ARM__TEE__OPTEE_MSG_H */
xen/arch/arm/include/asm/tee/optee_rpc_cmd.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2016-2017, Linaro Limited */ -#ifndef __OPTEE_RPC_CMD_H -#define __OPTEE_RPC_CMD_H +#ifndef ASM__ARM__TEE__OPTEE_RPC_CMD_H +#define ASM__ARM__TEE__OPTEE_RPC_CMD_H /* * All RPC is done with a struct optee_msg_arg as bearer of information,
@@ -315,4 +315,4 @@/* End of definition of protocol for command OPTEE_RPC_CMD_SOCKET */ -#endif /*__OPTEE_RPC_CMD_H*/ +#endif /*ASM__ARM__TEE__OPTEE_RPC_CMD_H*/
xen/arch/arm/include/asm/tee/optee_smc.h +3 -3
@@ -2,8 +2,8 @@/* * Copyright (c) 2015, Linaro Limited */ -#ifndef OPTEE_SMC_H -#define OPTEE_SMC_H +#ifndef ASM__ARM__TEE__OPTEE_SMC_H +#define ASM__ARM__TEE__OPTEE_SMC_H /* * This file is exported by OP-TEE and is in kept in sync between secure
@@ -564,4 +564,4 @@ ((((ret) & OPTEE_SMC_RETURN_RPC_PREFIX_MASK) == \ OPTEE_SMC_RETURN_RPC_PREFIX))) -#endif /* OPTEE_SMC_H */ +#endif /* ASM__ARM__TEE__OPTEE_SMC_H */
xen/arch/arm/include/asm/tee/tee.h +3 -3
@@ -11,8 +11,8 @@* published by the Free Software Foundation. */ -#ifndef __ARCH_ARM_TEE_TEE_H__ -#define __ARCH_ARM_TEE_TEE_H__ +#ifndef ASM__ARM__TEE__TEE_H +#define ASM__ARM__TEE__TEE_H #include <xen/lib.h> #include <xen/types.h>
@@ -121,7 +121,7 @@ static inline void tee_free_domain_ctx(struct domain *d)#endif /* CONFIG_TEE */ -#endif /* __ARCH_ARM_TEE_TEE_H__ */ +#endif /* ASM__ARM__TEE__TEE_H */ /* * Local variables:
xen/arch/arm/include/asm/time.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_TIME_H__ -#define __ARM_TIME_H__ +#ifndef ASM__ARM__TIME_H +#define ASM__ARM__TIME_H #include <asm/sysregs.h> #include <asm/system.h>
@@ -108,7 +108,7 @@ void preinit_xen_time(void);void force_update_vcpu_system_time (struct vcpu *v); -#endif /* __ARM_TIME_H__ */ +#endif /* ASM__ARM__TIME_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/traps.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_TRAPS__ -#define __ASM_ARM_TRAPS__ +#ifndef ASM__ARM__TRAPS_H +#define ASM__ARM__TRAPS_H #include <asm/hsr.h> #include <asm/processor.h>
@@ -118,7 +118,7 @@ static inline register_t sign_extend(const struct hsr_dabt dabt, register_t r)void finalize_instr_emulation (const struct instr_details *instr); -#endif /* __ASM_ARM_TRAPS__ */ +#endif /* ASM__ARM__TRAPS_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/types.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARM_TYPES_H__ -#define __ARM_TYPES_H__ +#ifndef ASM__ARM__TYPES_H +#define ASM__ARM__TYPES_H #if defined(CONFIG_ARM_32 )
@@ -37,7 +37,7 @@ typedef u64 register_t;#endif -#endif /* __ARM_TYPES_H__ */ +#endif /* ASM__ARM__TYPES_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/vfp.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_VFP_H -#define _ASM_VFP_H +#ifndef ASM__ARM__VFP_H +#define ASM__ARM__VFP_H struct vcpu ;
@@ -14,7 +14,7 @@ struct vcpu;void vfp_save_state (struct vcpu *v);void vfp_restore_state (struct vcpu *v); -#endif /* _ASM_VFP_H */ +#endif /* ASM__ARM__VFP_H */ /* * Local variables: * mode: C
xen/arch/arm/include/asm/vgic-emul.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_ARM_VGIC_EMUL_H__ -#define __ASM_ARM_VGIC_EMUL_H__ +#ifndef ASM__ARM__VGIC_EMUL_H +#define ASM__ARM__VGIC_EMUL_H /* * Helpers to create easily a case to match emulate a single register or
@@ -21,7 +21,7 @@ static inline bool vgic_reg64_check_access(struct hsr_dabt dabt) return ( dabt.size == DABT_DOUBLE_WORD || dabt.size == DABT_WORD ); } -#endif /* __ASM_ARM_VGIC_EMUL_H__ */ +#endif /* ASM__ARM__VGIC_EMUL_H */ /* * Local variables:
xen/arch/arm/include/asm/vgic.h +3 -3
@@ -15,8 +15,8 @@* GNU General Public License for more details. */ -#ifndef __ASM_ARM_VGIC_H__ -#define __ASM_ARM_VGIC_H__ +#ifndef ASM__ARM__VGIC_H +#define ASM__ARM__VGIC_H #ifdef CONFIG_NEW_VGIC #include <asm/new_vgic.h>
@@ -388,7 +388,7 @@ void vgic_sync_from_lrs(struct vcpu *v);int vgic_vcpu_pending_irq (struct vcpu *v); -#endif /* __ASM_ARM_VGIC_H__ */ +#endif /* ASM__ARM__VGIC_H */ /* * Local variables:
xen/arch/arm/include/asm/vpl011.h +3 -3
@@ -16,8 +16,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _VPL011_H_ -#define _VPL011_H_ +#ifndef ASM__ARM__VPL011_H +#define ASM__ARM__VPL011_H #include <public/domctl.h> #include <public/io/ring.h>
@@ -79,7 +79,7 @@ static inline int domain_vpl011_init(struct domain *d,static inline void domain_vpl011_deinit (struct domain *d) { }#endif -#endif /* _VPL011_H_ */ +#endif /* ASM__ARM__VPL011_H */ /* * Local variables:
xen/arch/arm/include/asm/vpsci.h +3 -3
@@ -17,8 +17,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_VPSCI_H__ -#define __ASM_VPSCI_H__ +#ifndef ASM__ARM__VPSCI_H +#define ASM__ARM__VPSCI_H #include <asm/psci.h>
@@ -29,7 +29,7 @@bool do_vpsci_0_1_call (struct cpu_user_regs *regs,uint32_t fid);bool do_vpsci_0_2_call (struct cpu_user_regs *regs,uint32_t fid); -#endif /* __ASM_VPSCI_H__ */ +#endif /* ASM__ARM__VPSCI_H */ /* * Local variables:
xen/arch/arm/include/asm/vreg.h +3 -3
@@ -1,8 +1,8 @@/* * Helpers to emulate co-processor and system registers */ -#ifndef __ASM_ARM_VREG__ -#define __ASM_ARM_VREG__ +#ifndef ASM__ARM__VREG_H +#define ASM__ARM__VREG_H typedef bool (*vreg_reg64_fn_t )(struct cpu_user_regs *regs,uint64_t *r,bool read);
@@ -145,4 +145,4 @@ VREG_REG_HELPERS(32, 0x3)#undef VREG_REG_HELPERS -#endif /* __ASM_ARM_VREG__ */ +#endif /* ASM__ARM__VREG_H */
xen/arch/arm/include/asm/vtimer.h +2 -2
@@ -17,8 +17,8 @@* GNU General Public License for more details. */ -#ifndef __ARCH_ARM_VTIMER_H__ -#define __ARCH_ARM_VTIMER_H__ +#ifndef ASM__ARM__VTIMER_H +#define ASM__ARM__VTIMER_H extern int domain_vtimer_init (struct domain *d,struct xen_arch_domainconfig *config);
xen/arch/arm/tee/ffa_private.h +3 -3
@@ -3,8 +3,8 @@* Copyright (C) 2023 Linaro Limited */ -#ifndef __FFA_PRIVATE_H__ -#define __FFA_PRIVATE_H__ +#ifndef ARM__TEE__FFA_PRIVATE_H +#define ARM__TEE__FFA_PRIVATE_H #include <xen/const.h> #include <xen/sizes.h>
@@ -398,4 +398,4 @@ static inline int32_t ffa_rx_release(void) return ffa_simple_call(FFA_RX_RELEASE, 0, 0, 0, 0); } -#endif /*__FFA_PRIVATE_H__*/ +#endif /*ARM__TEE__FFA_PRIVATE_H*/
xen/arch/arm/vgic/vgic-mmio.h +2 -2
@@ -13,8 +13,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_ARM_VGIC_VGIC_MMIO_H__ -#define __XEN_ARM_VGIC_VGIC_MMIO_H__ +#ifndef ARM__VGIC__VGIC_MMIO_H +#define ARM__VGIC__VGIC_MMIO_H struct vgic_register_region { unsigned int reg_offset;
xen/arch/arm/vgic/vgic.h +2 -2
@@ -14,8 +14,8 @@* You should have received a copy of the GNU General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_ARM_VGIC_VGIC_H__ -#define __XEN_ARM_VGIC_VGIC_H__ +#ifndef ARM__VGIC__VGIC_H +#define ARM__VGIC__VGIC_H /* * We piggy-back on the already used KVM product ID, but use a different
xen/arch/arm/vpci.h +3 -3
@@ -12,8 +12,8 @@* GNU General Public License for more details. */ -#ifndef __ARCH_ARM_VPCI_H__ -#define __ARCH_ARM_VPCI_H__ +#ifndef ARM__VPCI_H +#define ARM__VPCI_H #ifdef CONFIG_HAS_VPCI int domain_vpci_init (struct domain *d);
@@ -30,7 +30,7 @@ static inline unsigned int domain_vpci_get_num_mmio_handlers(struct domain *d) }#endif -#endif /* __ARCH_ARM_VPCI_H__ */ +#endif /* ARM__VPCI_H */ /* * Local variables:
xen/arch/arm/vuart.h +3 -3
@@ -17,8 +17,8 @@* GNU General Public License for more details. */ -#ifndef __ARCH_ARM_VUART_H__ -#define __ARCH_ARM_VUART_H__ +#ifndef ARM__VUART_H +#define ARM__VUART_H struct domain ;
@@ -42,7 +42,7 @@ static inline void domain_vuart_free(struct domain *d) {};#endif /* CONFIG_HWDOM_VUART */ -#endif /* __ARCH_ARM_VUART_H__ */ +#endif /* ARM__VUART_H */ /* * Local variables:
xen/drivers/passthrough/arm/smmu-v3.h +3 -3
@@ -5,8 +5,8 @@* Copyright (C) 2022 ARM Limited */ -#ifndef _ARM_SMMU_V3_H -#define _ARM_SMMU_V3_H +#ifndef DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H +#define DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H /* MMIO registers */ #define ARM_SMMU_IDR0 0x0
@@ -668,4 +668,4 @@ struct arm_smmu_domain { spinlock_t devices_lock; }; -#endif /* _ARM_SMMU_V3_H */ +#endif /* DRIVERS__PASSTHROUGH__ARM__SMMU_V3_H */
xen/include/public/arch-arm.h +3 -3
@@ -7,8 +7,8 @@* Copyright 2011 (C) Citrix Systems */ -#ifndef __XEN_PUBLIC_ARCH_ARM_H__ -#define __XEN_PUBLIC_ARCH_ARM_H__ +#ifndef PUBLIC__ARCH_ARM_H +#define PUBLIC__ARCH_ARM_H /* * `incontents 50 arm_abi Hypercall Calling Convention
@@ -542,7 +542,7 @@ typedef uint64_t xen_callback_t;typedef struct xen_pmu_arch {uint8_t dummy; }xen_pmu_arch_t ;#endif -#endif /* __XEN_PUBLIC_ARCH_ARM_H__ */ +#endif /* PUBLIC__ARCH_ARM_H */ /* * Local variables:
xen/include/public/arch-arm/hvm/save.h +2 -2
@@ -6,8 +6,8 @@* Copyright (c) 2012 Citrix Systems Ltd. */ -#ifndef __XEN_PUBLIC_HVM_SAVE_ARM_H__ -#define __XEN_PUBLIC_HVM_SAVE_ARM_H__ +#ifndef PUBLIC__ARCH_ARM__HVM__SAVE_H +#define PUBLIC__ARCH_ARM__HVM__SAVE_H #endif
xen/include/public/arch-arm/smccc.h +3 -3
@@ -7,8 +7,8 @@* Copyright 2017 (C) EPAM Systems */ -#ifndef __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ -#define __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ +#ifndef PUBLIC__ARCH_ARM__SMCCC_H +#define PUBLIC__ARCH_ARM__SMCCC_H #include "public/xen.h"
@@ -37,7 +37,7 @@#define SSSC_SMCCC_UID XEN_DEFINE_UUID(0xf863386fU, 0x4b39, 0x4cbd, 0x9220,\ 0xce, 0x16, 0x41, 0xe5, 0x9f, 0x6f) -#endif /* __XEN_PUBLIC_ARCH_ARM_SMCCC_H__ */ +#endif /* PUBLIC__ARCH_ARM__SMCCC_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 11/20 xen: Update header guards - Kconfig
In reply to Frediano ZiglioUpdated headers related to Kconfig.
--- xen/tools/kconfig/expr.h | 6 +++--- xen/tools/kconfig/images.h | 6 +++--- xen/tools/kconfig/list.h | 4 ++-- xen/tools/kconfig/lkc.h | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-)
xen/tools/kconfig/expr.h +3 -3
@@ -3,8 +3,8 @@* Copyright (C) 2002 Roman Zippel <[email protected]> */ -#ifndef EXPR_H -#define EXPR_H +#ifndef TOOLS__KCONFIG__EXPR_H +#define TOOLS__KCONFIG__EXPR_H #ifdef __cplusplus extern "C" {
@@ -329,4 +329,4 @@ static inline int expr_is_no(struct expr *e) }#endif -#endif /* EXPR_H */ +#endif /* TOOLS__KCONFIG__EXPR_H */
xen/tools/kconfig/images.h +3 -3
@@ -3,8 +3,8 @@* Copyright (C) 2002 Roman Zippel <[email protected]> */ -#ifndef IMAGES_H -#define IMAGES_H +#ifndef TOOLS__KCONFIG__IMAGES_H +#define TOOLS__KCONFIG__IMAGES_H #ifdef __cplusplus extern "C" {
@@ -30,4 +30,4 @@ extern const char *xpm_void[]; }#endif -#endif /* IMAGES_H */ +#endif /* TOOLS__KCONFIG__IMAGES_H */
xen/tools/kconfig/list.h +2 -2
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef LIST_H -#define LIST_H +#ifndef TOOLS__KCONFIG__LIST_H +#define TOOLS__KCONFIG__LIST_H /* * Copied from include/linux/...
xen/tools/kconfig/lkc.h +3 -3
@@ -3,8 +3,8 @@* Copyright (C) 2002 Roman Zippel <[email protected]> */ -#ifndef LKC_H -#define LKC_H +#ifndef TOOLS__KCONFIG__LKC_H +#define TOOLS__KCONFIG__LKC_H #include "expr.h"
@@ -155,4 +155,4 @@ static inline bool sym_has_value(struct symbol *sym) }#endif -#endif /* LKC_H */ +#endif /* TOOLS__KCONFIG__LKC_H */
Signature · 1 line
2.34.1
PATCH 1/20 xen: Update header guards - Generic
In reply to Frediano ZiglioUpdated headers not having specific maintainers.
--- xen/common/coverage/coverage.h | 4 ++-- xen/common/coverage/gcov.h | 6 +++--- xen/common/libelf/libelf-private.h | 6 +++--- xen/common/lz4/defs.h | 6 +++--- xen/common/ubsan/ubsan.h | 4 ++-- xen/common/xz/lzma2.h | 4 ++-- xen/common/xz/private.h | 4 ++-- xen/common/xz/stream.h | 4 ++-- xen/common/zstd/bitstream.h | 6 +++--- xen/common/zstd/error_private.h | 6 +++--- xen/common/zstd/fse.h | 6 +++--- xen/common/zstd/huf.h | 6 +++--- xen/common/zstd/mem.h | 6 +++--- xen/common/zstd/zstd_internal.h | 6 +++--- xen/drivers/video/font.h | 6 +++--- xen/drivers/video/lfb.h | 4 ++-- xen/drivers/video/modelines.h | 4 ++-- xen/include/asm-generic/altp2m.h | 6 +++--- xen/include/asm-generic/atomic-ops.h | 6 +++--- xen/include/asm-generic/device.h | 6 +++--- xen/include/asm-generic/div64.h | 4 ++-- xen/include/asm-generic/hardirq.h | 6 +++--- xen/include/asm-generic/hypercall.h | 8 ++++---- xen/include/asm-generic/iocap.h | 6 +++--- xen/include/asm-generic/paging.h | 6 +++--- xen/include/asm-generic/percpu.h | 6 +++--- xen/include/asm-generic/random.h | 6 +++--- xen/include/asm-generic/softirq.h | 6 +++--- xen/include/crypto/rijndael.h | 6 +++--- xen/include/crypto/vmac.h | 4 ++-- xen/include/public/arch-ppc.h | 6 +++--- xen/include/public/arch-riscv.h | 6 +++--- xen/include/public/callback.h | 6 +++--- xen/include/public/device_tree_defs.h | 4 ++-- xen/include/public/dom0_ops.h | 6 +++--- xen/include/public/domctl.h | 6 +++--- xen/include/public/elfnote.h | 6 +++--- xen/include/public/errno.h | 6 +++--- xen/include/public/event_channel.h | 6 +++--- xen/include/public/features.h | 6 +++--- xen/include/public/grant_table.h | 6 +++--- xen/include/public/hvm/dm_op.h | 6 +++--- xen/include/public/hvm/e820.h | 6 +++--- xen/include/public/hvm/hvm_info_table.h | 6 +++--- xen/include/public/hvm/hvm_op.h | 6 +++--- xen/include/public/hvm/hvm_vcpu.h | 6 +++--- xen/include/public/hvm/hvm_xs_strings.h | 6 +++--- xen/include/public/hvm/ioreq.h | 6 +++--- xen/include/public/hvm/params.h | 6 +++--- xen/include/public/hvm/pvdrivers.h | 6 +++--- xen/include/public/hvm/save.h | 6 +++--- xen/include/public/hypfs.h | 6 +++--- xen/include/public/kexec.h | 6 +++--- xen/include/public/memory.h | 6 +++--- xen/include/public/nmi.h | 6 +++--- xen/include/public/physdev.h | 6 +++--- xen/include/public/platform.h | 6 +++--- xen/include/public/pmu.h | 6 +++--- xen/include/public/sched.h | 6 +++--- xen/include/public/sysctl.h | 6 +++--- xen/include/public/tmem.h | 6 +++--- xen/include/public/trace.h | 6 +++--- xen/include/public/vcpu.h | 6 +++--- xen/include/public/version.h | 6 +++--- xen/include/public/xen-compat.h | 6 +++--- xen/include/public/xen.h | 6 +++--- xen/include/public/xencomm.h | 6 +++--- xen/include/public/xenoprof.h | 6 +++--- xen/include/public/xsm/flask_op.h | 4 ++-- xen/include/xen/8250-uart.h | 6 +++--- xen/include/xen/acpi.h | 6 +++--- xen/include/xen/alternative-call.h | 6 +++--- xen/include/xen/atomic.h | 6 +++--- xen/include/xen/bitmap.h | 6 +++--- xen/include/xen/bitops.h | 6 +++--- xen/include/xen/bug.h | 6 +++--- xen/include/xen/byteorder/big_endian.h | 6 +++--- xen/include/xen/byteorder/generic.h | 6 +++--- xen/include/xen/byteorder/little_endian.h | 6 +++--- xen/include/xen/byteorder/swab.h | 6 +++--- xen/include/xen/cache.h | 6 +++--- xen/include/xen/compat.h | 6 +++--- xen/include/xen/compiler.h | 6 +++--- xen/include/xen/config.h | 6 +++--- xen/include/xen/console.h | 6 +++--- xen/include/xen/consoled.h | 6 +++--- xen/include/xen/const.h | 6 +++--- xen/include/xen/coverage.h | 4 ++-- xen/include/xen/cper.h | 4 ++-- xen/include/xen/cpu.h | 6 +++--- xen/include/xen/cpuidle.h | 6 +++--- xen/include/xen/cpumask.h | 6 +++--- xen/include/xen/ctype.h | 4 ++-- xen/include/xen/decompress.h | 4 ++-- xen/include/xen/delay.h | 6 +++--- xen/include/xen/dm.h | 6 +++--- xen/include/xen/dmi.h | 6 +++--- xen/include/xen/domain.h | 6 +++--- xen/include/xen/domain_page.h | 6 +++--- xen/include/xen/dt-overlay.h | 6 +++--- xen/include/xen/early_printk.h | 4 ++-- xen/include/xen/earlycpio.h | 6 +++--- xen/include/xen/efi.h | 6 +++--- xen/include/xen/elf.h | 6 +++--- xen/include/xen/elfcore.h | 6 +++--- xen/include/xen/elfstructs.h | 6 +++--- xen/include/xen/err.h | 6 +++--- xen/include/xen/errno.h | 6 +++--- xen/include/xen/event.h | 6 +++--- xen/include/xen/grant_table.h | 6 +++--- xen/include/xen/guest_access.h | 6 +++--- xen/include/xen/gunzip.h | 4 ++-- xen/include/xen/hypercall.h | 6 +++--- xen/include/xen/init.h | 6 +++--- xen/include/xen/inttypes.h | 6 +++--- xen/include/xen/iocap.h | 6 +++--- xen/include/xen/ioreq.h | 6 +++--- xen/include/xen/irq.h | 6 +++--- xen/include/xen/irq_cpustat.h | 6 +++--- xen/include/xen/kconfig.h | 6 +++--- xen/include/xen/kernel.h | 6 +++--- xen/include/xen/keyhandler.h | 6 +++--- xen/include/xen/lib.h | 6 +++--- xen/include/xen/libelf.h | 6 +++--- xen/include/xen/linkage.h | 6 +++--- xen/include/xen/linux-compat.h | 6 +++--- xen/include/xen/list.h | 6 +++--- xen/include/xen/list_sort.h | 4 ++-- xen/include/xen/lz4.h | 4 ++-- xen/include/xen/lzo.h | 4 ++-- xen/include/xen/macros.h | 6 +++--- xen/include/xen/mm-frame.h | 6 +++--- xen/include/xen/mm.h | 6 +++--- xen/include/xen/msi.h | 4 ++-- xen/include/xen/multiboot.h | 6 +++--- xen/include/xen/multiboot2.h | 6 +++--- xen/include/xen/multicall.h | 6 +++--- xen/include/xen/nodemask.h | 6 +++--- xen/include/xen/nospec.h | 6 +++--- xen/include/xen/notifier.h | 6 +++--- xen/include/xen/numa.h | 6 +++--- xen/include/xen/p2m-common.h | 6 +++--- xen/include/xen/page-defs.h | 6 +++--- xen/include/xen/page-size.h | 4 ++-- xen/include/xen/paging.h | 6 +++--- xen/include/xen/param.h | 6 +++--- xen/include/xen/pci.h | 6 +++--- xen/include/xen/pci_regs.h | 6 +++--- xen/include/xen/pdx.h | 6 +++--- xen/include/xen/percpu.h | 6 +++--- xen/include/xen/perfc.h | 6 +++--- xen/include/xen/perfc_defn.h | 6 +++--- xen/include/xen/pfn.h | 6 +++--- xen/include/xen/pmap.h | 6 +++--- xen/include/xen/pmstat.h | 6 +++--- xen/include/xen/preempt.h | 6 +++--- xen/include/xen/prefetch.h | 4 ++-- xen/include/xen/pv_console.h | 6 +++--- xen/include/xen/radix-tree.h | 6 +++--- xen/include/xen/random.h | 6 +++--- xen/include/xen/rangeset.h | 6 +++--- xen/include/xen/rbtree.h | 6 +++--- xen/include/xen/rcupdate.h | 6 +++--- xen/include/xen/rwlock.h | 6 +++--- xen/include/xen/sched.h | 6 +++--- xen/include/xen/sections.h | 6 +++--- xen/include/xen/self-tests.h | 6 +++--- xen/include/xen/serial.h | 6 +++--- xen/include/xen/shared.h | 6 +++--- xen/include/xen/shutdown.h | 6 +++--- xen/include/xen/sizes.h | 6 +++--- xen/include/xen/smp.h | 6 +++--- xen/include/xen/softirq.h | 6 +++--- xen/include/xen/sort.h | 6 +++--- xen/include/xen/spinlock.h | 6 +++--- xen/include/xen/stdarg.h | 6 +++--- xen/include/xen/stdbool.h | 6 +++--- xen/include/xen/stdint.h | 6 +++--- xen/include/xen/stop_machine.h | 6 +++--- xen/include/xen/string.h | 6 +++--- xen/include/xen/stringify.h | 6 +++--- xen/include/xen/symbols.h | 6 +++--- xen/include/xen/tasklet.h | 6 +++--- xen/include/xen/time.h | 6 +++--- xen/include/xen/timer.h | 6 +++--- xen/include/xen/trace.h | 6 +++--- xen/include/xen/types.h | 6 +++--- xen/include/xen/typesafe.h | 6 +++--- xen/include/xen/unaligned.h | 6 +++--- xen/include/xen/version.h | 6 +++--- xen/include/xen/vga.h | 6 +++--- xen/include/xen/video.h | 6 +++--- xen/include/xen/virtual_region.h | 6 +++--- xen/include/xen/vmap.h | 6 +++--- xen/include/xen/wait.h | 6 +++--- xen/include/xen/warning.h | 4 ++-- xen/include/xen/watchdog.h | 6 +++--- xen/include/xen/xen.lds.h | 6 +++--- xen/include/xen/xenoprof.h | 4 ++-- xen/include/xen/xmalloc.h | 6 +++--- xen/include/xen/xxhash.h | 6 +++--- 201 files changed, 579 insertions(+), 579 deletions(-)
xen/common/coverage/coverage.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _XEN_COV_PRIV_H -#define _XEN_COV_PRIV_H +#ifndef COMMON__COVERAGE__COVERAGE_H +#define COMMON__COVERAGE__COVERAGE_H #include <xen/types.h>
xen/common/coverage/gcov.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _GCOV_H_ -#define _GCOV_H_ +#ifndef COMMON__COVERAGE__GCOV_H +#define COMMON__COVERAGE__GCOV_H #include <xen/guest_access.h> #include <xen/types.h>
@@ -37,4 +37,4 @@ size_t gcov_info_to_gcda(char *buffer, const struct gcov_info *info);size_t gcov_store_uint32 (void *buffer,size_t off,uint32_t v);size_t gcov_store_uint64 (void *buffer,size_t off,uint64_t v); -#endif /* _GCOV_H_ */ +#endif /* COMMON__COVERAGE__GCOV_H */
xen/common/libelf/libelf-private.h +3 -3
@@ -12,8 +12,8 @@* 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/>. */ -#ifndef __LIBELF_PRIVATE_H__ -#define __LIBELF_PRIVATE_H__ +#ifndef COMMON__LIBELF__LIBELF_PRIVATE_H +#define COMMON__LIBELF__LIBELF_PRIVATE_H #ifdef __XEN__
@@ -105,7 +105,7 @@ do { strncpy((d),(s),sizeof((d))-1); \* of memcpy, memset, memmove and strcpy. Every call site * must either use elf_mem*_unchecked, or elf_mem*_safe. */ -#endif /* __LIBELF_PRIVATE_H__ */ +#endif /* COMMON__LIBELF__LIBELF_PRIVATE_H */ /* * Local variables:
xen/common/lz4/defs.h +3 -3
@@ -8,8 +8,8 @@* published by the Free Software Foundation. */ -#ifndef COMMON_LZ4_DEFS_H -#define COMMON_LZ4_DEFS_H +#ifndef COMMON__LZ4__DEFS_H +#define COMMON__LZ4__DEFS_H #ifdef __XEN__#include <asm/byteorder.h>
@@ -170,4 +170,4 @@ typedef struct _U64_S { u64 v; } U64_S; d = e; \ } while (0) -#endif /* COMMON_LZ4_DEFS_H */ +#endif /* COMMON__LZ4__DEFS_H */
xen/common/ubsan/ubsan.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _LIB_UBSAN_H -#define _LIB_UBSAN_H +#ifndef COMMON__UBSAN__UBSAN_H +#define COMMON__UBSAN__UBSAN_H #include <xen/linux-compat.h>
xen/common/xz/lzma2.h +2 -2
@@ -8,8 +8,8 @@* You can do whatever you want with this file. */ -#ifndef XZ_LZMA2_H -#define XZ_LZMA2_H +#ifndef COMMON__XZ__LZMA2_H +#define COMMON__XZ__LZMA2_H /* Range coder constants */ #define RC_SHIFT_BITS 8
xen/common/xz/private.h +2 -2
@@ -7,8 +7,8 @@* You can do whatever you want with this file. */ -#ifndef XZ_PRIVATE_H -#define XZ_PRIVATE_H +#ifndef COMMON__XZ__PRIVATE_H +#define COMMON__XZ__PRIVATE_H #ifdef __XEN__#include <xen/kernel.h>
xen/common/xz/stream.h +2 -2
@@ -7,8 +7,8 @@* You can do whatever you want with this file. */ -#ifndef XZ_STREAM_H -#define XZ_STREAM_H +#ifndef COMMON__XZ__STREAM_H +#define COMMON__XZ__STREAM_H /* * See the .xz file format specification at
xen/common/zstd/bitstream.h +3 -3
@@ -38,8 +38,8 @@* You can contact the author at : * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy */ -#ifndef BITSTREAM_H_MODULE -#define BITSTREAM_H_MODULE +#ifndef COMMON__ZSTD__BITSTREAM_H +#define COMMON__ZSTD__BITSTREAM_H /* * This API consists of small unitary functions, which must be inlined for best performance.
@@ -377,4 +377,4 @@ ZSTD_STATIC unsigned BIT_endOfDStream(const BIT_DStream_t *DStream) return ((DStream->ptr == DStream->start) && (DStream->bitsConsumed == sizeof(DStream->bitContainer) * 8)); } -#endif /* BITSTREAM_H_MODULE */ +#endif /* COMMON__ZSTD__BITSTREAM_H */
xen/common/zstd/error_private.h +3 -3
@@ -16,8 +16,8 @@/* Note : this module is expected to remain private, do not expose it */ -#ifndef ERROR_H_MODULE -#define ERROR_H_MODULE +#ifndef COMMON__ZSTD__ERROR_PRIVATE_H +#define COMMON__ZSTD__ERROR_PRIVATE_H /** * enum ZSTD_ErrorCode - zstd error codes
@@ -102,4 +102,4 @@ static __attribute__((unused)) ZSTD_ErrorCode __init ZSTD_getErrorCode( return (ZSTD_ErrorCode)(0 - functionResult); } -#endif /* ERROR_H_MODULE */ +#endif /* COMMON__ZSTD__ERROR_PRIVATE_H */
xen/common/zstd/fse.h +3 -3
@@ -37,8 +37,8 @@* You can contact the author at : * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy */ -#ifndef FSE_H -#define FSE_H +#ifndef COMMON__ZSTD__FSE_H +#define COMMON__ZSTD__FSE_H /*-***************************************** * FSE_PUBLIC_API : control library symbols visibility
@@ -567,4 +567,4 @@ ZSTD_STATIC unsigned FSE_endOfDState(const FSE_DState_t *DStatePtr) { return DSt#define FSE_TABLESTEP (tableSize) ((tableSize >> 1) + (tableSize >> 3) + 3) -#endif /* FSE_H */ +#endif /* COMMON__ZSTD__FSE_H */
xen/common/zstd/huf.h +3 -3
@@ -37,8 +37,8 @@* You can contact the author at : * - Source repository : https://github.com/Cyan4973/FiniteStateEntropy */ -#ifndef HUF_H_298734234 -#define HUF_H_298734234 +#ifndef COMMON__ZSTD__HUF_H +#define COMMON__ZSTD__HUF_H /* *** Tool functions *** */ #define HUF_BLOCKSIZE_MAX (128 * 1024)/**< maximum input size for a single block compressed with HUF_compress */
@@ -206,4 +206,4 @@ size_t HUF_decompress1X_usingDTable(void *dst, size_t maxDstSize, const void *cSsize_t HUF_decompress1X2_usingDTable (void *dst,size_t maxDstSize,const void *cSrc,size_t cSrcSize,const HUF_DTable *DTable);size_t HUF_decompress1X4_usingDTable (void *dst,size_t maxDstSize,const void *cSrc,size_t cSrcSize,const HUF_DTable *DTable); -#endif /* HUF_H_298734234 */ +#endif /* COMMON__ZSTD__HUF_H */
xen/common/zstd/mem.h +3 -3
@@ -14,8 +14,8 @@* ("BSD"). */ -#ifndef MEM_H_MODULE -#define MEM_H_MODULE +#ifndef COMMON__ZSTD__MEM_H +#define COMMON__ZSTD__MEM_H /*-**************************************** * Dependencies
@@ -150,4 +150,4 @@ ZSTD_STATIC U32 ZSTD_readMINMATCH(const void *memPtr, U32 length) } } -#endif /* MEM_H_MODULE */ +#endif /* COMMON__ZSTD__MEM_H */
xen/common/zstd/zstd_internal.h +3 -3
@@ -14,8 +14,8 @@* ("BSD"). */ -#ifndef ZSTD_CCOMMON_H_MODULE -#define ZSTD_CCOMMON_H_MODULE +#ifndef COMMON__ZSTD__ZSTD_INTERNAL_H +#define COMMON__ZSTD__ZSTD_INTERNAL_H /*-******************************************************* * Compiler specifics
@@ -373,4 +373,4 @@ size_t ZSTD_freeDDict(ZSTD_DDict *cdict);size_t ZSTD_freeCStream (ZSTD_CStream *zcs);size_t ZSTD_freeDStream (ZSTD_DStream *zds); -#endif /* ZSTD_CCOMMON_H_MODULE */ +#endif /* COMMON__ZSTD__ZSTD_INTERNAL_H */
xen/drivers/video/font.h +3 -3
@@ -8,8 +8,8 @@* for more details. */ -#ifndef _XEN_FONT_H -#define _XEN_FONT_H +#ifndef DRIVERS__VIDEO__FONT_H +#define DRIVERS__VIDEO__FONT_H struct font_desc { const char *name;
@@ -19,4 +19,4 @@ struct font_desc {extern const struct font_desc font_vga_8x8, font_vga_8x14, font_vga_8x16; -#endif /* _XEN_FONT_H */ +#endif /* DRIVERS__VIDEO__FONT_H */
xen/drivers/video/lfb.h +2 -2
@@ -17,8 +17,8 @@* GNU General Public License for more details. */ -#ifndef _XEN_LFB_H -#define _XEN_LFB_H +#ifndef DRIVERS__VIDEO__LFB_H +#define DRIVERS__VIDEO__LFB_H #include <xen/init.h>
xen/drivers/video/modelines.h +2 -2
@@ -25,8 +25,8 @@* Copyright (c) 2013 Citrix Systems */ -#ifndef _XEN_MODLINES_H -#define _XEN_MODLINES_H +#ifndef DRIVERS__VIDEO__MODELINES_H +#define DRIVERS__VIDEO__MODELINES_H struct modeline { const char* mode; /* in the form 1280x1024@60 */
xen/include/asm-generic/altp2m.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_ALTP2M_H -#define __ASM_GENERIC_ALTP2M_H +#ifndef ASM_GENERIC__ALTP2M_H +#define ASM_GENERIC__ALTP2M_H #include <xen/bug.h>
@@ -22,7 +22,7 @@ static inline unsigned int altp2m_vcpu_idx(const struct vcpu *v) return 0; } -#endif /* __ASM_GENERIC_ALTP2M_H */ +#endif /* ASM_GENERIC__ALTP2M_H */ /* * Local variables:
xen/include/asm-generic/atomic-ops.h +3 -3
@@ -4,8 +4,8 @@* forward inline declaration that can be synthesized from other atomic * functions or being created from scratch. */ -#ifndef _ASM_GENERIC_ATOMIC_OPS_H_ -#define _ASM_GENERIC_ATOMIC_OPS_H_ +#ifndef ASM_GENERIC__ATOMIC_OPS_H +#define ASM_GENERIC__ATOMIC_OPS_H #include <xen/atomic.h> #include <xen/lib.h>
@@ -94,4 +94,4 @@ static inline int atomic_add_negative(int i, atomic_t *v) }#endif -#endif /* _ASM_GENERIC_ATOMIC_OPS_H_ */ +#endif /* ASM_GENERIC__ATOMIC_OPS_H */
xen/include/asm-generic/device.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_DEVICE_H__ -#define __ASM_GENERIC_DEVICE_H__ +#ifndef ASM_GENERIC__DEVICE_H +#define ASM_GENERIC__DEVICE_H #include <xen/stdbool.h>
@@ -127,7 +127,7 @@ __section(".adev.info") = { \#endif /* CONFIG_ACPI */ -#endif /* __ASM_GENERIC_DEVICE_H__ */ +#endif /* ASM_GENERIC__DEVICE_H */ /* * Local variables:
xen/include/asm-generic/div64.h +2 -2
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_DIV64 -#define __ASM_GENERIC_DIV64 +#ifndef ASM_GENERIC__DIV64_H +#define ASM_GENERIC__DIV64_H #include <xen/types.h>
xen/include/asm-generic/hardirq.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_HARDIRQ_H -#define __ASM_GENERIC_HARDIRQ_H +#ifndef ASM_GENERIC__HARDIRQ_H +#define ASM_GENERIC__HARDIRQ_H #include <xen/cache.h> #include <xen/smp.h>
@@ -17,7 +17,7 @@ typedef struct {#define irq_enter () (local_irq_count(smp_processor_id())++)#define irq_exit () (local_irq_count(smp_processor_id())--) -#endif /* __ASM_GENERIC_HARDIRQ_H */ +#endif /* ASM_GENERIC__HARDIRQ_H */ /* * Local variables:
xen/include/asm-generic/hypercall.h +4 -4
@@ -1,12 +1,12 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __XEN_HYPERCALL_H__ +#ifndef XEN__HYPERCALL_H #error "asm/hypercall.h should not be included directly - include xen/hypercall.h instead"#endif -#ifndef __ASM_GENERIC_HYPERCALL_H__ -#define __ASM_GENERIC_HYPERCALL_H__ +#ifndef ASM_GENERIC__HYPERCALL_H +#define ASM_GENERIC__HYPERCALL_H -#endif /* __ASM_GENERIC_HYPERCALL_H__ */ +#endif /* ASM_GENERIC__HYPERCALL_H */ /* * Local variables:
xen/include/asm-generic/iocap.h +3 -3
@@ -1,11 +1,11 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_IOCAP_H__ -#define __ASM_GENERIC_IOCAP_H__ +#ifndef ASM_GENERIC__IOCAP_H +#define ASM_GENERIC__IOCAP_H #define cache_flush_permitted (d) \ (!rangeset_is_empty((d)->iomem_caps)) -#endif /* __ASM_GENERIC_IOCAP_H__ */ +#endif /* ASM_GENERIC__IOCAP_H */ /* * Local variables:
xen/include/asm-generic/paging.h +3 -3
@@ -1,13 +1,13 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_PAGING_H__ -#define __ASM_GENERIC_PAGING_H__ +#ifndef ASM_GENERIC__PAGING_H +#define ASM_GENERIC__PAGING_H #include <xen/stdbool.h> #define paging_mode_translate (d) ((void)(d), true)#define paging_mode_external (d) ((void)(d), true) -#endif /* __ASM_GENERIC_PAGING_H__ */ +#endif /* ASM_GENERIC__PAGING_H */ /* * Local variables:
xen/include/asm-generic/percpu.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_PERCPU_H__ -#define __ASM_GENERIC_PERCPU_H__ +#ifndef ASM_GENERIC__PERCPU_H +#define ASM_GENERIC__PERCPU_H #ifndef __ASSEMBLY__
@@ -25,7 +25,7 @@ void percpu_init_areas(void);#endif -#endif /* __ASM_GENERIC_PERCPU_H__ */ +#endif /* ASM_GENERIC__PERCPU_H */ /* * Local variables:
xen/include/asm-generic/random.h +3 -3
@@ -1,13 +1,13 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_RANDOM_H__ -#define __ASM_GENERIC_RANDOM_H__ +#ifndef ASM_GENERIC__RANDOM_H +#define ASM_GENERIC__RANDOM_H static inline unsigned int arch_get_random (void ) {return 0 ; } -#endif /* __ASM_GENERIC_RANDOM_H__ */ +#endif /* ASM_GENERIC__RANDOM_H */ /* * Local variables:
xen/include/asm-generic/softirq.h +3 -3
@@ -1,12 +1,12 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_GENERIC_SOFTIRQ_H__ -#define __ASM_GENERIC_SOFTIRQ_H__ +#ifndef ASM_GENERIC__SOFTIRQ_H +#define ASM_GENERIC__SOFTIRQ_H #define NR_ARCH_SOFTIRQS 0#define arch_skip_send_event_check (cpu) 0 -#endif /* __ASM_GENERIC_SOFTIRQ_H__ */ +#endif /* ASM_GENERIC__SOFTIRQ_H */ /* * Local variables: * mode: C
xen/include/crypto/rijndael.h +3 -3
@@ -25,8 +25,8 @@* OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __RIJNDAEL_H -#define __RIJNDAEL_H +#ifndef CRYPTO__RIJNDAEL_H +#define CRYPTO__RIJNDAEL_H #define AES_MAXKEYBITS (256)#define AES_MAXKEYBYTES (AES_MAXKEYBITS/8)
@@ -55,4 +55,4 @@ int rijndaelKeySetupDec(unsigned int [], const unsigned char [], int);void rijndaelEncrypt (const unsigned int [],int ,const unsigned char [16 ],unsigned char [16 ]); -#endif /* __RIJNDAEL_H */ +#endif /* CRYPTO__RIJNDAEL_H */
xen/include/crypto/vmac.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef HEADER_VMAC_H -#define HEADER_VMAC_H +#ifndef CRYPTO__VMAC_H +#define CRYPTO__VMAC_H /* -------------------------------------------------------------------------- * VMAC and VHASH Implementation by Ted Krovetz ([email protected]) and Wei Dai.
xen/include/public/arch-ppc.h +3 -3
@@ -8,8 +8,8 @@* Shawn Anastasio <[email protected]> */ -#ifndef __XEN_PUBLIC_ARCH_PPC_H__ -#define __XEN_PUBLIC_ARCH_PPC_H__ +#ifndef PUBLIC__ARCH_PPC_H +#define PUBLIC__ARCH_PPC_H #if defined(__XEN__) || defined(__XEN_TOOLS__)#define int64_aligned_t int64_t __attribute__((__aligned__(8)))
@@ -109,4 +109,4 @@ typedef struct xen_pmu_arch { uint8_t dummy; } xen_pmu_arch_t;#endif -#endif /* __XEN_PUBLIC_ARCH_PPC_H__ */ +#endif /* PUBLIC__ARCH_PPC_H */
xen/include/public/arch-riscv.h +3 -3
@@ -4,8 +4,8 @@* Initially based on the ARM implementation. */ -#ifndef __XEN_PUBLIC_ARCH_RISCV_H__ -#define __XEN_PUBLIC_ARCH_RISCV_H__ +#ifndef PUBLIC__ARCH_RISCV_H +#define PUBLIC__ARCH_RISCV_H #if defined(__XEN__) || defined(__XEN_TOOLS__) || defined(__GNUC__)#define int64_aligned_t int64_t __attribute__((__aligned__(8)))
@@ -80,7 +80,7 @@ typedef struct arch_shared_info arch_shared_info_t;typedef struct xen_pmu_arch {uint8_t dummy; }xen_pmu_arch_t ;#endif -#endif /* __XEN_PUBLIC_ARCH_RISCV_H__ */ +#endif /* PUBLIC__ARCH_RISCV_H */ /* * Local variables:
xen/include/public/callback.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, Ian Campbell */ -#ifndef __XEN_PUBLIC_CALLBACK_H__ -#define __XEN_PUBLIC_CALLBACK_H__ +#ifndef PUBLIC__CALLBACK_H +#define PUBLIC__CALLBACK_H #include "xen.h"
@@ -91,7 +91,7 @@ DEFINE_XEN_GUEST_HANDLE(callback_unregister_t);#define CALLBACKTYPE_sysenter CALLBACKTYPE_sysenter_deprecated#endif -#endif /* __XEN_PUBLIC_CALLBACK_H__ */ +#endif /* PUBLIC__CALLBACK_H */ /* * Local variables:
xen/include/public/device_tree_defs.h +2 -2
@@ -4,8 +4,8 @@* Copyright (c) 2015 Citrix Systems, Inc */ -#ifndef __XEN_DEVICE_TREE_DEFS_H__ -#define __XEN_DEVICE_TREE_DEFS_H__ +#ifndef PUBLIC__DEVICE_TREE_DEFS_H +#define PUBLIC__DEVICE_TREE_DEFS_H #if defined(__XEN__) || defined(__XEN_TOOLS__)/*
xen/include/public/dom0_ops.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2002-2006, K Fraser */ -#ifndef __XEN_PUBLIC_DOM0_OPS_H__ -#define __XEN_PUBLIC_DOM0_OPS_H__ +#ifndef PUBLIC__DOM0_OPS_H +#define PUBLIC__DOM0_OPS_H #include "xen.h" #include "platform.h"
@@ -90,7 +90,7 @@ struct dom0_op {typedef struct dom0_op dom0_op_t ;DEFINE_XEN_GUEST_HANDLE (dom0_op_t); -#endif /* __XEN_PUBLIC_DOM0_OPS_H__ */ +#endif /* PUBLIC__DOM0_OPS_H */ /* * Local variables:
xen/include/public/domctl.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2002-2006, K Fraser */ -#ifndef __XEN_PUBLIC_DOMCTL_H__ -#define __XEN_PUBLIC_DOMCTL_H__ +#ifndef PUBLIC__DOMCTL_H +#define PUBLIC__DOMCTL_H #if !defined(__XEN__) && !defined(__XEN_TOOLS__)#error "domctl operations are intended for use by node control tools only"
@@ -1387,7 +1387,7 @@ struct xen_domctl {typedef struct xen_domctl xen_domctl_t ;DEFINE_XEN_GUEST_HANDLE (xen_domctl_t); -#endif /* __XEN_PUBLIC_DOMCTL_H__ */ +#endif /* PUBLIC__DOMCTL_H */ /* * Local variables:
xen/include/public/elfnote.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, Ian Campbell, XenSource Ltd. */ -#ifndef __XEN_PUBLIC_ELFNOTE_H__ -#define __XEN_PUBLIC_ELFNOTE_H__ +#ifndef PUBLIC__ELFNOTE_H +#define PUBLIC__ELFNOTE_H /* * `incontents 200 elfnotes ELF notes
@@ -273,7 +273,7 @@*/ #define XEN_ELFNOTE_DUMPCORE_FORMAT_VERSION 0x2000003 -#endif /* __XEN_PUBLIC_ELFNOTE_H__ */ +#endif /* PUBLIC__ELFNOTE_H */ /* * Local variables:
xen/include/public/errno.h +3 -3
@@ -25,8 +25,8 @@* guards, an automatic enum (for C code) and constants in the XEN_xxx * namespace. */ -#ifndef __XEN_PUBLIC_ERRNO_H__ -#define __XEN_PUBLIC_ERRNO_H__ +#ifndef PUBLIC__ERRNO_H +#define PUBLIC__ERRNO_H #define XEN_ERRNO_DEFAULT_INCLUDE
@@ -41,7 +41,7 @@ enum xen_errno {#endif /* __ASSEMBLY__ */ -#endif /* __XEN_PUBLIC_ERRNO_H__ */ +#endif /* PUBLIC__ERRNO_H */ #endif /* !XEN_ERRNO */ /* ` enum neg_errnoval { [ -Efoo for each Efoo in the list below ] } */
xen/include/public/event_channel.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2003-2004, K A Fraser. */ -#ifndef __XEN_PUBLIC_EVENT_CHANNEL_H__ -#define __XEN_PUBLIC_EVENT_CHANNEL_H__ +#ifndef PUBLIC__EVENT_CHANNEL_H +#define PUBLIC__EVENT_CHANNEL_H #include "xen.h"
@@ -358,7 +358,7 @@ struct evtchn_fifo_control_block { };typedef struct evtchn_fifo_control_block evtchn_fifo_control_block_t ; -#endif /* __XEN_PUBLIC_EVENT_CHANNEL_H__ */ +#endif /* PUBLIC__EVENT_CHANNEL_H */ /* * Local variables:
xen/include/public/features.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_FEATURES_H__ -#define __XEN_PUBLIC_FEATURES_H__ +#ifndef PUBLIC__FEATURES_H +#define PUBLIC__FEATURES_H /* * `incontents 200 elfnotes_features XEN_ELFNOTE_FEATURES
@@ -130,7 +130,7 @@#define XENFEAT_NR_SUBMAPS 1 -#endif /* __XEN_PUBLIC_FEATURES_H__ */ +#endif /* PUBLIC__FEATURES_H */ /* * Local variables:
xen/include/public/grant_table.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2004, K A Fraser */ -#ifndef __XEN_PUBLIC_GRANT_TABLE_H__ -#define __XEN_PUBLIC_GRANT_TABLE_H__ +#ifndef PUBLIC__GRANT_TABLE_H +#define PUBLIC__GRANT_TABLE_H #include "xen.h"
@@ -656,7 +656,7 @@ DEFINE_XEN_GUEST_HANDLE(gnttab_cache_flush_t); "out of space", \ } -#endif /* __XEN_PUBLIC_GRANT_TABLE_H__ */ +#endif /* PUBLIC__GRANT_TABLE_H */ /* * Local variables:
xen/include/public/hvm/dm_op.h +3 -3
@@ -4,8 +4,8 @@* */ -#ifndef __XEN_PUBLIC_HVM_DM_OP_H__ -#define __XEN_PUBLIC_HVM_DM_OP_H__ +#ifndef PUBLIC__HVM__DM_OP_H +#define PUBLIC__HVM__DM_OP_H #include "../xen.h" #include "../event_channel.h"
@@ -493,7 +493,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_dm_op_buf_t);* passing extra information to or from the domain. */ -#endif /* __XEN_PUBLIC_HVM_DM_OP_H__ */ +#endif /* PUBLIC__HVM__DM_OP_H */ /* * Local variables:
xen/include/public/hvm/e820.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2006, Keir Fraser */ -#ifndef __XEN_PUBLIC_HVM_E820_H__ -#define __XEN_PUBLIC_HVM_E820_H__ +#ifndef PUBLIC__HVM__E820_H +#define PUBLIC__HVM__E820_H #include "../xen.h"
@@ -18,4 +18,4 @@#define HVM_BELOW_4G_MMIO_LENGTH ((xen_mk_ullong(1) << 32) - \ HVM_BELOW_4G_MMIO_START) -#endif /* __XEN_PUBLIC_HVM_E820_H__ */ +#endif /* PUBLIC__HVM__E820_H */
xen/include/public/hvm/hvm_info_table.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, Keir Fraser */ -#ifndef __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ -#define __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ +#ifndef PUBLIC__HVM__HVM_INFO_TABLE_H +#define PUBLIC__HVM__HVM_INFO_TABLE_H #define HVM_INFO_PFN 0x09F#define HVM_INFO_OFFSET 0x800
@@ -62,4 +62,4 @@ struct hvm_info_table { uint8_t vcpu_online[(HVM_MAX_VCPUS + 7)/8]; }; -#endif /* __XEN_PUBLIC_HVM_HVM_INFO_TABLE_H__ */ +#endif /* PUBLIC__HVM__HVM_INFO_TABLE_H */
xen/include/public/hvm/hvm_op.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2007, Keir Fraser */ -#ifndef __XEN_PUBLIC_HVM_HVM_OP_H__ -#define __XEN_PUBLIC_HVM_HVM_OP_H__ +#ifndef PUBLIC__HVM__HVM_OP_H +#define PUBLIC__HVM__HVM_OP_H #include "../xen.h" #include "../trace.h"
@@ -365,7 +365,7 @@ struct xen_hvm_altp2m_op {typedef struct xen_hvm_altp2m_op xen_hvm_altp2m_op_t ;DEFINE_XEN_GUEST_HANDLE (xen_hvm_altp2m_op_t); -#endif /* __XEN_PUBLIC_HVM_HVM_OP_H__ */ +#endif /* PUBLIC__HVM__HVM_OP_H */ /* * Local variables:
xen/include/public/hvm/hvm_vcpu.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2015, Roger Pau Monne <[email protected]> */ -#ifndef __XEN_PUBLIC_HVM_HVM_VCPU_H__ -#define __XEN_PUBLIC_HVM_HVM_VCPU_H__ +#ifndef PUBLIC__HVM__HVM_VCPU_H +#define PUBLIC__HVM__HVM_VCPU_H #include "../xen.h"
@@ -116,7 +116,7 @@ struct vcpu_hvm_context {typedef struct vcpu_hvm_context vcpu_hvm_context_t ;DEFINE_XEN_GUEST_HANDLE (vcpu_hvm_context_t); -#endif /* __XEN_PUBLIC_HVM_HVM_VCPU_H__ */ +#endif /* PUBLIC__HVM__HVM_VCPU_H */ /* * Local variables:
xen/include/public/hvm/hvm_xs_strings.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2013, Citrix Systems */ -#ifndef __XEN_PUBLIC_HVM_HVM_XS_STRINGS_H__ -#define __XEN_PUBLIC_HVM_HVM_XS_STRINGS_H__ +#ifndef PUBLIC__HVM__HVM_XS_STRINGS_H +#define PUBLIC__HVM__HVM_XS_STRINGS_H #define HVM_XS_HVMLOADER "hvmloader"#define HVM_XS_BIOS "hvmloader/bios"
@@ -69,4 +69,4 @@*/ #define HVM_XS_OEM_STRINGS "bios-strings/oem-%d" -#endif /* __XEN_PUBLIC_HVM_HVM_XS_STRINGS_H__ */ +#endif /* PUBLIC__HVM__HVM_XS_STRINGS_H */
xen/include/public/hvm/ioreq.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2004, Intel Corporation. */ -#ifndef _IOREQ_H_ -#define _IOREQ_H_ +#ifndef PUBLIC__HVM__IOREQ_H +#define PUBLIC__HVM__IOREQ_H #define IOREQ_READ 1#define IOREQ_WRITE 0
@@ -113,7 +113,7 @@ typedef struct buffered_iopage buffered_iopage_t;#define ACPI_GPE0_BLK_LEN ACPI_GPE0_BLK_LEN_V0 -#endif /* _IOREQ_H_ */ +#endif /* PUBLIC__HVM__IOREQ_H */ /* * Local variables:
xen/include/public/hvm/params.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2007, Keir Fraser */ -#ifndef __XEN_PUBLIC_HVM_PARAMS_H__ -#define __XEN_PUBLIC_HVM_PARAMS_H__ +#ifndef PUBLIC__HVM__PARAMS_H +#define PUBLIC__HVM__PARAMS_H #include "hvm_op.h"
@@ -293,4 +293,4 @@#define HVM_NR_PARAMS 39 -#endif /* __XEN_PUBLIC_HVM_PARAMS_H__ */ +#endif /* PUBLIC__HVM__PARAMS_H */
xen/include/public/hvm/pvdrivers.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2012, Citrix Systems Inc. */ -#ifndef _XEN_PUBLIC_PVDRIVERS_H_ -#define _XEN_PUBLIC_PVDRIVERS_H_ +#ifndef PUBLIC__HVM__PVDRIVERS_H +#define PUBLIC__HVM__PVDRIVERS_H /* * This is the master registry of product numbers for
@@ -29,4 +29,4 @@ EACH("xenserver-windows-v7.2+", 0x0005) /* Citrix */ \ EACH("experimental", 0xffff) -#endif /* _XEN_PUBLIC_PVDRIVERS_H_ */ +#endif /* PUBLIC__HVM__PVDRIVERS_H */
xen/include/public/hvm/save.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2007 XenSource Ltd. */ -#ifndef __XEN_PUBLIC_HVM_SAVE_H__ -#define __XEN_PUBLIC_HVM_SAVE_H__ +#ifndef PUBLIC__HVM__SAVE_H +#define PUBLIC__HVM__SAVE_H /* * Structures in this header *must* have the same layout in 32bit
@@ -95,4 +95,4 @@ DECLARE_HVM_SAVE_TYPE(END, 0, struct hvm_save_end);#error "unsupported architecture"#endif -#endif /* __XEN_PUBLIC_HVM_SAVE_H__ */ +#endif /* PUBLIC__HVM__SAVE_H */
xen/include/public/hypfs.h +3 -3
@@ -6,8 +6,8 @@* */ -#ifndef __XEN_PUBLIC_HYPFS_H__ -#define __XEN_PUBLIC_HYPFS_H__ +#ifndef PUBLIC__HYPFS_H +#define PUBLIC__HYPFS_H #include "xen.h"
@@ -110,4 +110,4 @@ struct xen_hypfs_dirlistentry {*/ #define XEN_HYPFS_OP_write_contents 2 -#endif /* __XEN_PUBLIC_HYPFS_H__ */ +#endif /* PUBLIC__HYPFS_H */
xen/include/public/kexec.h +3 -3
@@ -7,8 +7,8 @@* - Magnus Damm <[email protected]> */ -#ifndef _XEN_PUBLIC_KEXEC_H -#define _XEN_PUBLIC_KEXEC_H +#ifndef PUBLIC__KEXEC_H +#define PUBLIC__KEXEC_H /* This file describes the Kexec / Kdump hypercall interface for Xen.
@@ -233,7 +233,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_kexec_status_t);#endif -#endif /* _XEN_PUBLIC_KEXEC_H */ +#endif /* PUBLIC__KEXEC_H */ /* * Local variables:
xen/include/public/memory.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_MEMORY_H__ -#define __XEN_PUBLIC_MEMORY_H__ +#ifndef PUBLIC__MEMORY_H +#define PUBLIC__MEMORY_H #include "xen.h" #include "physdev.h"
@@ -733,7 +733,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_vnuma_topology_info_t);/* Next available subop number is 29 */ -#endif /* __XEN_PUBLIC_MEMORY_H__ */ +#endif /* PUBLIC__MEMORY_H */ /* * Local variables:
xen/include/public/nmi.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_NMI_H__ -#define __XEN_PUBLIC_NMI_H__ +#ifndef PUBLIC__NMI_H +#define PUBLIC__NMI_H #include "xen.h"
@@ -55,7 +55,7 @@ DEFINE_XEN_GUEST_HANDLE(xennmi_callback_t);*/ #define XENNMI_unregister_callback 1 -#endif /* __XEN_PUBLIC_NMI_H__ */ +#endif /* PUBLIC__NMI_H */ /* * Local variables:
xen/include/public/physdev.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2006, Keir Fraser */ -#ifndef __XEN_PUBLIC_PHYSDEV_H__ -#define __XEN_PUBLIC_PHYSDEV_H__ +#ifndef PUBLIC__PHYSDEV_H +#define PUBLIC__PHYSDEV_H #include "xen.h"
@@ -373,7 +373,7 @@ DEFINE_XEN_GUEST_HANDLE(physdev_dbgp_op_t);#define PHYSDEVOP_pirq_eoi_gmfn PHYSDEVOP_pirq_eoi_gmfn_v2#endif -#endif /* __XEN_PUBLIC_PHYSDEV_H__ */ +#endif /* PUBLIC__PHYSDEV_H */ /* * Local variables:
xen/include/public/platform.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2002-2006, K Fraser */ -#ifndef __XEN_PUBLIC_PLATFORM_H__ -#define __XEN_PUBLIC_PLATFORM_H__ +#ifndef PUBLIC__PLATFORM_H +#define PUBLIC__PLATFORM_H #include "xen.h"
@@ -676,7 +676,7 @@ struct xen_platform_op {typedef struct xen_platform_op xen_platform_op_t ;DEFINE_XEN_GUEST_HANDLE (xen_platform_op_t); -#endif /* __XEN_PUBLIC_PLATFORM_H__ */ +#endif /* PUBLIC__PLATFORM_H */ /* * Local variables:
xen/include/public/pmu.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. */ -#ifndef __XEN_PUBLIC_PMU_H__ -#define __XEN_PUBLIC_PMU_H__ +#ifndef PUBLIC__PMU_H +#define PUBLIC__PMU_H #include "xen.h" #if defined(__i386__) || defined(__x86_64__)
@@ -117,7 +117,7 @@ struct xen_pmu_data { xen_pmu_arch_t pmu; }; -#endif /* __XEN_PUBLIC_PMU_H__ */ +#endif /* PUBLIC__PMU_H */ /* * Local variables:
xen/include/public/sched.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_SCHED_H__ -#define __XEN_PUBLIC_SCHED_H__ +#ifndef PUBLIC__SCHED_H +#define PUBLIC__SCHED_H #include "event_channel.h"
@@ -172,7 +172,7 @@ DEFINE_XEN_GUEST_HANDLE(sched_pin_override_t);#define SHUTDOWN_MAX 5/* Maximum valid shutdown reason. */ /* ` } */ -#endif /* __XEN_PUBLIC_SCHED_H__ */ +#endif /* PUBLIC__SCHED_H */ /* * Local variables:
xen/include/public/sysctl.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2002-2006, K Fraser */ -#ifndef __XEN_PUBLIC_SYSCTL_H__ -#define __XEN_PUBLIC_SYSCTL_H__ +#ifndef PUBLIC__SYSCTL_H +#define PUBLIC__SYSCTL_H #if !defined(__XEN__) && !defined(__XEN_TOOLS__)#error "sysctl operations are intended for use by node control tools only"
@@ -1271,7 +1271,7 @@ struct xen_sysctl {typedef struct xen_sysctl xen_sysctl_t ;DEFINE_XEN_GUEST_HANDLE (xen_sysctl_t); -#endif /* __XEN_PUBLIC_SYSCTL_H__ */ +#endif /* PUBLIC__SYSCTL_H */ /* * Local variables:
xen/include/public/tmem.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2004, K A Fraser */ -#ifndef __XEN_PUBLIC_TMEM_H__ -#define __XEN_PUBLIC_TMEM_H__ +#ifndef PUBLIC__TMEM_H +#define PUBLIC__TMEM_H #include "xen.h"
@@ -92,7 +92,7 @@ DEFINE_XEN_GUEST_HANDLE(tmem_op_t);#endif /* __XEN_INTERFACE_VERSION__ < 0x00041300 */ -#endif /* __XEN_PUBLIC_TMEM_H__ */ +#endif /* PUBLIC__TMEM_H */ /* * Local variables:
xen/include/public/trace.h +3 -3
@@ -6,8 +6,8 @@* Copyright (C) 2005 Bin Ren */ -#ifndef __XEN_PUBLIC_TRACE_H__ -#define __XEN_PUBLIC_TRACE_H__ +#ifndef PUBLIC__TRACE_H +#define PUBLIC__TRACE_H #define TRACE_EXTRA_MAX 7#define TRACE_EXTRA_SHIFT 28
@@ -313,7 +313,7 @@ struct t_info { /* MFN lists immediately after the header */ }; -#endif /* __XEN_PUBLIC_TRACE_H__ */ +#endif /* PUBLIC__TRACE_H */ /* * Local variables:
xen/include/public/vcpu.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_VCPU_H__ -#define __XEN_PUBLIC_VCPU_H__ +#ifndef PUBLIC__VCPU_H +#define PUBLIC__VCPU_H #include "xen.h"
@@ -243,7 +243,7 @@ DEFINE_XEN_GUEST_HANDLE(vcpu_register_time_memory_area_t);#define VCPUOP_register_runstate_phys_area 14#define VCPUOP_register_vcpu_time_phys_area 15 -#endif /* __XEN_PUBLIC_VCPU_H__ */ +#endif /* PUBLIC__VCPU_H */ /* * Local variables:
xen/include/public/version.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2005, Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_VERSION_H__ -#define __XEN_PUBLIC_VERSION_H__ +#ifndef PUBLIC__VERSION_H +#define PUBLIC__VERSION_H #include "xen.h"
@@ -110,7 +110,7 @@ struct xen_build_id { };typedef struct xen_build_id xen_build_id_t ; -#endif /* __XEN_PUBLIC_VERSION_H__ */ +#endif /* PUBLIC__VERSION_H */ /* * Local variables:
xen/include/public/xen-compat.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, Christian Limpach */ -#ifndef __XEN_PUBLIC_XEN_COMPAT_H__ -#define __XEN_PUBLIC_XEN_COMPAT_H__ +#ifndef PUBLIC__XEN_COMPAT_H +#define PUBLIC__XEN_COMPAT_H #define __XEN_LATEST_INTERFACE_VERSION__ 0x00041300
@@ -26,4 +26,4 @@#define COMPAT_FLEX_ARRAY_DIM XEN_FLEX_ARRAY_DIM -#endif /* __XEN_PUBLIC_XEN_COMPAT_H__ */ +#endif /* PUBLIC__XEN_COMPAT_H */
xen/include/public/xen.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2004, K A Fraser */ -#ifndef __XEN_PUBLIC_XEN_H__ -#define __XEN_PUBLIC_XEN_H__ +#ifndef PUBLIC__XEN_H +#define PUBLIC__XEN_H #include "xen-compat.h"
@@ -1023,7 +1023,7 @@ typedef struct xenctl_bitmap xenctl_bitmap_t;#endif /* defined(__XEN__) || defined(__XEN_TOOLS__) */ -#endif /* __XEN_PUBLIC_XEN_H__ */ +#endif /* PUBLIC__XEN_H */ /* * Local variables:
xen/include/public/xencomm.h +3 -3
@@ -3,8 +3,8 @@* Copyright (C) IBM Corp. 2006 */ -#ifndef _XEN_XENCOMM_H_ -#define _XEN_XENCOMM_H_ +#ifndef PUBLIC__XENCOMM_H +#define PUBLIC__XENCOMM_H /* A xencomm descriptor is a scatter/gather list containing physical * addresses corresponding to a virtually contiguous memory area. The
@@ -21,4 +21,4 @@ struct xencomm_desc { uint64_t address[0]; }; -#endif /* _XEN_XENCOMM_H_ */ +#endif /* PUBLIC__XENCOMM_H */
xen/include/public/xenoprof.h +3 -3
@@ -9,8 +9,8 @@* Written by Aravind Menon & Jose Renato Santos */ -#ifndef __XEN_PUBLIC_XENOPROF_H__ -#define __XEN_PUBLIC_XENOPROF_H__ +#ifndef PUBLIC__XENOPROF_H +#define PUBLIC__XENOPROF_H #include "xen.h"
@@ -122,7 +122,7 @@ struct xenoprof_ibs_counter {typedef struct xenoprof_ibs_counter xenoprof_ibs_counter_t ;DEFINE_XEN_GUEST_HANDLE (xenoprof_ibs_counter_t); -#endif /* __XEN_PUBLIC_XENOPROF_H__ */ +#endif /* PUBLIC__XENOPROF_H */ /* * Local variables:
xen/include/public/xsm/flask_op.h +2 -2
@@ -5,8 +5,8 @@* Author: George Coker, <[email protected]> */ -#ifndef __FLASK_OP_H__ -#define __FLASK_OP_H__ +#ifndef PUBLIC__XSM__FLASK_OP_H +#define PUBLIC__XSM__FLASK_OP_H #include "../event_channel.h"
xen/include/xen/8250-uart.h +3 -3
@@ -19,8 +19,8 @@* GNU General Public License for more details. */ -#ifndef __XEN_8250_UART_H__ -#define __XEN_8250_UART_H__ +#ifndef XEN__8250_UART_H +#define XEN__8250_UART_H /* Register offsets */ #define UART_RBR 0x00/* receive buffer */
@@ -129,7 +129,7 @@#define RESUME_DELAY MILLISECS(10)#define RESUME_RETRIES 100 -#endif /* __XEN_8250_UART_H__ */ +#endif /* XEN__8250_UART_H */ /* * Local variables:
xen/include/xen/acpi.h +3 -3
@@ -21,8 +21,8 @@* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#ifndef _LINUX_ACPI_H -#define _LINUX_ACPI_H +#ifndef XEN__ACPI_H +#define XEN__ACPI_H #ifndef _LINUX#define _LINUX
@@ -204,4 +204,4 @@ static inline void acpi_dmar_reinstate(void) {}#endif /* __ASSEMBLY__ */ -#endif /*_LINUX_ACPI_H*/ +#endif /*XEN__ACPI_H*/
xen/include/xen/alternative-call.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef XEN_ALTERNATIVE_CALL -#define XEN_ALTERNATIVE_CALL +#ifndef XEN__ALTERNATIVE_CALL_H +#define XEN__ALTERNATIVE_CALL_H /* * Some subsystems in Xen may have multiple implementations, which can be
@@ -65,4 +65,4 @@#define __alt_call_maybe_initdata __ro_after_init#endif /* !CONFIG_ALTERNATIVE_CALL */ -#endif /* XEN_ALTERNATIVE_CALL */ +#endif /* XEN__ALTERNATIVE_CALL_H */
xen/include/xen/atomic.h +3 -3
@@ -19,8 +19,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_ATOMIC_H__ -#define __XEN_ATOMIC_H__ +#ifndef XEN__ATOMIC_H +#define XEN__ATOMIC_H typedef struct {int counter; }atomic_t ;
@@ -204,4 +204,4 @@ static inline int atomic_add_negative(int i, atomic_t *v);*/ static inline int atomic_add_unless (atomic_t *v,int a,int u); -#endif /* __XEN_ATOMIC_H__ */ +#endif /* XEN__ATOMIC_H */
xen/include/xen/bitmap.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BITMAP_H -#define __XEN_BITMAP_H +#ifndef XEN__BITMAP_H +#define XEN__BITMAP_H #ifndef __ASSEMBLY__
@@ -292,4 +292,4 @@ int bitmap_to_xenctl_bitmap(struct xenctl_bitmap *xenctl_bitmap,#endif /* __ASSEMBLY__ */ -#endif /* __XEN_BITMAP_H */ +#endif /* XEN__BITMAP_H */
xen/include/xen/bitops.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef XEN_BITOPS_H -#define XEN_BITOPS_H +#ifndef XEN__BITOPS_H +#define XEN__BITOPS_H #include <xen/compiler.h> #include <xen/types.h>
@@ -438,4 +438,4 @@ static inline __u32 ror32(__u32 word, unsigned int shift)#define BIT_WORD (nr) ((nr) / BITS_PER_LONG) -#endif /* XEN_BITOPS_H */ +#endif /* XEN__BITOPS_H */
xen/include/xen/bug.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BUG_H__ -#define __XEN_BUG_H__ +#ifndef XEN__BUG_H +#define XEN__BUG_H #define BUGFRAME_run_fn 0#define BUGFRAME_warn 1
@@ -157,7 +157,7 @@ int do_bug_frame(const struct cpu_user_regs *regs, unsigned long pc);#endif /* !__ASSEMBLY__ */ -#endif /* __XEN_BUG_H__ */ +#endif /* XEN__BUG_H */ /* * Local variables: * mode: C
xen/include/xen/byteorder/big_endian.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BYTEORDER_BIG_ENDIAN_H__ -#define __XEN_BYTEORDER_BIG_ENDIAN_H__ +#ifndef XEN__BYTEORDER__BIG_ENDIAN_H +#define XEN__BYTEORDER__BIG_ENDIAN_H #ifndef __BIG_ENDIAN#define __BIG_ENDIAN 4321
@@ -99,4 +99,4 @@ static inline __u16 __be16_to_cpup(const __be16 *p)#include <xen/byteorder/generic.h> -#endif /* __XEN_BYTEORDER_BIG_ENDIAN_H__ */ +#endif /* XEN__BYTEORDER__BIG_ENDIAN_H */
xen/include/xen/byteorder/generic.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BYTEORDER_GENERIC_H__ -#define __XEN_BYTEORDER_GENERIC_H__ +#ifndef XEN__BYTEORDER__GENERIC_H +#define XEN__BYTEORDER__GENERIC_H /* * Generic Byte-reordering support
@@ -65,4 +65,4 @@#define cpu_to_be16s __cpu_to_be16s#define be16_to_cpus __be16_to_cpus -#endif /* __XEN_BYTEORDER_GENERIC_H__ */ +#endif /* XEN__BYTEORDER__GENERIC_H */
xen/include/xen/byteorder/little_endian.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BYTEORDER_LITTLE_ENDIAN_H__ -#define __XEN_BYTEORDER_LITTLE_ENDIAN_H__ +#ifndef XEN__BYTEORDER__LITTLE_ENDIAN_H +#define XEN__BYTEORDER__LITTLE_ENDIAN_H #ifndef __LITTLE_ENDIAN#define __LITTLE_ENDIAN 1234
@@ -99,4 +99,4 @@ static inline __u16 __be16_to_cpup(const __be16 *p)#include <xen/byteorder/generic.h> -#endif /* __XEN_BYTEORDER_LITTLE_ENDIAN_H__ */ +#endif /* XEN__BYTEORDER__LITTLE_ENDIAN_H */
xen/include/xen/byteorder/swab.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_BYTEORDER_SWAB_H__ -#define __XEN_BYTEORDER_SWAB_H__ +#ifndef XEN__BYTEORDER__SWAB_H +#define XEN__BYTEORDER__SWAB_H /* * Byte-swapping, independently from CPU endianness
@@ -180,4 +180,4 @@ static inline void __swab64s(__u64 *addr)#define swab32s __swab32s#define swab64s __swab64s -#endif /* __XEN_BYTEORDER_SWAB_H__ */ +#endif /* XEN__BYTEORDER__SWAB_H */
xen/include/xen/cache.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __LINUX_CACHE_H -#define __LINUX_CACHE_H +#ifndef XEN__CACHE_H +#define XEN__CACHE_H #include <asm/cache.h>
@@ -15,4 +15,4 @@#define __cacheline_aligned __attribute__((__aligned__(SMP_CACHE_BYTES)))#endif -#endif /* __LINUX_CACHE_H */ +#endif /* XEN__CACHE_H */
xen/include/xen/compat.h +3 -3
@@ -2,8 +2,8 @@* compat.h */ -#ifndef __XEN_COMPAT_H__ -#define __XEN_COMPAT_H__ +#ifndef XEN__COMPAT_H +#define XEN__COMPAT_H #include <xen/types.h> #ifdef CONFIG_HAS_COMPAT
@@ -243,4 +243,4 @@ void xlat_vcpu_runstate_info(struct vcpu_runstate_info *native);#endif -#endif /* __XEN_COMPAT_H__ */ +#endif /* XEN__COMPAT_H */
xen/include/xen/compiler.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __LINUX_COMPILER_H -#define __LINUX_COMPILER_H +#ifndef XEN__COMPILER_H +#define XEN__COMPILER_H #if !defined(__GNUC__) || (__GNUC__ <4 )#error Sorry, your compiler is too old/not recognized.
@@ -184,4 +184,4 @@# define CLANG_DISABLE_WARN_GCC_COMPAT_END #endif -#endif /* __LINUX_COMPILER_H */ +#endif /* XEN__COMPILER_H */
xen/include/xen/config.h +3 -3
@@ -4,8 +4,8 @@* A Linux-style configuration list. */ -#ifndef __XEN_CONFIG_H__ -#define __XEN_CONFIG_H__ +#ifndef XEN__CONFIG_H +#define XEN__CONFIG_H #ifdef CPPCHECK #include <generated/compiler-def.h>
@@ -98,4 +98,4 @@#define ZERO_BLOCK_PTR ((void *)-1L)#endif -#endif /* __XEN_CONFIG_H__ */ +#endif /* XEN__CONFIG_H */
xen/include/xen/console.h +3 -3
@@ -4,8 +4,8 @@* Xen header file concerning console access. */ -#ifndef __CONSOLE_H__ -#define __CONSOLE_H__ +#ifndef XEN__CONSOLE_H +#define XEN__CONSOLE_H #include <xen/inttypes.h> #include <public/xen.h>
@@ -50,4 +50,4 @@ void console_serial_puts(const char *s, size_t nr);extern int8_t opt_console_xen; -#endif /* __CONSOLE_H__ */ +#endif /* XEN__CONSOLE_H */
xen/include/xen/consoled.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_CONSOLED_H__ -#define __XEN_CONSOLED_H__ +#ifndef XEN__CONSOLED_H +#define XEN__CONSOLED_H #include <public/io/console.h>
@@ -8,7 +8,7 @@ struct xencons_interface *consoled_get_ring_addr(void);void consoled_guest_rx (void );void consoled_guest_tx (char c); -#endif /* __XEN_CONSOLED_H__ */ +#endif /* XEN__CONSOLED_H */ /* * Local variables: * mode: C
xen/include/xen/const.h +3 -3
@@ -1,7 +1,7 @@/* const.h: Macros for dealing with constants. */ -#ifndef __XEN_CONST_H__ -#define __XEN_CONST_H__ +#ifndef XEN__CONST_H +#define XEN__CONST_H /* Some constant macros are used in both assembler and * C code. Therefore we cannot annotate them always with
@@ -23,4 +23,4 @@#define BIT (pos, sfx) (_AC(1, sfx) << (pos)) -#endif /* __XEN_CONST_H__ */ +#endif /* XEN__CONST_H */
xen/include/xen/coverage.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _XEN_COV_H -#define _XEN_COV_H +#ifndef XEN__COVERAGE_H +#define XEN__COVERAGE_H #ifdef CONFIG_COVERAGE #include <public/sysctl.h>
xen/include/xen/cper.h +2 -2
@@ -18,8 +18,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef LINUX_CPER_H -#define LINUX_CPER_H +#ifndef XEN__CPER_H +#define XEN__CPER_H #include <xen/types.h> #include <xen/string.h>
xen/include/xen/cpu.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_CPU_H__ -#define __XEN_CPU_H__ +#ifndef XEN__CPU_H +#define XEN__CPU_H #include <xen/types.h> #include <xen/spinlock.h>
@@ -83,4 +83,4 @@ int __cpu_up(unsigned int cpu);void __cpu_disable (void );void __cpu_die (unsigned int cpu); -#endif /* __XEN_CPU_H__ */ +#endif /* XEN__CPU_H */
xen/include/xen/cpuidle.h +3 -3
@@ -23,8 +23,8 @@* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#ifndef _XEN_CPUIDLE_H -#define _XEN_CPUIDLE_H +#ifndef XEN__CPUIDLE_H +#define XEN__CPUIDLE_H #include <xen/cpumask.h> #include <xen/spinlock.h>
@@ -98,4 +98,4 @@ extern void cpuidle_wakeup_mwait(cpumask_t *mask);extern void menu_get_trace_data (u32 *expected,u32 *pred); -#endif /* _XEN_CPUIDLE_H */ +#endif /* XEN__CPUIDLE_H */
xen/include/xen/cpumask.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_CPUMASK_H -#define __XEN_CPUMASK_H +#ifndef XEN__CPUMASK_H +#define XEN__CPUMASK_H /* * Cpumasks provide a bitmap suitable for representing the
@@ -466,4 +466,4 @@ int cpumask_to_xenctl_bitmap(struct xenctl_bitmap *xenctl_cpumap,int xenctl_bitmap_to_cpumask (cpumask_var_t *cpumask,const struct xenctl_bitmap *xenctl_cpumap); -#endif /* __XEN_CPUMASK_H */ +#endif /* XEN__CPUMASK_H */
xen/include/xen/ctype.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _LINUX_CTYPE_H -#define _LINUX_CTYPE_H +#ifndef XEN__CTYPE_H +#define XEN__CTYPE_H /* * NOTE! This ctype does not handle EOF like the standard C
xen/include/xen/decompress.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __XEN_GENERIC_H -#define __XEN_GENERIC_H +#ifndef XEN__DECOMPRESS_H +#define XEN__DECOMPRESS_H typedef int decompress_fn(unsigned char *inbuf, unsigned int len, int (*fill)(void*, unsigned int),
xen/include/xen/delay.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _LINUX_DELAY_H -#define _LINUX_DELAY_H +#ifndef XEN__DELAY_H +#define XEN__DELAY_H /* Copyright (C) 1993 Linus Torvalds */
@@ -11,4 +11,4 @@ static inline void mdelay(unsigned long msec) udelay(1000); } -#endif /* defined(_LINUX_DELAY_H) */ +#endif /* defined(XEN__DELAY_H) */
xen/include/xen/dm.h +3 -3
@@ -14,8 +14,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_DM_H__ -#define __XEN_DM_H__ +#ifndef XEN__DM_H +#define XEN__DM_H #include <xen/types.h>
@@ -31,7 +31,7 @@ struct dmop_args {int dm_op (const struct dmop_args *op_args); -#endif /* __XEN_DM_H__ */ +#endif /* XEN__DM_H */ /* * Local variables:
xen/include/xen/dmi.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __DMI_H__ -#define __DMI_H__ +#ifndef XEN__DMI_H +#define XEN__DMI_H enum dmi_field { DMI_NONE,
@@ -44,4 +44,4 @@ extern void dmi_efi_get_table(const void *smbios, const void *smbios3);bool dmi_get_date (int field,int *yearp,int *monthp,int *dayp);extern void dmi_end_boot (void ); -#endif /* __DMI_H__ */ +#endif /* XEN__DMI_H */
xen/include/xen/domain.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __XEN_DOMAIN_H__ -#define __XEN_DOMAIN_H__ +#ifndef XEN__DOMAIN_H +#define XEN__DOMAIN_H #include <xen/numa.h> #include <xen/types.h>
@@ -171,4 +171,4 @@ extern bool vmtrace_available;extern bool vpmu_is_available; -#endif /* __XEN_DOMAIN_H__ */ +#endif /* XEN__DOMAIN_H */
xen/include/xen/domain_page.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2003-2006, Keir Fraser <[email protected]> */ -#ifndef __XEN_DOMAIN_PAGE_H__ -#define __XEN_DOMAIN_PAGE_H__ +#ifndef XEN__DOMAIN_PAGE_H +#define XEN__DOMAIN_PAGE_H #include <xen/mm.h>
@@ -77,4 +77,4 @@ static inline void unmap_domain_page_global(const void *va) {}; (p) =NULL ; \ } while ( false ) -#endif /* __XEN_DOMAIN_PAGE_H__ */ +#endif /* XEN__DOMAIN_PAGE_H */
xen/include/xen/dt-overlay.h +3 -3
@@ -8,8 +8,8 @@* Written by Vikram Garhwal <[email protected]> * */ -#ifndef __XEN_DT_OVERLAY_H__ -#define __XEN_DT_OVERLAY_H__ +#ifndef XEN__DT_OVERLAY_H +#define XEN__DT_OVERLAY_H #include <xen/device_tree.h> #include <xen/list.h>
@@ -58,7 +58,7 @@ static inline long dt_overlay_domctl(struct domain *d, }#endif -#endif /* __XEN_DT_OVERLAY_H__ */ +#endif /* XEN__DT_OVERLAY_H */ /* * Local variables:
xen/include/xen/early_printk.h +2 -2
@@ -1,8 +1,8 @@/* * printk() for use before the console is initialized */ -#ifndef __XEN_EARLY_PRINTK_H__ -#define __XEN_EARLY_PRINTK_H__ +#ifndef XEN__EARLY_PRINTK_H +#define XEN__EARLY_PRINTK_H #include <xen/types.h>
xen/include/xen/earlycpio.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _EARLYCPIO_H -#define _EARLYCPIO_H +#ifndef XEN__EARLYCPIO_H +#define XEN__EARLYCPIO_H #define MAX_CPIO_FILE_NAME 18
@@ -12,4 +12,4 @@ struct cpio_data {struct cpio_data find_cpio_data (const char *path,void *data,size_t len,long *offset); -#endif /* _EARLYCPIO_H */ +#endif /* XEN__EARLYCPIO_H */
xen/include/xen/efi.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_EFI_H__ -#define __XEN_EFI_H__ +#ifndef XEN__EFI_H +#define XEN__EFI_H #ifndef __ASSEMBLY__#include <xen/types.h>
@@ -55,4 +55,4 @@ int efi_compat_runtime_call(struct compat_pf_efi_runtime_call *op);#endif /* !__ASSEMBLY__ */ -#endif /* __XEN_EFI_H__ */ +#endif /* XEN__EFI_H */
xen/include/xen/elf.h +3 -3
@@ -24,8 +24,8 @@* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef __XEN_ELF_H__ -#define __XEN_ELF_H__ +#ifndef XEN__ELF_H +#define XEN__ELF_H #include <xen/elfstructs.h>
@@ -34,4 +34,4 @@#define ELFNOTE_DESC (_n_) (ELFNOTE_NAME(_n_) + ELFNOTE_ALIGN((_n_)->namesz))#define ELFNOTE_NEXT (_n_) ((Elf_Note *)(ELFNOTE_DESC(_n_) + ELFNOTE_ALIGN((_n_)->descsz))) -#endif /* __XEN_ELF_H__ */ +#endif /* XEN__ELF_H */
xen/include/xen/elfcore.h +3 -3
@@ -6,8 +6,8 @@* */ -#ifndef __ELFCOREC_H__ -#define __ELFCOREC_H__ +#ifndef XEN__ELFCORE_H +#define XEN__ELFCORE_H #include <xen/types.h> #include <xen/elf.h>
@@ -71,7 +71,7 @@ typedef struct crash_xen_info { #endif } crash_xen_info_t; -#endif /* __ELFCOREC_H__ */ +#endif /* XEN__ELFCORE_H */ /* * Local variables:
xen/include/xen/elfstructs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_ELFSTRUCTS_H__ -#define __XEN_ELFSTRUCTS_H__ +#ifndef XEN__ELFSTRUCTS_H +#define XEN__ELFSTRUCTS_H /* * Copyright (c) 1995, 1996 Erik Theisen. All rights reserved. *
@@ -620,4 +620,4 @@ typedef struct {#define AuxInfo Aux64Info#endif -#endif /* __XEN_ELFSTRUCTS_H__ */ +#endif /* XEN__ELFSTRUCTS_H */
xen/include/xen/err.h +3 -3
@@ -1,5 +1,5 @@ -#if !defined(__XEN_ERR_H__) && !defined(__ASSEMBLY__) -#define __XEN_ERR_H__ +#if !defined(XEN__ERR_H ) && !defined(__ASSEMBLY__) +#define XEN__ERR_H #include <xen/compiler.h> #include <xen/errno.h>
@@ -41,4 +41,4 @@ static inline int __must_check PTR_RET(const void *ptr) return IS_ERR(ptr) ? PTR_ERR(ptr) : 0; } -#endif /* __XEN_ERR_H__ */ +#endif /* XEN__ERR_H */
xen/include/xen/errno.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_ERRNO_H__ -#define __XEN_ERRNO_H__ +#ifndef XEN__ERRNO_H +#define XEN__ERRNO_H #ifndef __ASSEMBLY__
@@ -15,4 +15,4 @@ enum {#endif /* __ASSEMBLY__ */ -#endif /* __XEN_ERRNO_H__ */ +#endif /* XEN__ERRNO_H */
xen/include/xen/event.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2002-2006, K A Fraser */ -#ifndef __XEN_EVENT_H__ -#define __XEN_EVENT_H__ +#ifndef XEN__EVENT_H +#define XEN__EVENT_H #include <xen/sched.h> #include <xen/smp.h>
@@ -302,4 +302,4 @@ static inline int evtchn_port_poll(struct domain *d, evtchn_port_t port) return rc; } -#endif /* __XEN_EVENT_H__ */ +#endif /* XEN__EVENT_H */
xen/include/xen/grant_table.h +3 -3
@@ -20,8 +20,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_GRANT_TABLE_H__ -#define __XEN_GRANT_TABLE_H__ +#ifndef XEN__GRANT_TABLE_H +#define XEN__GRANT_TABLE_H #include <xen/mm-frame.h> #include <xen/rwlock.h>
@@ -117,4 +117,4 @@ static inline int gnttab_acquire_resource(#endif /* CONFIG_GRANT_TABLE */ -#endif /* __XEN_GRANT_TABLE_H__ */ +#endif /* XEN__GRANT_TABLE_H */
xen/include/xen/guest_access.h +3 -3
@@ -4,8 +4,8 @@* Copyright (x) 2006, K A Fraser */ -#ifndef __XEN_GUEST_ACCESS_H__ -#define __XEN_GUEST_ACCESS_H__ +#ifndef XEN__GUEST_ACCESS_H +#define XEN__GUEST_ACCESS_H #include <asm/guest_access.h> #include <xen/types.h>
@@ -186,7 +186,7 @@char *safe_copy_string_from_guest (XEN_GUEST_HANDLE (char ) u_buf,size_t size,size_t max_size); -#endif /* __XEN_GUEST_ACCESS_H__ */ +#endif /* XEN__GUEST_ACCESS_H */ /* * Local variables:
xen/include/xen/gunzip.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __XEN_GUNZIP_H -#define __XEN_GUNZIP_H +#ifndef XEN__GUNZIP_H +#define XEN__GUNZIP_H int gzip_check (char *image,unsigned long image_len);int perform_gunzip (char *output,char *image,unsigned long image_len);
xen/include/xen/hypercall.h +3 -3
@@ -2,8 +2,8 @@* hypercall.h */ -#ifndef __XEN_HYPERCALL_H__ -#define __XEN_HYPERCALL_H__ +#ifndef XEN__HYPERCALL_H +#define XEN__HYPERCALL_H #include <xen/types.h> #include <xen/time.h>
@@ -58,4 +58,4 @@ common_vcpu_op(int cmd,void arch_get_xen_caps (xen_capabilities_info_t *info); -#endif /* __XEN_HYPERCALL_H__ */ +#endif /* XEN__HYPERCALL_H */
xen/include/xen/init.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _LINUX_INIT_H -#define _LINUX_INIT_H +#ifndef XEN__INIT_H +#define XEN__INIT_H /* * Mark functions and data as being only used at initialization
@@ -82,4 +82,4 @@ void do_initcalls(void);#define __hwdom_initdata __initdata#endif -#endif /* _LINUX_INIT_H */ +#endif /* XEN__INIT_H */
xen/include/xen/inttypes.h +3 -3
@@ -18,8 +18,8 @@* ISO C99: 7.8 Format conversion of integer types <inttypes.h> */ -#ifndef _XEN_INTTYPES_H -#define _XEN_INTTYPES_H 1 +#ifndef XEN__INTTYPES_H +#define XEN__INTTYPES_H 1#include <xen/types.h>
@@ -245,4 +245,4 @@# define SCNuPTR __PRIPTR_PREFIX "u"# define SCNxPTR __PRIPTR_PREFIX "x" -#endif /* _XEN_INTTYPES_H */ +#endif /* XEN__INTTYPES_H */
xen/include/xen/iocap.h +3 -3
@@ -4,8 +4,8 @@* Per-domain I/O capabilities. */ -#ifndef __XEN_IOCAP_H__ -#define __XEN_IOCAP_H__ +#ifndef XEN__IOCAP_H +#define XEN__IOCAP_H #include <xen/sched.h> #include <xen/rangeset.h>
@@ -66,4 +66,4 @@ static inline int iomem_deny_access(struct domain *d, unsigned long s, ? irq__ : 0; \ }) -#endif /* __XEN_IOCAP_H__ */ +#endif /* XEN__IOCAP_H */
xen/include/xen/ioreq.h +3 -3
@@ -16,8 +16,8 @@* this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __XEN_IOREQ_H__ -#define __XEN_IOREQ_H__ +#ifndef XEN__IOREQ_H +#define XEN__IOREQ_H #include <xen/sched.h>
@@ -138,7 +138,7 @@ bool arch_ioreq_server_get_type_addr(const struct domain *d, const ioreq_t *p, uint8_t *type, uint64_t *addr);void arch_ioreq_domain_init (struct domain *d); -#endif /* __XEN_IOREQ_H__ */ +#endif /* XEN__IOREQ_H */ /* * Local variables:
xen/include/xen/irq.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_IRQ_H__ -#define __XEN_IRQ_H__ +#ifndef XEN__IRQ_H +#define XEN__IRQ_H #include <xen/cpumask.h> #include <xen/rcupdate.h>
@@ -211,4 +211,4 @@ unsigned int arch_hwdom_irqs(const struct domain *d);void arch_evtchn_bind_pirq (struct domain *d,int pirq);#endif -#endif /* __XEN_IRQ_H__ */ +#endif /* XEN__IRQ_H */
xen/include/xen/irq_cpustat.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __irq_cpustat_h -#define __irq_cpustat_h +#ifndef XEN__IRQ_CPUSTAT_H +#define XEN__IRQ_CPUSTAT_H /* * Contains default mappings for irq_cpustat_t, used by almost every
@@ -26,4 +26,4 @@ extern irq_cpustat_t irq_stat[];#define local_irq_count (cpu) __IRQ_STAT((cpu), __local_irq_count)#define mwait_wakeup (cpu) __IRQ_STAT((cpu), __mwait_wakeup) -#endif /* __irq_cpustat_h */ +#endif /* XEN__IRQ_CPUSTAT_H */
xen/include/xen/kconfig.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_KCONFIG_H -#define __XEN_KCONFIG_H +#ifndef XEN__KCONFIG_H +#define XEN__KCONFIG_H #include <generated/autoconf.h>
@@ -46,4 +46,4 @@#define STATIC_IF_NOT (option) static_if_not(option)#endif -#endif /* __XEN_KCONFIG_H */ +#endif /* XEN__KCONFIG_H */
xen/include/xen/kernel.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _LINUX_KERNEL_H -#define _LINUX_KERNEL_H +#ifndef XEN__KERNEL_H +#define XEN__KERNEL_H /* * 'kernel.h' contains some often-used function prototypes etc
@@ -100,5 +100,5 @@ struct vcpu; void cf_check show_execution_state(const struct cpu_user_regs *regs);void vcpu_show_execution_state (struct vcpu *v); -#endif /* _LINUX_KERNEL_H */ +#endif /* XEN__KERNEL_H */
xen/include/xen/keyhandler.h +3 -3
@@ -7,8 +7,8 @@* nicer fashion than just editing the serial/keyboard drivers. */ -#ifndef __XEN_KEYHANDLER_H__ -#define __XEN_KEYHANDLER_H__ +#ifndef XEN__KEYHANDLER_H +#define XEN__KEYHANDLER_H #include <xen/types.h>
@@ -57,4 +57,4 @@ enum crash_reason {void keyhandler_crash_action (enum crash_reason reason); -#endif /* __XEN_KEYHANDLER_H__ */ +#endif /* XEN__KEYHANDLER_H */
xen/include/xen/lib.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __LIB_H__ -#define __LIB_H__ +#ifndef XEN__LIB_H +#define XEN__LIB_H #include <xen/macros.h>
@@ -202,4 +202,4 @@ void *bsearch(const void *key, const void *base, size_t num, size_t size,#endif /* __ASSEMBLY__ */ -#endif /* __LIB_H__ */ +#endif /* XEN__LIB_H */
xen/include/xen/libelf.h +3 -3
@@ -20,8 +20,8 @@* DEALINGS IN THE SOFTWARE. */ -#ifndef __XEN_LIBELF_H__ -#define __XEN_LIBELF_H__ +#ifndef XEN__LIBELF_H +#define XEN__LIBELF_H #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) || defined(__aarch64__)#define XEN_ELF_LITTLE_ENDIAN
@@ -504,4 +504,4 @@ static inline void ELF_ADVANCE_DEST(struct elf_binary *elf, uint64_t amount)* is in use or until elf_set_xdest(,0,0) is called. */ void elf_set_xdest (struct elf_binary *elf,void *addr,uint64_t size); -#endif /* __XEN_LIBELF_H__ */ +#endif /* XEN__LIBELF_H */
xen/include/xen/linkage.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __LINKAGE_H__ -#define __LINKAGE_H__ +#ifndef XEN__LINKAGE_H +#define XEN__LINKAGE_H #ifdef __ASSEMBLY__
@@ -64,4 +64,4 @@#endif /* __ASSEMBLY__ */ -#endif /* __LINKAGE_H__ */ +#endif /* XEN__LINKAGE_H */
xen/include/xen/linux-compat.h +3 -3
@@ -6,8 +6,8 @@* files. */ -#ifndef __XEN_LINUX_COMPAT_H__ -#define __XEN_LINUX_COMPAT_H__ +#ifndef XEN__LINUX_COMPAT_H +#define XEN__LINUX_COMPAT_H #include <xen/types.h>
@@ -21,4 +21,4 @@ typedef paddr_t phys_addr_t;#define __ffs (x) (ffsl(x) - 1UL) -#endif /* __XEN_LINUX_COMPAT_H__ */ +#endif /* XEN__LINUX_COMPAT_H */
xen/include/xen/list.h +3 -3
@@ -4,8 +4,8 @@* Useful linked-list definitions taken from the Linux kernel (2.6.18). */ -#ifndef __XEN_LIST_H__ -#define __XEN_LIST_H__ +#ifndef XEN__LIST_H +#define XEN__LIST_H #include <xen/bug.h> #include <asm/system.h>
@@ -979,4 +979,4 @@ static inline void hlist_add_after_rcu(struct hlist_node *prev, ({ tpos =hlist_entry (pos,typeof (*(tpos)), member);1 ;}); \ (pos) = (pos)->next) -#endif /* __XEN_LIST_H__ */ +#endif /* XEN__LIST_H */
xen/include/xen/list_sort.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _LINUX_LIST_SORT_H -#define _LINUX_LIST_SORT_H +#ifndef XEN__LIST_SORT_H +#define XEN__LIST_SORT_H #include <xen/types.h>
xen/include/xen/lz4.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __LZ4_H__ -#define __LZ4_H__ +#ifndef XEN__LZ4_H +#define XEN__LZ4_H /* * LZ4 Kernel Interface
xen/include/xen/lzo.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __LZO_H__ -#define __LZO_H__ +#ifndef XEN__LZO_H +#define XEN__LZO_H /* * LZO Public Kernel Interface * A mini subset of the LZO real-time data compression library
xen/include/xen/macros.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __MACROS_H__ -#define __MACROS_H__ +#ifndef XEN__MACROS_H +#define XEN__MACROS_H #define ROUNDUP (x, a) (((x) + (a) - 1) & ~((a) - 1))
@@ -147,7 +147,7 @@#endif /* __ASSEMBLY__ */ -#endif /* __MACROS_H__ */ +#endif /* XEN__MACROS_H */ /* * Local variables:
xen/include/xen/mm-frame.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_FRAME_NUM_H__ -#define __XEN_FRAME_NUM_H__ +#ifndef XEN__MM_FRAME_H +#define XEN__MM_FRAME_H #include <xen/kernel.h> #include <xen/typesafe.h>
@@ -85,4 +85,4 @@ TYPE_SAFE(unsigned long, pfn);#define pfn_x#endif -#endif /* __XEN_FRAME_NUM_H__ */ +#endif /* XEN__MM_FRAME_H */
xen/include/xen/mm.h +3 -3
@@ -58,8 +58,8 @@* documented, meanings. */ -#ifndef __XEN_MM_H__ -#define __XEN_MM_H__ +#ifndef XEN__MM_H +#define XEN__MM_H #include <xen/bug.h> #include <xen/compiler.h>
@@ -648,4 +648,4 @@ static inline void put_page_alloc_ref(struct page_info *page) } } -#endif /* __XEN_MM_H__ */ +#endif /* XEN__MM_H */
xen/include/xen/msi.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __XEN_MSI_H_ -#define __XEN_MSI_H_ +#ifndef XEN__MSI_H +#define XEN__MSI_H #include <xen/pci.h>
xen/include/xen/multiboot.h +3 -3
@@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __MULTIBOOT_H__ -#define __MULTIBOOT_H__ +#ifndef XEN__MULTIBOOT_H +#define XEN__MULTIBOOT_H #include "const.h"
@@ -130,4 +130,4 @@ typedef struct memory_map memory_map_t;#endif /* __ASSEMBLY__ */ -#endif /* __MULTIBOOT_H__ */ +#endif /* XEN__MULTIBOOT_H */
xen/include/xen/multiboot2.h +3 -3
@@ -23,8 +23,8 @@* IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#ifndef __MULTIBOOT2_H__ -#define __MULTIBOOT2_H__ +#ifndef XEN__MULTIBOOT2_H +#define XEN__MULTIBOOT2_H /* The magic field should contain this. */ #define MULTIBOOT2_HEADER_MAGIC 0xe85250d6
@@ -232,4 +232,4 @@ typedef struct { } multiboot2_tag_module_t;#endif /* __ASSEMBLY__ */ -#endif /* __MULTIBOOT2_H__ */ +#endif /* XEN__MULTIBOOT2_H */
xen/include/xen/multicall.h +3 -3
@@ -2,8 +2,8 @@* multicall.h */ -#ifndef __XEN_MULTICALL_H__ -#define __XEN_MULTICALL_H__ +#ifndef XEN__MULTICALL_H +#define XEN__MULTICALL_H #ifdef CONFIG_COMPAT #include <compat/xen.h>
@@ -27,4 +27,4 @@ enum mc_disposition { mc_preempt, } arch_do_multicall_call(struct mc_state *mcs); -#endif /* __XEN_MULTICALL_H__ */ +#endif /* XEN__MULTICALL_H */
xen/include/xen/nodemask.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __LINUX_NODEMASK_H -#define __LINUX_NODEMASK_H +#ifndef XEN__NODEMASK_H +#define XEN__NODEMASK_H /* * Nodemasks provide a bitmap suitable for representing the
@@ -290,4 +290,4 @@ extern nodemask_t node_online_map;#define for_each_online_node (node) for_each_node_mask((node), node_online_map) -#endif /* __LINUX_NODEMASK_H */ +#endif /* XEN__NODEMASK_H */
xen/include/xen/nospec.h +3 -3
@@ -4,8 +4,8 @@/* Copyright(c) 2018 Intel Corporation. All rights reserved. */ /* Copyright(c) 2018 Citrix Systems R&D Ltd. All rights reserved. */ -#ifndef XEN_NOSPEC_H -#define XEN_NOSPEC_H +#ifndef XEN__NOSPEC_H +#define XEN__NOSPEC_H #include <xen/stdbool.h>
@@ -87,7 +87,7 @@ static always_inline bool lock_evaluate_nospec(bool condition) #endif } -#endif /* XEN_NOSPEC_H */ +#endif /* XEN__NOSPEC_H */ /* * Local variables:
xen/include/xen/notifier.h +3 -3
@@ -7,8 +7,8 @@* Original code from Linux kernel 2.6.27 (Alan Cox <[email protected]>) */ -#ifndef __XEN_NOTIFIER_H__ -#define __XEN_NOTIFIER_H__ +#ifndef XEN__NOTIFIER_H +#define XEN__NOTIFIER_H #include <xen/types.h> #include <xen/errno.h>
@@ -68,4 +68,4 @@ static inline int notifier_to_errno(int ret) return (ret == NOTIFY_DONE) ? 0 : -(ret & ~NOTIFY_STOP_MASK); } -#endif /* __XEN_NOTIFIER_H__ */ +#endif /* XEN__NOTIFIER_H */
xen/include/xen/numa.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _XEN_NUMA_H -#define _XEN_NUMA_H +#ifndef XEN__NUMA_H +#define XEN__NUMA_H #include <xen/mm-frame.h>
@@ -135,4 +135,4 @@ static inline nodeid_t mfn_to_nid(mfn_t mfn)#define page_to_nid (pg) mfn_to_nid(page_to_mfn(pg)) -#endif /* _XEN_NUMA_H */ +#endif /* XEN__NUMA_H */
xen/include/xen/p2m-common.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _XEN_P2M_COMMON_H -#define _XEN_P2M_COMMON_H +#ifndef XEN__P2M_COMMON_H +#define XEN__P2M_COMMON_H #include <xen/mm-frame.h>
@@ -41,4 +41,4 @@ int __must_check check_get_page_from_gfn(struct domain *d, gfn_t gfn, struct page_info **page_p); -#endif /* _XEN_P2M_COMMON_H */ +#endif /* XEN__P2M_COMMON_H */
xen/include/xen/page-defs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PAGE_DEFS_H__ -#define __XEN_PAGE_DEFS_H__ +#ifndef XEN__PAGE_DEFS_H +#define XEN__PAGE_DEFS_H /* Helpers for different page granularities. */ #define PAGE_SIZE_GRAN (gran) ((paddr_t)1 << PAGE_SHIFT_##gran)
@@ -32,4 +32,4 @@#define PAGE_MASK_1G PAGE_MASK_GRAN(1G)#define PAGE_ALIGN_1G (addr) PAGE_ALIGN_GRAN(1G, addr) -#endif /* __XEN_PAGE_DEFS_H__ */ +#endif /* XEN__PAGE_DEFS_H */
xen/include/xen/page-size.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __XEN_PAGE_SIZE_H__ -#define __XEN_PAGE_SIZE_H__ +#ifndef XEN__PAGE_SIZE_H +#define XEN__PAGE_SIZE_H #include <xen/const.h> #include <asm/page-bits.h>
xen/include/xen/paging.h +3 -3
@@ -1,7 +1,7 @@ -#ifndef __XEN_PAGING_H__ -#define __XEN_PAGING_H__ +#ifndef XEN__PAGING_H +#define XEN__PAGING_H #include <asm/paging.h> #include <asm/p2m.h> -#endif /* __XEN_PAGING_H__ */ +#endif /* XEN__PAGING_H */
xen/include/xen/param.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _XEN_PARAM_H -#define _XEN_PARAM_H +#ifndef XEN__PARAM_H +#define XEN__PARAM_H #include <xen/bug.h> #include <xen/hypfs.h>
@@ -196,4 +196,4 @@ static inline void no_config_param(const char *cfg, const char *param, cfg, param, len, s); } -#endif /* _XEN_PARAM_H */ +#endif /* XEN__PARAM_H */
xen/include/xen/pci.h +3 -3
@@ -4,8 +4,8 @@* PCI access functions. */ -#ifndef __XEN_PCI_H__ -#define __XEN_PCI_H__ +#ifndef XEN__PCI_H +#define XEN__PCI_H #include <xen/types.h> #include <xen/list.h>
@@ -261,4 +261,4 @@ static inline int arch_pci_clean_pirqs(struct domain *d) }#endif /* CONFIG_HVM */ -#endif /* __XEN_PCI_H__ */ +#endif /* XEN__PCI_H */
xen/include/xen/pci_regs.h +3 -3
@@ -19,8 +19,8 @@* The Hypertransport I/O Link Specification */ -#ifndef LINUX_PCI_REGS_H -#define LINUX_PCI_REGS_H +#ifndef XEN__PCI_REGS_H +#define XEN__PCI_REGS_H /* * Conventional PCI and PCI-X Mode 1 devices have 256 bytes of
@@ -616,4 +616,4 @@#define PCI_SRIOV_VFM_MO 0x2/* Active.MigrateOut */ #define PCI_SRIOV_VFM_AV 0x3/* Active.Available */ -#endif /* LINUX_PCI_REGS_H */ +#endif /* XEN__PCI_REGS_H */
xen/include/xen/pdx.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PDX_H__ -#define __XEN_PDX_H__ +#ifndef XEN__PDX_H +#define XEN__PDX_H /* * PDX (Page inDeX)
@@ -239,7 +239,7 @@ static inline void pfn_pdx_hole_setup(unsigned long mask) }#endif /* CONFIG_PDX_COMPRESSION */ -#endif /* __XEN_PDX_H__ */ +#endif /* XEN__PDX_H */ /* * Local variables:
xen/include/xen/percpu.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PERCPU_H__ -#define __XEN_PERCPU_H__ +#ifndef XEN__PERCPU_H +#define XEN__PERCPU_H #define DECLARE_PER_CPU (type, name) \ extern __typeof__(type) per_cpu__ ## name
@@ -33,4 +33,4 @@#define get_cpu_var (var) this_cpu(var)#define put_cpu_var (var) -#endif /* __XEN_PERCPU_H__ */ +#endif /* XEN__PERCPU_H */
xen/include/xen/perfc.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PERFC_H__ -#define __XEN_PERFC_H__ +#ifndef XEN__PERFC_H +#define XEN__PERFC_H #ifdef CONFIG_PERF_COUNTERS
@@ -116,4 +116,4 @@ extern void cf_check perfc_reset(unsigned char key);#endif /* CONFIG_PERF_COUNTERS */ -#endif /* __XEN_PERFC_H__ */ +#endif /* XEN__PERFC_H */
xen/include/xen/perfc_defn.h +3 -3
@@ -1,6 +1,6 @@/* This file is legitimately included multiple times. */ -/*#ifndef __XEN_PERFC_DEFN_H__*/ -/*#define __XEN_PERFC_DEFN_H__*/ +/*#ifndef XEN__PERFC_DEFN_H*/ +/*#define XEN__PERFC_DEFN_H*/ #include <asm/perfc_defn.h>
@@ -83,4 +83,4 @@ PERFCOUNTER(tickled_cpu_overridden, "csched2: tickled_cpu_overridden")PERFCOUNTER (need_flush_tlb_flush,"PG_need_flush tlb flushes" ) -/*#endif*/ /* __XEN_PERFC_DEFN_H__ */ +/*#endif*/ /* XEN__PERFC_DEFN_H */
xen/include/xen/pfn.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PFN_H__ -#define __XEN_PFN_H__ +#ifndef XEN__PFN_H +#define XEN__PFN_H #include <xen/page-size.h>
@@ -9,4 +9,4 @@#define round_pgup (p) (((p) + (PAGE_SIZE - 1)) & PAGE_MASK)#define round_pgdown (p) ((p) & PAGE_MASK) -#endif /* __XEN_PFN_H__ */ +#endif /* XEN__PFN_H */
xen/include/xen/pmap.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PMAP_H__ -#define __XEN_PMAP_H__ +#ifndef XEN__PMAP_H +#define XEN__PMAP_H /* Large enough for mapping 5 levels of page tables with some headroom */ #define NUM_FIX_PMAP 8
@@ -13,4 +13,4 @@ void pmap_unmap(const void *p);#endif /* __ASSEMBLY__ */ -#endif /* __XEN_PMAP_H__ */ +#endif /* XEN__PMAP_H */
xen/include/xen/pmstat.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PMSTAT_H_ -#define __XEN_PMSTAT_H_ +#ifndef XEN__PMSTAT_H +#define XEN__PMSTAT_H #include <xen/types.h> #include <public/platform.h> /* for struct xen_processor_power */
@@ -14,4 +14,4 @@ int pmstat_reset_cx_stat(unsigned int cpu);int do_get_pm_info (struct xen_sysctl_get_pmstat *op);int do_pm_op (struct xen_sysctl_pm_op *op); -#endif /* __XEN_PMSTAT_H_ */ +#endif /* XEN__PMSTAT_H */
xen/include/xen/preempt.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2010, Keir Fraser <[email protected]> */ -#ifndef __XEN_PREEMPT_H__ -#define __XEN_PREEMPT_H__ +#ifndef XEN__PREEMPT_H +#define XEN__PREEMPT_H #include <xen/types.h> #include <xen/percpu.h>
@@ -34,4 +34,4 @@ void ASSERT_NOT_IN_ATOMIC(void);#define ASSERT_NOT_IN_ATOMIC () ((void)0)#endif -#endif /* __XEN_PREEMPT_H__ */ +#endif /* XEN__PREEMPT_H */
xen/include/xen/prefetch.h +2 -2
@@ -7,8 +7,8 @@* */ -#ifndef _LINUX_PREFETCH_H -#define _LINUX_PREFETCH_H +#ifndef XEN__PREFETCH_H +#define XEN__PREFETCH_H #include <asm/processor.h> #include <asm/cache.h>
xen/include/xen/pv_console.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_PV_CONSOLE_H__ -#define __XEN_PV_CONSOLE_H__ +#ifndef XEN__PV_CONSOLE_H +#define XEN__PV_CONSOLE_H #include <xen/serial.h>
@@ -21,7 +21,7 @@ static inline void pv_console_puts(const char *buf, size_t nr) { }static inline size_t pv_console_rx (void ) {return 0 ; }#endif /* !CONFIG_XEN_GUEST */ -#endif /* __XEN_PV_CONSOLE_H__ */ +#endif /* XEN__PV_CONSOLE_H */ /* * Local variables: * mode: C
xen/include/xen/radix-tree.h +3 -3
@@ -16,8 +16,8 @@* You should have received a copy of the GNU General Public License * along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _XEN_RADIX_TREE_H -#define _XEN_RADIX_TREE_H +#ifndef XEN__RADIX_TREE_H +#define XEN__RADIX_TREE_H #include <xen/types.h> #include <xen/lib.h>
@@ -224,4 +224,4 @@ unsigned long radix_tree_next_hole(struct radix_tree_root *root,unsigned long radix_tree_prev_hole (struct radix_tree_root *root,unsigned long index,unsigned long max_scan); -#endif /* _XEN_RADIX_TREE_H */ +#endif /* XEN__RADIX_TREE_H */
xen/include/xen/random.h +3 -3
@@ -1,9 +1,9 @@ -#ifndef __XEN_RANDOM_H__ -#define __XEN_RANDOM_H__ +#ifndef XEN__RANDOM_H +#define XEN__RANDOM_H unsigned int get_random (void );/* The value keeps unchange once initialized for each booting */ extern unsigned int boot_random; -#endif /* __XEN_RANDOM_H__ */ +#endif /* XEN__RANDOM_H */
xen/include/xen/rangeset.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, K A Fraser */ -#ifndef __XEN_RANGESET_H__ -#define __XEN_RANGESET_H__ +#ifndef XEN__RANGESET_H +#define XEN__RANGESET_H #include <xen/types.h>
@@ -100,7 +100,7 @@ void rangeset_swap(struct rangeset *a, struct rangeset *b);void rangeset_domain_printk (struct domain *d); -#endif /* __XEN_RANGESET_H__ */ +#endif /* XEN__RANGESET_H */ /* * Local variables:
xen/include/xen/rbtree.h +3 -3
@@ -90,8 +90,8 @@ static inline struct page * rb_insert_page_cache(struct inode * inode,----------------------------------------------------------------------- */ -#ifndef __RBTREE_H__ -#define __RBTREE_H__ +#ifndef XEN__RBTREE_H +#define XEN__RBTREE_H struct rb_node { unsigned long __rb_parent_color;
@@ -139,4 +139,4 @@ static inline void rb_link_node(struct rb_node * node, struct rb_node * parent, *rb_link = node; } -#endif /* __RBTREE_H__ */ +#endif /* XEN__RBTREE_H */
xen/include/xen/rcupdate.h +3 -3
@@ -28,8 +28,8 @@* http://lse.sourceforge.net/locking/rcupdate.html */ -#ifndef __XEN_RCUPDATE_H -#define __XEN_RCUPDATE_H +#ifndef XEN__RCUPDATE_H +#define XEN__RCUPDATE_H #include <xen/compiler.h> #include <xen/spinlock.h>
@@ -179,4 +179,4 @@ void rcu_barrier(void);void rcu_idle_enter (unsigned int cpu);void rcu_idle_exit (unsigned int cpu); -#endif /* __XEN_RCUPDATE_H */ +#endif /* XEN__RCUPDATE_H */
xen/include/xen/rwlock.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __RWLOCK_H__ -#define __RWLOCK_H__ +#ifndef XEN__RWLOCK_H +#define XEN__RWLOCK_H #include <xen/percpu.h> #include <xen/preempt.h>
@@ -455,4 +455,4 @@ static inline void _percpu_write_unlock(percpu_rwlock_t **per_cpudata,#define DECLARE_PERCPU_RWLOCK_GLOBAL (name) DECLARE_PER_CPU(percpu_rwlock_t *, \ name) -#endif /* __RWLOCK_H__ */ +#endif /* XEN__RWLOCK_H */
xen/include/xen/sched.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __SCHED_H__ -#define __SCHED_H__ +#ifndef XEN__SCHED_H +#define XEN__SCHED_H #include <xen/types.h> #include <xen/spinlock.h>
@@ -1276,7 +1276,7 @@ btcpupools_get_domain_pool_id(const struct dt_device_node *node)#endif -#endif /* __SCHED_H__ */ +#endif /* XEN__SCHED_H */ /* * Local variables:
xen/include/xen/sections.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __XEN_SECTIONS_H__ -#define __XEN_SECTIONS_H__ +#ifndef XEN__SECTIONS_H +#define XEN__SECTIONS_H #include <xen/compiler.h>
@@ -27,7 +27,7 @@ extern char __init_begin[], __init_end[];*/ #define __ro_after_init __section(".data.ro_after_init") -#endif /* !__XEN_SECTIONS_H__ */ +#endif /* !XEN__SECTIONS_H */ /* * Local variables: * mode: C
xen/include/xen/self-tests.h +3 -3
@@ -4,8 +4,8 @@* Helpers for Xen self-tests of basic logic, including confirming that * examples which should be calculated by the compiler are. */ -#ifndef XEN_SELF_TESTS_H -#define XEN_SELF_TESTS_H +#ifndef XEN__SELF_TESTS_H +#define XEN__SELF_TESTS_H #include <xen/lib.h>
@@ -59,4 +59,4 @@RUNTIME_CHECK (fn, val, res); \ } while ( 0 ) -#endif /* XEN_SELF_TESTS_H */ +#endif /* XEN__SELF_TESTS_H */
xen/include/xen/serial.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2003-2008, K A Fraser */ -#ifndef __XEN_SERIAL_H__ -#define __XEN_SERIAL_H__ +#ifndef XEN__SERIAL_H +#define XEN__SERIAL_H #include <xen/init.h> #include <xen/spinlock.h>
@@ -174,7 +174,7 @@ int dbgp_op(const struct physdev_dbgp_op *op);/* Baud rate was pre-configured before invoking the UART driver. */ #define BAUD_AUTO (-1) -#endif /* __XEN_SERIAL_H__ */ +#endif /* XEN__SERIAL_H */ /* * Local variables:
xen/include/xen/shared.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_SHARED_H__ -#define __XEN_SHARED_H__ +#ifndef XEN__SHARED_H +#define XEN__SHARED_H #ifdef CONFIG_COMPAT
@@ -47,4 +47,4 @@ extern vcpu_info_t dummy_vcpu_info;#define vcpu_info (v, field) \ __vcpu_info(v, (vcpu_info_t *)(v)->vcpu_info_area.map, field) -#endif /* __XEN_SHARED_H__ */ +#endif /* XEN__SHARED_H */
xen/include/xen/shutdown.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_SHUTDOWN_H__ -#define __XEN_SHUTDOWN_H__ +#ifndef XEN__SHUTDOWN_H +#define XEN__SHUTDOWN_H #include <xen/compiler.h> #include <xen/types.h>
@@ -12,4 +12,4 @@ void noreturn hwdom_shutdown(unsigned char reason);void noreturnmachine_restart (unsigned int delay_millisecs);void noreturnmachine_halt (void ); -#endif /* __XEN_SHUTDOWN_H__ */ +#endif /* XEN__SHUTDOWN_H */
xen/include/xen/sizes.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_SIZES_H__ -#define __XEN_SIZES_H__ +#ifndef XEN__SIZES_H +#define XEN__SIZES_H /* * Taken from kernel code include/linux/size.h
@@ -45,4 +45,4 @@#define SZ_1G 0x40000000#define SZ_2G 0x80000000 -#endif /* __XEN_SIZES_H__ */ +#endif /* XEN__SIZES_H */
xen/include/xen/smp.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_SMP_H__ -#define __XEN_SMP_H__ +#ifndef XEN__SMP_H +#define XEN__SMP_H #include <asm/smp.h>
@@ -76,4 +76,4 @@ extern void *stack_base[NR_CPUS];void initialize_cpu_data (unsigned int cpu);int setup_cpu_root_pgt (unsigned int cpu); -#endif /* __XEN_SMP_H__ */ +#endif /* XEN__SMP_H */
xen/include/xen/softirq.h +3 -3
@@ -1,5 +1,5 @@ -#if !defined(__XEN_SOFTIRQ_H__) && !defined(__ASSEMBLY__) -#define __XEN_SOFTIRQ_H__ +#if !defined(XEN__SOFTIRQ_H ) && !defined(__ASSEMBLY__) +#define XEN__SOFTIRQ_H /* Low-latency softirqs come first in the following list. */ enum {
@@ -40,4 +40,4 @@ void cpu_raise_softirq_batch_finish(void);*/ void process_pending_softirqs (void ); -#endif /* __XEN_SOFTIRQ_H__ */ +#endif /* XEN__SOFTIRQ_H */
xen/include/xen/sort.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_SORT_H__ -#define __XEN_SORT_H__ +#ifndef XEN__SORT_H +#define XEN__SORT_H #include <xen/types.h>
@@ -60,4 +60,4 @@ void sort(void *base, size_t num, size_t size, } } -#endif /* __XEN_SORT_H__ */ +#endif /* XEN__SORT_H */
xen/include/xen/spinlock.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __SPINLOCK_H__ -#define __SPINLOCK_H__ +#ifndef XEN__SPINLOCK_H +#define XEN__SPINLOCK_H #include <xen/nospec.h> #include <xen/time.h>
@@ -358,4 +358,4 @@ static always_inline void nrspin_lock_irq(rspinlock_t *l)#define nrspin_unlock_irqrestore (l, f) _nrspin_unlock_irqrestore(l, f)#define nrspin_unlock_irq (l) _nrspin_unlock_irq(l) -#endif /* __SPINLOCK_H__ */ +#endif /* XEN__SPINLOCK_H */
xen/include/xen/stdarg.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_STDARG_H__ -#define __XEN_STDARG_H__ +#ifndef XEN__STDARG_H +#define XEN__STDARG_H typedef __builtin_va_list va_list ;#define va_copy (dest, src) __builtin_va_copy((dest), (src))
@@ -7,4 +7,4 @@ typedef __builtin_va_list va_list;#define va_end (ap) __builtin_va_end(ap)#define va_arg __builtin_va_arg -#endif /* __XEN_STDARG_H__ */ +#endif /* XEN__STDARG_H */
xen/include/xen/stdbool.h +3 -3
@@ -1,9 +1,9 @@ -#ifndef __XEN_STDBOOL_H__ -#define __XEN_STDBOOL_H__ +#ifndef XEN__STDBOOL_H +#define XEN__STDBOOL_H #define bool _Bool#define true 1#define false 0#define __bool_true_false_are_defined 1 -#endif /* __XEN_STDBOOL_H__ */ +#endif /* XEN__STDBOOL_H */
xen/include/xen/stdint.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __XEN_STDINT_H__ -#define __XEN_STDINT_H__ +#ifndef XEN__STDINT_H +#define XEN__STDINT_H #ifndef __INT8_TYPE__/* GCC <= 4.4 */
@@ -30,4 +30,4 @@ typedef __UINT64_TYPE__ uint64_t;#endif -#endif /* __XEN_STDINT_H__ */ +#endif /* XEN__STDINT_H */
xen/include/xen/stop_machine.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_STOP_MACHINE_H__ -#define __XEN_STOP_MACHINE_H__ +#ifndef XEN__STOP_MACHINE_H +#define XEN__STOP_MACHINE_H /** * stop_machine_run: freeze the machine on all CPUs and run this function
@@ -16,4 +16,4 @@* grabbing every spinlock in the kernel. */ int stop_machine_run (int (*fn)(void *data),void *data,unsigned int cpu); -#endif /* __XEN_STOP_MACHINE_H__ */ +#endif /* XEN__STOP_MACHINE_H */
xen/include/xen/string.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_STRING_H__ -#define __XEN_STRING_H__ +#ifndef XEN__STRING_H +#define XEN__STRING_H #include <xen/types.h> /* for size_t */
@@ -100,7 +100,7 @@ void *memchr_inv(const void *s, int c, size_t n); (strlcat (d, s,sizeof (d)) >=sizeof (d)); \ }) -#endif /* __XEN_STRING_H__ */ +#endif /* XEN__STRING_H */ /* * Local variables: * mode: C
xen/include/xen/stringify.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_STRINGIFY_H -#define __XEN_STRINGIFY_H +#ifndef XEN__STRINGIFY_H +#define XEN__STRINGIFY_H /* Indirect stringification. Doing two levels allows the parameter to be a * macro itself. For example, compile with -DFOO=bar, __stringify(FOO)
@@ -9,4 +9,4 @@ #define __stringify_1(x...) #x #define __stringify(x...) __stringify_1(x) -#endif /* !__XEN_STRINGIFY_H */ +#endif /* !XEN__STRINGIFY_H */
xen/include/xen/symbols.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _XEN_SYMBOLS_H -#define _XEN_SYMBOLS_H +#ifndef XEN__SYMBOLS_H +#define XEN__SYMBOLS_H #include <xen/types.h>
@@ -33,4 +33,4 @@ struct symbol_offset {uint32_t stream;/* .. in the compressed stream.*/ uint32_t addr; /* .. and in the fixed size address array. */ }; -#endif /*_XEN_SYMBOLS_H*/ +#endif /*XEN__SYMBOLS_H*/
xen/include/xen/tasklet.h +3 -3
@@ -7,8 +7,8 @@* during per-tasklet initialisation. */ -#ifndef __XEN_TASKLET_H__ -#define __XEN_TASKLET_H__ +#ifndef XEN__TASKLET_H +#define XEN__TASKLET_H #include <xen/types.h> #include <xen/list.h>
@@ -64,4 +64,4 @@ void softirq_tasklet_init(struct tasklet *t, void (*func)(void *data), void *data);void tasklet_subsys_init (void ); -#endif /* __XEN_TASKLET_H__ */ +#endif /* XEN__TASKLET_H */
xen/include/xen/time.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2002-2005 K A Fraser */ -#ifndef __XEN_TIME_H__ -#define __XEN_TIME_H__ +#ifndef XEN__TIME_H +#define XEN__TIME_H #include <xen/types.h> #include <public/xen.h>
@@ -77,7 +77,7 @@ void domain_set_time_offset(struct domain *d, int64_t time_offset_seconds);#include <asm/time.h> -#endif /* __XEN_TIME_H__ */ +#endif /* XEN__TIME_H */ /* * Local variables:
xen/include/xen/timer.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2002-2005 K A Fraser */ -#ifndef _TIMER_H_ -#define _TIMER_H_ +#ifndef XEN__TIMER_H +#define XEN__TIMER_H #include <xen/spinlock.h> #include <xen/time.h>
@@ -110,7 +110,7 @@ int reprogram_timer(s_time_t timeout);/* Calculate the aligned first tick time for a given periodic timer. */ s_time_t align_timer (s_time_t firsttick,uint64_t period); -#endif /* _TIMER_H_ */ +#endif /* XEN__TIMER_H */ /* * Local variables:
xen/include/xen/trace.h +3 -3
@@ -18,8 +18,8 @@* trace buffer contents can then be performed using a userland tool. */ -#ifndef __XEN_TRACE_H__ -#define __XEN_TRACE_H__ +#ifndef XEN__TRACE_H +#define XEN__TRACE_H #include <xen/types.h> #include <public/sysctl.h>
@@ -91,4 +91,4 @@ static inline void trace_time(/* Create a trace record with time included. */ #define TRACE_TIME (_e, ...) TRACE((_e) | TRC_HD_CYCLE_FLAG, ## __VA_ARGS__) -#endif /* __XEN_TRACE_H__ */ +#endif /* XEN__TRACE_H */
xen/include/xen/types.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __TYPES_H__ -#define __TYPES_H__ +#ifndef XEN__TYPES_H +#define XEN__TYPES_H #include <xen/stdbool.h> #include <xen/stdint.h>
@@ -64,4 +64,4 @@ typedef unsigned int __attribute__((__mode__(__pointer__))) uintptr_t;#define test_and_set_bool (b) xchg(&(b), true)#define test_and_clear_bool (b) xchg(&(b), false) -#endif /* __TYPES_H__ */ +#endif /* XEN__TYPES_H */
xen/include/xen/typesafe.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_TYPESAFE_H__ -#define __XEN_TYPESAFE_H__ +#ifndef XEN__TYPESAFE_H +#define XEN__TYPESAFE_H /* * Compiler games to gain type safety between different logical integers.
@@ -33,7 +33,7 @@#endif -#endif /* __XEN_TYPESAFE_H__ */ +#endif /* XEN__TYPESAFE_H */ /* * Local variables:
xen/include/xen/unaligned.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __XEN_UNALIGNED_H__ -#define __XEN_UNALIGNED_H__ +#ifndef XEN__UNALIGNED_H +#define XEN__UNALIGNED_H #ifdef __XEN__#include <xen/types.h>
@@ -85,4 +85,4 @@ static inline void put_unaligned_le64(uint64_t val, void *p) put_unaligned_t(__le64, cpu_to_le64(val), p); } -#endif /* __XEN_UNALIGNED_H__ */ +#endif /* XEN__UNALIGNED_H */
xen/include/xen/version.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_VERSION_H__ -#define __XEN_VERSION_H__ +#ifndef XEN__VERSION_H +#define XEN__VERSION_H #include <xen/types.h> #include <xen/elfstructs.h>
@@ -27,4 +27,4 @@ int xen_build_id_check(const Elf_Note *n, unsigned int n_sz,static inline void xen_build_init (void ) {};#endif -#endif /* __XEN_VERSION_H__ */ +#endif /* XEN__VERSION_H */
xen/include/xen/vga.h +3 -3
@@ -6,8 +6,8 @@* for more details. */ -#ifndef _XEN_VGA_H -#define _XEN_VGA_H +#ifndef XEN__VGA_H +#define XEN__VGA_H #include <xen/video.h>
@@ -21,4 +21,4 @@ void vesa_endboot(bool keep);static inline void vesa_init (void ) {}#endif -#endif /* _XEN_VGA_H */ +#endif /* XEN__VGA_H */
xen/include/xen/video.h +3 -3
@@ -6,8 +6,8 @@* for more details. */ -#ifndef _XEN_VIDEO_H -#define _XEN_VIDEO_H +#ifndef XEN__VIDEO_H +#define XEN__VIDEO_H #include <public/xen.h>
@@ -21,4 +21,4 @@ static inline void video_puts(const char *str, size_t nr) {}#define video_endboot () ((void)0)#endif -#endif /* _XEN_VIDEO_H */ +#endif /* XEN__VIDEO_H */
xen/include/xen/virtual_region.h +3 -3
@@ -3,8 +3,8 @@* */ -#ifndef __XEN_VIRTUAL_REGION_H__ -#define __XEN_VIRTUAL_REGION_H__ +#ifndef XEN__VIRTUAL_REGION_H +#define XEN__VIRTUAL_REGION_H #include <xen/list.h> #include <xen/symbols.h>
@@ -46,7 +46,7 @@ void unregister_virtual_region(struct virtual_region *r);void relax_virtual_region_perms (void );void tighten_virtual_region_perms (void ); -#endif /* __XEN_VIRTUAL_REGION_H__ */ +#endif /* XEN__VIRTUAL_REGION_H */ /* * Local variables:
xen/include/xen/vmap.h +3 -3
@@ -5,8 +5,8 @@* purpose area (VMAP_DEFAULT) and a livepatch-specific area (VMAP_XEN). The * latter is used when loading livepatches and the former for everything else. */ -#if !defined(__XEN_VMAP_H__) && defined(VMAP_VIRT_START ) -#define __XEN_VMAP_H__ +#if !defined(XEN__VMAP_H ) && defined(VMAP_VIRT_START ) +#define XEN__VMAP_H #include <xen/mm-frame.h> #include <xen/page-size.h>
@@ -146,4 +146,4 @@ static inline void vm_init(void) #endif } -#endif /* __XEN_VMAP_H__ */ +#endif /* XEN__VMAP_H */
xen/include/xen/wait.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2010, Keir Fraser <[email protected]> */ -#ifndef __XEN_WAIT_H__ -#define __XEN_WAIT_H__ +#ifndef XEN__WAIT_H +#define XEN__WAIT_H #include <xen/types.h> #include <xen/list.h>
@@ -56,4 +56,4 @@ void wait(void);void finish_wait (struct waitqueue_head *wq);void check_wakeup_from_wait (void ); -#endif /* __XEN_WAIT_H__ */ +#endif /* XEN__WAIT_H */
xen/include/xen/warning.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _WARNING_H_ -#define _WARNING_H_ +#ifndef XEN__WARNING_H +#define XEN__WARNING_H void warning_add (const char *warning);void warning_print (void );
xen/include/xen/watchdog.h +3 -3
@@ -4,8 +4,8 @@* Common watchdog code */ -#ifndef __XEN_WATCHDOG_H__ -#define __XEN_WATCHDOG_H__ +#ifndef XEN__WATCHDOG_H +#define XEN__WATCHDOG_H #include <xen/types.h>
@@ -32,4 +32,4 @@ bool watchdog_enabled(void);#endif -#endif /* __XEN_WATCHDOG_H__ */ +#endif /* XEN__WATCHDOG_H */
xen/include/xen/xen.lds.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_LDS_H__ -#define __XEN_LDS_H__ +#ifndef XEN__XEN_LDS_H +#define XEN__XEN_LDS_H /* * Common macros to be used in architecture specific linker scripts.
@@ -171,4 +171,4 @@#define VPCI_ARRAY #endif -#endif /* __XEN_LDS_H__ */ +#endif /* XEN__XEN_LDS_H */
xen/include/xen/xenoprof.h +2 -2
@@ -7,8 +7,8 @@* written by Aravind Menon & Jose Renato Santos */ -#ifndef __XEN_XENOPROF_H__ -#define __XEN_XENOPROF_H__ +#ifndef XEN__XENOPROF_H +#define XEN__XENOPROF_H #define PMU_OWNER_NONE 0#define PMU_OWNER_XENOPROF 1
xen/include/xen/xmalloc.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __XMALLOC_H__ -#define __XMALLOC_H__ +#ifndef XEN__XMALLOC_H +#define XEN__XMALLOC_H #include <xen/types.h> #include <xen/cache.h>
@@ -171,4 +171,4 @@ unsigned long xmem_pool_get_used_size(struct xmem_pool *pool);*/ unsigned long xmem_pool_get_total_size (struct xmem_pool *pool); -#endif /* __XMALLOC_H__ */ +#endif /* XEN__XMALLOC_H */
xen/include/xen/xxhash.h +3 -3
@@ -72,8 +72,8 @@* xxh32 6.8 GB/s 6.0 GB/s */ -#ifndef __XENXXHASH_H__ -#define __XENXXHASH_H__ +#ifndef XEN__XXHASH_H +#define XEN__XXHASH_H #include <xen/types.h>
@@ -256,4 +256,4 @@ void xxh32_copy_state(struct xxh32_state *dst, const struct xxh32_state *src);*/ void xxh64_copy_state (struct xxh64_state *dst,const struct xxh64_state *src); -#endif /* __XENXXHASH_H__ */ +#endif /* XEN__XXHASH_H */
Signature · 1 line
2.34.1
PATCH 8/20 xen: Update header guards - HYPFS
In reply to Frediano ZiglioUpdated headers related to HYPFS.
--- xen/include/xen/hypfs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
xen/include/xen/hypfs.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_HYPFS_H__ -#define __XEN_HYPFS_H__ +#ifndef XEN__HYPFS_H +#define XEN__HYPFS_H #ifdef CONFIG_HYPFS #include <xen/lib.h>
@@ -206,4 +206,4 @@ unsigned int hypfs_dynid_entry_size(const struct hypfs_entry *template, unsigned int id);#endif -#endif /* __XEN_HYPFS_H__ */ +#endif /* XEN__HYPFS_H */
Signature · 1 line
2.34.1
PATCH 2/20 xen: Update header guards - X86
In reply to Frediano ZiglioUpdated headers related to x86 architecture.
--- xen/arch/x86/boot/video.h | 6 +++--- xen/arch/x86/cpu/mcheck/barrier.h | 6 +++--- xen/arch/x86/cpu/mcheck/mcaction.h | 4 ++-- xen/arch/x86/cpu/mcheck/mce.h | 6 +++--- xen/arch/x86/cpu/mcheck/mce_amd.h | 4 ++-- xen/arch/x86/cpu/mcheck/mctelem.h | 4 ++-- xen/arch/x86/cpu/mcheck/util.h | 4 ++-- xen/arch/x86/cpu/mcheck/vmce.h | 4 ++-- xen/arch/x86/cpu/mcheck/x86_mca.h | 6 +++--- xen/arch/x86/cpu/microcode/private.h | 6 +++--- xen/arch/x86/cpu/mtrr/mtrr.h | 6 +++--- xen/arch/x86/guest/hyperv/private.h | 6 +++--- xen/arch/x86/hvm/svm/nestedhvm.h | 6 +++--- xen/arch/x86/hvm/svm/svm.h | 6 +++--- xen/arch/x86/hvm/viridian/private.h | 6 +++--- xen/arch/x86/include/asm/acpi.h | 4 ++-- xen/arch/x86/include/asm/alternative-asm.h | 6 +++--- xen/arch/x86/include/asm/alternative.h | 6 +++--- xen/arch/x86/include/asm/altp2m.h | 6 +++--- xen/arch/x86/include/asm/amd.h | 6 +++--- xen/arch/x86/include/asm/apic.h | 6 +++--- xen/arch/x86/include/asm/apicdef.h | 4 ++-- xen/arch/x86/include/asm/asm_defns.h | 6 +++--- xen/arch/x86/include/asm/atomic.h | 6 +++--- xen/arch/x86/include/asm/bitops.h | 6 +++--- xen/arch/x86/include/asm/bug.h | 6 +++--- xen/arch/x86/include/asm/byteorder.h | 6 +++--- xen/arch/x86/include/asm/bzimage.h | 6 +++--- xen/arch/x86/include/asm/cache.h | 4 ++-- xen/arch/x86/include/asm/config.h | 6 +++--- xen/arch/x86/include/asm/cpu-policy.h | 6 +++--- xen/arch/x86/include/asm/cpufeature.h | 6 +++--- xen/arch/x86/include/asm/cpufeatureset.h | 6 +++--- xen/arch/x86/include/asm/cpuid.h | 6 +++--- xen/arch/x86/include/asm/cpuidle.h | 4 ++-- xen/arch/x86/include/asm/current.h | 6 +++--- xen/arch/x86/include/asm/debugreg.h | 6 +++--- xen/arch/x86/include/asm/desc.h | 6 +++--- xen/arch/x86/include/asm/device.h | 6 +++--- xen/arch/x86/include/asm/dom0_build.h | 6 +++--- xen/arch/x86/include/asm/domain.h | 6 +++--- xen/arch/x86/include/asm/e820.h | 6 +++--- xen/arch/x86/include/asm/edd.h | 6 +++--- xen/arch/x86/include/asm/elf.h | 6 +++--- xen/arch/x86/include/asm/endbr.h | 6 +++--- xen/arch/x86/include/asm/event.h | 4 ++-- xen/arch/x86/include/asm/fixmap.h | 4 ++-- xen/arch/x86/include/asm/flushtlb.h | 6 +++--- xen/arch/x86/include/asm/gdbsx.h | 6 +++--- xen/arch/x86/include/asm/genapic.h | 4 ++-- xen/arch/x86/include/asm/grant_table.h | 6 +++--- xen/arch/x86/include/asm/guest.h | 6 +++--- xen/arch/x86/include/asm/guest/hyperv-hcall.h | 6 +++--- xen/arch/x86/include/asm/guest/hyperv-tlfs.h | 4 ++-- xen/arch/x86/include/asm/guest/hyperv.h | 6 +++--- xen/arch/x86/include/asm/guest/hypervisor.h | 6 +++--- xen/arch/x86/include/asm/guest/pvh-boot.h | 6 +++--- xen/arch/x86/include/asm/guest/xen-hcall.h | 6 +++--- xen/arch/x86/include/asm/guest/xen.h | 6 +++--- xen/arch/x86/include/asm/guest_access.h | 6 +++--- xen/arch/x86/include/asm/guest_atomics.h | 6 +++--- xen/arch/x86/include/asm/guest_pt.h | 6 +++--- xen/arch/x86/include/asm/hap.h | 4 ++-- xen/arch/x86/include/asm/hardirq.h | 6 +++--- xen/arch/x86/include/asm/hpet.h | 6 +++--- xen/arch/x86/include/asm/hvm/asid.h | 6 +++--- xen/arch/x86/include/asm/hvm/cacheattr.h | 6 +++--- xen/arch/x86/include/asm/hvm/domain.h | 6 +++--- xen/arch/x86/include/asm/hvm/emulate.h | 6 +++--- xen/arch/x86/include/asm/hvm/grant_table.h | 6 +++--- xen/arch/x86/include/asm/hvm/guest_access.h | 6 +++--- xen/arch/x86/include/asm/hvm/hvm.h | 6 +++--- xen/arch/x86/include/asm/hvm/io.h | 6 +++--- xen/arch/x86/include/asm/hvm/ioreq.h | 6 +++--- xen/arch/x86/include/asm/hvm/irq.h | 6 +++--- xen/arch/x86/include/asm/hvm/nestedhvm.h | 6 +++--- xen/arch/x86/include/asm/hvm/save.h | 6 +++--- xen/arch/x86/include/asm/hvm/support.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/nestedsvm.h | 4 ++-- xen/arch/x86/include/asm/hvm/svm/svm.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/svmdebug.h | 6 +++--- xen/arch/x86/include/asm/hvm/svm/vmcb.h | 4 ++-- xen/arch/x86/include/asm/hvm/vcpu.h | 6 +++--- xen/arch/x86/include/asm/hvm/vioapic.h | 6 +++--- xen/arch/x86/include/asm/hvm/viridian.h | 6 +++--- xen/arch/x86/include/asm/hvm/vlapic.h | 6 +++--- xen/arch/x86/include/asm/hvm/vmx/vmcs.h | 4 ++-- xen/arch/x86/include/asm/hvm/vmx/vmx.h | 6 +++--- xen/arch/x86/include/asm/hvm/vmx/vvmx.h | 6 +++--- xen/arch/x86/include/asm/hvm/vpic.h | 6 +++--- xen/arch/x86/include/asm/hvm/vpt.h | 6 +++--- xen/arch/x86/include/asm/hypercall.h | 8 ++++---- xen/arch/x86/include/asm/i387.h | 6 +++--- xen/arch/x86/include/asm/intel-family.h | 6 +++--- xen/arch/x86/include/asm/invpcid.h | 6 +++--- xen/arch/x86/include/asm/io.h | 4 ++-- xen/arch/x86/include/asm/io_apic.h | 4 ++-- xen/arch/x86/include/asm/iocap.h | 6 +++--- xen/arch/x86/include/asm/iommu.h | 6 +++--- xen/arch/x86/include/asm/ioreq.h | 6 +++--- xen/arch/x86/include/asm/irq.h | 6 +++--- xen/arch/x86/include/asm/ldt.h | 4 ++-- xen/arch/x86/include/asm/mach-default/bios_ebda.h | 6 +++--- xen/arch/x86/include/asm/mach-default/io_ports.h | 6 +++--- xen/arch/x86/include/asm/mach-default/irq_vectors.h | 6 +++--- xen/arch/x86/include/asm/mach-default/mach_mpspec.h | 6 +++--- xen/arch/x86/include/asm/mach-generic/mach_apic.h | 6 +++--- xen/arch/x86/include/asm/machine_kexec.h | 6 +++--- xen/arch/x86/include/asm/mc146818rtc.h | 6 +++--- xen/arch/x86/include/asm/mce.h | 4 ++-- xen/arch/x86/include/asm/mem_paging.h | 6 +++--- xen/arch/x86/include/asm/mem_sharing.h | 6 +++--- xen/arch/x86/include/asm/microcode.h | 6 +++--- xen/arch/x86/include/asm/mm.h | 6 +++--- xen/arch/x86/include/asm/mpspec.h | 4 ++-- xen/arch/x86/include/asm/mpspec_def.h | 4 ++-- xen/arch/x86/include/asm/msi.h | 6 +++--- xen/arch/x86/include/asm/msr-index.h | 6 +++--- xen/arch/x86/include/asm/msr.h | 6 +++--- xen/arch/x86/include/asm/mtrr.h | 6 +++--- xen/arch/x86/include/asm/multicall.h | 6 +++--- xen/arch/x86/include/asm/mwait.h | 6 +++--- xen/arch/x86/include/asm/nmi.h | 6 +++--- xen/arch/x86/include/asm/nops.h | 6 +++--- xen/arch/x86/include/asm/nospec.h | 6 +++--- xen/arch/x86/include/asm/numa.h | 4 ++-- xen/arch/x86/include/asm/p2m.h | 8 ++++---- xen/arch/x86/include/asm/page-bits.h | 6 +++--- xen/arch/x86/include/asm/page.h | 6 +++--- xen/arch/x86/include/asm/paging.h | 4 ++-- xen/arch/x86/include/asm/pci.h | 6 +++--- xen/arch/x86/include/asm/perfc.h | 4 ++-- xen/arch/x86/include/asm/perfc_defn.h | 6 +++--- xen/arch/x86/include/asm/processor.h | 6 +++--- xen/arch/x86/include/asm/prot-key.h | 6 +++--- xen/arch/x86/include/asm/psr.h | 6 +++--- xen/arch/x86/include/asm/pt-contig-markers.h | 6 +++--- xen/arch/x86/include/asm/pv/domain.h | 6 +++--- xen/arch/x86/include/asm/pv/grant_table.h | 6 +++--- xen/arch/x86/include/asm/pv/mm.h | 6 +++--- xen/arch/x86/include/asm/pv/shim.h | 6 +++--- xen/arch/x86/include/asm/pv/trace.h | 6 +++--- xen/arch/x86/include/asm/pv/traps.h | 6 +++--- xen/arch/x86/include/asm/random.h | 6 +++--- xen/arch/x86/include/asm/regs.h | 6 +++--- xen/arch/x86/include/asm/setup.h | 4 ++-- xen/arch/x86/include/asm/shadow.h | 6 +++--- xen/arch/x86/include/asm/shared.h | 6 +++--- xen/arch/x86/include/asm/shstk.h | 6 +++--- xen/arch/x86/include/asm/smp.h | 4 ++-- xen/arch/x86/include/asm/softirq.h | 6 +++--- xen/arch/x86/include/asm/spec_ctrl.h | 6 +++--- xen/arch/x86/include/asm/spec_ctrl_asm.h | 6 +++--- xen/arch/x86/include/asm/spinlock.h | 6 +++--- xen/arch/x86/include/asm/string.h | 6 +++--- xen/arch/x86/include/asm/system.h | 4 ++-- xen/arch/x86/include/asm/time.h | 6 +++--- xen/arch/x86/include/asm/trampoline.h | 6 +++--- xen/arch/x86/include/asm/traps.h | 6 +++--- xen/arch/x86/include/asm/types.h | 6 +++--- xen/arch/x86/include/asm/uaccess.h | 6 +++--- xen/arch/x86/include/asm/vpmu.h | 6 +++--- xen/arch/x86/include/asm/x86-defns.h | 6 +++--- xen/arch/x86/include/asm/x86-vendors.h | 6 +++--- xen/arch/x86/include/asm/x86_64/elf.h | 6 +++--- xen/arch/x86/include/asm/x86_64/page.h | 6 +++--- xen/arch/x86/include/asm/x86_64/regs.h | 4 ++-- xen/arch/x86/include/asm/x86_64/system.h | 6 +++--- xen/arch/x86/include/asm/x86_64/uaccess.h | 6 +++--- xen/arch/x86/include/asm/x86_emulate.h | 6 +++--- xen/arch/x86/include/asm/xenoprof.h | 6 +++--- xen/arch/x86/include/asm/xstate.h | 6 +++--- xen/arch/x86/mm/hap/private.h | 6 +++--- xen/arch/x86/mm/mm-locks.h | 6 +++--- xen/arch/x86/mm/p2m.h | 6 +++--- xen/arch/x86/mm/shadow/private.h | 6 +++--- xen/arch/x86/mm/shadow/types.h | 6 +++--- xen/arch/x86/oprofile/op_counter.h | 6 +++--- xen/arch/x86/oprofile/op_x86_model.h | 6 +++--- xen/arch/x86/pv/emulate.h | 6 +++--- xen/arch/x86/pv/mm.h | 6 +++--- xen/arch/x86/x86_emulate/x86_emulate.h | 6 +++--- xen/include/public/arch-x86/cpufeatureset.h | 6 +++--- xen/include/public/arch-x86/cpuid.h | 6 +++--- xen/include/public/arch-x86/guest-acpi.h | 6 +++--- xen/include/public/arch-x86/hvm/save.h | 6 +++--- xen/include/public/arch-x86/hvm/start_info.h | 6 +++--- xen/include/public/arch-x86/pmu.h | 6 +++--- xen/include/public/arch-x86/xen-mca.h | 6 +++--- xen/include/public/arch-x86/xen-x86_32.h | 6 +++--- xen/include/public/arch-x86/xen-x86_64.h | 6 +++--- xen/include/public/arch-x86/xen.h | 6 +++--- xen/include/xen/lib/x86/cpu-policy.h | 6 +++--- xen/lib/x86/private.h | 6 +++--- 194 files changed, 554 insertions(+), 554 deletions(-)
xen/arch/x86/boot/video.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __BOOT_VIDEO_H__ -#define __BOOT_VIDEO_H__ +#ifndef X86__BOOT__VIDEO_H +#define X86__BOOT__VIDEO_H /* * Video modes numbered by menu position -- NOT RECOMMENDED because of lack
@@ -71,4 +71,4 @@ struct boot_video_info {extern struct boot_video_info boot_vid_info;#endif /* __ASSEMBLY__ */ -#endif /* __BOOT_VIDEO_H__ */ +#endif /* X86__BOOT__VIDEO_H */
xen/arch/x86/cpu/mcheck/barrier.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _MCHECK_BARRIER_H -#define _MCHECK_BARRIER_H +#ifndef X86__CPU__MCHECK__BARRIER_H +#define X86__CPU__MCHECK__BARRIER_H #include <asm/atomic.h>
@@ -58,4 +58,4 @@ void mce_barrier_exit(struct mce_softirq_barrier *bar, bool do_wait);void mce_barrier (struct mce_softirq_barrier *bar); -#endif /* _MCHECK_BARRIER_H */ +#endif /* X86__CPU__MCHECK__BARRIER_H */
xen/arch/x86/cpu/mcheck/mcaction.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _MCHECK_ACTION_H -#define _MCHECK_ACTION_H +#ifndef X86__CPU__MCHECK__MCACTION_H +#define X86__CPU__MCHECK__MCACTION_H #include <xen/types.h> #include "x86_mca.h"
xen/arch/x86/cpu/mcheck/mce.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef _MCE_H +#ifndef X86__CPU__MCHECK__MCE_H -#define _MCE_H +#define X86__CPU__MCHECK__MCE_H #include <xen/init.h> #include <xen/percpu.h>
@@ -244,4 +244,4 @@ struct mce {extern int apei_write_mce (struct mce *m); -#endif /* _MCE_H */ +#endif /* X86__CPU__MCHECK__MCE_H */
xen/arch/x86/cpu/mcheck/mce_amd.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _MCHECK_AMD_H -#define _MCHECK_AMD_H +#ifndef X86__CPU__MCHECK__MCE_AMD_H +#define X86__CPU__MCHECK__MCE_AMD_H bool cf_check mc_amd_recoverable_scan(uint64_t status); bool cf_check mc_amd_addrcheck(uint64_t status, uint64_t misc, int addrtype);
xen/arch/x86/cpu/mcheck/mctelem.h +2 -2
@@ -8,9 +8,9 @@* License. */ -#ifndef _MCTELEM_H +#ifndef X86__CPU__MCHECK__MCTELEM_H -#define _MCTELEM_H +#define X86__CPU__MCHECK__MCTELEM_H #include <xen/init.h> #include <xen/smp.h>
xen/arch/x86/cpu/mcheck/util.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _MCHECK_UTIL_H -#define _MCHECK_UTIL_H +#ifndef X86__CPU__MCHECK__UTIL_H +#define X86__CPU__MCHECK__UTIL_H void mce_panic_check (void );
xen/arch/x86/cpu/mcheck/vmce.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _MCHECK_VMCE_H -#define _MCHECK_VMCE_H +#ifndef X86__CPU__MCHECK__VMCE_H +#define X86__CPU__MCHECK__VMCE_H #include "x86_mca.h"
xen/arch/x86/cpu/mcheck/x86_mca.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2007-2012 Advanced Micro Devices, Inc. */ -#ifndef X86_MCA_H -#define X86_MCA_H +#ifndef X86__CPU__MCHECK__X86_MCA_H +#define X86__CPU__MCHECK__X86_MCA_H #include <public/arch-x86/xen-mca.h>
@@ -150,4 +150,4 @@ struct mca_error_handler/* Global variables */ extern bool opt_mce; -#endif /* X86_MCA_H */ +#endif /* X86__CPU__MCHECK__X86_MCA_H */
xen/arch/x86/cpu/microcode/private.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef ASM_X86_MICROCODE_PRIVATE_H -#define ASM_X86_MICROCODE_PRIVATE_H +#ifndef X86__CPU__MICROCODE__PRIVATE_H +#define X86__CPU__MICROCODE__PRIVATE_H #include <public/platform.h>
@@ -83,4 +83,4 @@ void ucode_probe_intel(struct microcode_ops *ops);static inline void ucode_probe_intel (struct microcode_ops *ops) {}#endif -#endif /* ASM_X86_MICROCODE_PRIVATE_H */ +#endif /* X86__CPU__MICROCODE__PRIVATE_H */
xen/arch/x86/cpu/mtrr/mtrr.h +3 -3
@@ -1,8 +1,8 @@/* * local mtrr defines. */ -#ifndef X86_CPU_MTRR_MTRR_H -#define X86_CPU_MTRR_MTRR_H +#ifndef X86__CPU__MTRR__MTRR_H +#define X86__CPU__MTRR__MTRR_H #define MTRR_CHANGE_MASK_FIXED 0x01#define MTRR_CHANGE_MASK_VARIABLE 0x02
@@ -28,4 +28,4 @@ extern unsigned int num_var_ranges;void mtrr_state_warn (void ); -#endif /* X86_CPU_MTRR_MTRR_H */ +#endif /* X86__CPU__MTRR__MTRR_H */
xen/arch/x86/guest/hyperv/private.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2020 Microsoft. */ -#ifndef __XEN_HYPERV_PRIVIATE_H__ -#define __XEN_HYPERV_PRIVIATE_H__ +#ifndef X86__GUEST__HYPERV__PRIVATE_H +#define X86__GUEST__HYPERV__PRIVATE_H #include <xen/cpumask.h> #include <xen/percpu.h>
@@ -29,4 +29,4 @@ int hyperv_flush_tlb(const cpumask_t *mask, const void *va,/* Returns number of banks, -ev if error */ int cpumask_to_vpset (struct hv_vpset *vpset,const cpumask_t *mask); -#endif /* __XEN_HYPERV_PRIVIATE_H__ */ +#endif /* X86__GUEST__HYPERV__PRIVATE_H */
xen/arch/x86/hvm/svm/nestedhvm.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2011, Advanced Micro Devices, Inc */ -#ifndef __X86_HVM_SVM_NESTEDHVM_PRIV_H__ -#define __X86_HVM_SVM_NESTEDHVM_PRIV_H__ +#ifndef X86__HVM__SVM__NESTEDHVM_H +#define X86__HVM__SVM__NESTEDHVM_H #include <xen/mm.h> #include <xen/types.h>
@@ -64,7 +64,7 @@ int cf_check nsvm_hap_walk_L1_p2m(int nestedsvm_vcpu_interrupt (struct vcpu *v,const struct hvm_intack intack); -#endif /* __X86_HVM_SVM_NESTEDHVM_PRIV_H__ */ +#endif /* X86__HVM__SVM__NESTEDHVM_H */ /* * Local variables:
xen/arch/x86/hvm/svm/svm.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2004, Intel Corporation. */ -#ifndef __X86_HVM_SVM_SVM_PRIV_H__ -#define __X86_HVM_SVM_SVM_PRIV_H__ +#ifndef X86__HVM__SVM__SVM_H +#define X86__HVM__SVM__SVM_H #include <xen/types.h>
@@ -86,7 +86,7 @@ unsigned int svm_get_task_switch_insn_len(void);#define _NPT_PFEC_in_gpt 33#define NPT_PFEC_in_gpt (1UL<<_NPT_PFEC_in_gpt) -#endif /* __X86_HVM_SVM_SVM_PRIV_H__ */ +#endif /* X86__HVM__SVM__SVM_H */ /* * Local variables:
xen/arch/x86/hvm/viridian/private.h +3 -3
@@ -1,7 +1,7 @@/* Copyright (c) 2018 Citrix Systems Inc. */ -#ifndef X86_HVM_VIRIDIAN_PRIVATE_H -#define X86_HVM_VIRIDIAN_PRIVATE_H +#ifndef X86__HVM__VIRIDIAN__PRIVATE_H +#define X86__HVM__VIRIDIAN__PRIVATE_H #include <asm/hvm/save.h> #include <asm/hvm/viridian.h>
@@ -57,7 +57,7 @@ void viridian_dump_guest_page(const struct vcpu *v, const char *name,void viridian_map_guest_page (struct domain *d,struct viridian_page *vp);void viridian_unmap_guest_page (struct viridian_page *vp); -#endif /* X86_HVM_VIRIDIAN_PRIVATE_H */ +#endif /* X86__HVM__VIRIDIAN__PRIVATE_H */ /* * Local variables:
xen/arch/x86/include/asm/acpi.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _ASM_X86_ACPI_H -#define _ASM_X86_ACPI_H +#ifndef ASM__X86__ACPI_H +#define ASM__X86__ACPI_H /* * Copyright (C) 2001 Paul Diefenbaugh <[email protected]>
xen/arch/x86/include/asm/alternative-asm.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_X86_ALTERNATIVE_ASM_H_ -#define _ASM_X86_ALTERNATIVE_ASM_H_ +#ifndef ASM__X86__ALTERNATIVE_ASM_H +#define ASM__X86__ALTERNATIVE_ASM_H #include <asm/nops.h>
@@ -115,7 +115,7 @@#undef as_true#endif /* __ASSEMBLY__ */ -#endif /* _ASM_X86_ALTERNATIVE_ASM_H_ */ +#endif /* ASM__X86__ALTERNATIVE_ASM_H */ /* * Local variables:
xen/arch/x86/include/asm/alternative.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_ALTERNATIVE_H__ -#define __X86_ALTERNATIVE_H__ +#ifndef ASM__X86__ALTERNATIVE_H +#define ASM__X86__ALTERNATIVE_H #ifdef __ASSEMBLY__#include <asm/alternative-asm.h>
@@ -423,4 +423,4 @@ extern void alternative_branches(void);#endif /* !__ASSEMBLY__ */ -#endif /* __X86_ALTERNATIVE_H__ */ +#endif /* ASM__X86__ALTERNATIVE_H */
xen/arch/x86/include/asm/altp2m.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2014, Intel Corporation. */ -#ifndef __ASM_X86_ALTP2M_H -#define __ASM_X86_ALTP2M_H +#ifndef ASM__X86__ALTP2M_H +#define ASM__X86__ALTP2M_H #ifdef CONFIG_ALTP2M
@@ -46,4 +46,4 @@ void altp2m_vcpu_disable_ve(struct vcpu *v);#endif -#endif /* __ASM_X86_ALTP2M_H */ +#endif /* ASM__X86__ALTP2M_H */
xen/arch/x86/include/asm/amd.h +3 -3
@@ -2,8 +2,8 @@* amd.h - AMD processor specific definitions */ -#ifndef __AMD_H__ -#define __AMD_H__ +#ifndef ASM__X86__AMD_H +#define ASM__X86__AMD_H #include <asm/cpufeature.h>
@@ -174,4 +174,4 @@ bool amd_setup_legacy_ssbd(void);void amd_set_legacy_ssbd (bool enable);void amd_set_cpuid_user_dis (bool enable); -#endif /* __AMD_H__ */ +#endif /* ASM__X86__AMD_H */
xen/arch/x86/include/asm/apic.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_APIC_H -#define __ASM_APIC_H +#ifndef ASM__X86__APIC_H +#define ASM__X86__APIC_H #include <asm/apicdef.h> #include <asm/fixmap.h>
@@ -201,4 +201,4 @@ extern unsigned int nmi_watchdog;#define NMI_NONE 0#define NMI_LOCAL_APIC 1 -#endif /* __ASM_APIC_H */ +#endif /* ASM__X86__APIC_H */
xen/arch/x86/include/asm/apicdef.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_APICDEF_H -#define __ASM_APICDEF_H +#ifndef ASM__X86__APICDEF_H +#define ASM__X86__APICDEF_H /* * Constants for various Intel APICs. (local APIC, IOAPIC, etc.)
xen/arch/x86/include/asm/asm_defns.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __X86_ASM_DEFNS_H__ -#define __X86_ASM_DEFNS_H__ +#ifndef ASM__X86__ASM_DEFNS_H +#define ASM__X86__ASM_DEFNS_H #ifndef COMPILE_OFFSETS /* NB. Auto-generated from arch/.../asm-offsets.c */
@@ -346,4 +346,4 @@ static always_inline void stac(void)#define ASM_CONSTANT (name, value) \ asm ( ".equ " #name ", %P0; .global " #name \ :: "i" ((value)) ); -#endif /* __X86_ASM_DEFNS_H__ */ +#endif /* ASM__X86__ASM_DEFNS_H */
xen/arch/x86/include/asm/atomic.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARCH_X86_ATOMIC__ -#define __ARCH_X86_ATOMIC__ +#ifndef ASM__X86__ATOMIC_H +#define ASM__X86__ATOMIC_H #include <xen/atomic.h> #include <asm/system.h>
@@ -236,4 +236,4 @@ static inline void atomic_and(int m, atomic_t *v)#define atomic_xchg (v, new) (xchg(&((v)->counter), new)) -#endif /* __ARCH_X86_ATOMIC__ */ +#endif /* ASM__X86__ATOMIC_H */
xen/arch/x86/include/asm/bitops.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _X86_BITOPS_H -#define _X86_BITOPS_H +#ifndef ASM__X86__BITOPS_H +#define ASM__X86__BITOPS_H /* * Copyright 1992, Linus Torvalds.
@@ -498,4 +498,4 @@ static always_inline unsigned int arch_hweightl(unsigned long x) }#define arch_hweightl arch_hweightl -#endif /* _X86_BITOPS_H */ +#endif /* ASM__X86__BITOPS_H */
xen/arch/x86/include/asm/bug.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_BUG_H__ -#define __X86_BUG_H__ +#ifndef ASM__X86__BUG_H +#define ASM__X86__BUG_H /* * Please do not include in the header any header that might
@@ -68,4 +68,4 @@#endif /* !__ASSEMBLY__ */ -#endif /* __X86_BUG_H__ */ +#endif /* ASM__X86__BUG_H */
xen/arch/x86/include/asm/byteorder.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_BYTEORDER_H__ -#define __ASM_X86_BYTEORDER_H__ +#ifndef ASM__X86__BYTEORDER_H +#define ASM__X86__BYTEORDER_H #include <xen/types.h> #include <xen/compiler.h>
@@ -33,4 +33,4 @@ static inline attr_const __u64 ___arch__swab64(__u64 val)#include <xen/byteorder/little_endian.h> -#endif /* __ASM_X86_BYTEORDER_H__ */ +#endif /* ASM__X86__BYTEORDER_H */
xen/arch/x86/include/asm/bzimage.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_BZIMAGE_H__ -#define __X86_BZIMAGE_H__ +#ifndef ASM__X86__BZIMAGE_H +#define ASM__X86__BZIMAGE_H #include <xen/init.h>
@@ -8,4 +8,4 @@ unsigned long bzimage_headroom(void *image_start, unsigned long image_length);int bzimage_parse (void *image_base,void **image_start,unsigned long *image_len); -#endif /* __X86_BZIMAGE_H__ */ +#endif /* ASM__X86__BZIMAGE_H */
xen/arch/x86/include/asm/cache.h +2 -2
@@ -1,8 +1,8 @@/* * include/asm-x86/cache.h */ -#ifndef __ARCH_X86_CACHE_H -#define __ARCH_X86_CACHE_H +#ifndef ASM__X86__CACHE_H +#define ASM__X86__CACHE_H /* L1 cache line size */
xen/arch/x86/include/asm/config.h +3 -3
@@ -4,8 +4,8 @@* A Linux-style configuration list. */ -#ifndef __X86_CONFIG_H__ -#define __X86_CONFIG_H__ +#ifndef ASM__X86__CONFIG_H +#define ASM__X86__CONFIG_H #define LONG_BYTEORDER 3#define CONFIG_PAGING_LEVELS 4
@@ -292,4 +292,4 @@ extern unsigned long xen_phys_start;#define ARCH_CRASH_SAVE_VMCOREINFO -#endif /* __X86_CONFIG_H__ */ +#endif /* ASM__X86__CONFIG_H */
xen/arch/x86/include/asm/cpu-policy.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef X86_CPU_POLICY_H -#define X86_CPU_POLICY_H +#ifndef ASM__X86__CPU_POLICY_H +#define ASM__X86__CPU_POLICY_H struct cpu_policy ;struct domain ;
@@ -30,4 +30,4 @@ void recalculate_cpuid_policy(struct domain *d);*/ void calculate_raw_cpu_policy (void ); -#endif /* X86_CPU_POLICY_H */ +#endif /* ASM__X86__CPU_POLICY_H */
xen/arch/x86/include/asm/cpufeature.h +3 -3
@@ -3,8 +3,8 @@* * Defines x86 CPU feature bits */ -#ifndef __ASM_I386_CPUFEATURE_H -#define __ASM_I386_CPUFEATURE_H +#ifndef ASM__X86__CPUFEATURE_H +#define ASM__X86__CPUFEATURE_H #include <xen/cache.h> #include <xen/const.h>
@@ -281,7 +281,7 @@ struct cpuid4_info {int cpuid4_cache_lookup (int index,struct cpuid4_info *this_leaf);#endif /* !__ASSEMBLY__ */ -#endif /* __ASM_I386_CPUFEATURE_H */ +#endif /* ASM__X86__CPUFEATURE_H */ /* * Local Variables:
xen/arch/x86/include/asm/cpufeatureset.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_X86_CPUFEATURESET_H__ -#define __XEN_X86_CPUFEATURESET_H__ +#ifndef ASM__X86__CPUFEATURESET_H +#define ASM__X86__CPUFEATURESET_H #ifndef __ASSEMBLY__
@@ -27,7 +27,7 @@ enum {#undef XEN_CPUFEATURE -#endif /* !__XEN_X86_CPUFEATURESET_H__ */ +#endif /* !ASM__X86__CPUFEATURESET_H */ /* * Local variables:
xen/arch/x86/include/asm/cpuid.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_CPUID_H__ -#define __X86_CPUID_H__ +#ifndef ASM__X86__CPUID_H +#define ASM__X86__CPUID_H #include <asm/cpufeatureset.h>
@@ -51,7 +51,7 @@ void guest_cpuid(const struct vcpu *v, uint32_t leaf, uint32_t subleaf, struct cpuid_leaf *res);#endif /* __ASSEMBLY__ */ -#endif /* !__X86_CPUID_H__ */ +#endif /* !ASM__X86__CPUID_H */ /* * Local variables:
xen/arch/x86/include/asm/cpuidle.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_CPUIDLE_H__ -#define __ASM_X86_CPUIDLE_H__ +#ifndef ASM__X86__CPUIDLE_H +#define ASM__X86__CPUIDLE_H #include <xen/cpuidle.h> #include <xen/notifier.h>
xen/arch/x86/include/asm/current.h +3 -3
@@ -4,8 +4,8 @@* Information structure that lives at the bottom of the per-cpu Xen stack. */ -#ifndef __X86_CURRENT_H__ -#define __X86_CURRENT_H__ +#ifndef ASM__X86__CURRENT_H +#define ASM__X86__CURRENT_H #include <xen/percpu.h> #include <xen/page-size.h>
@@ -211,4 +211,4 @@ unsigned long get_stack_dump_bottom (unsigned long sp);*/ DECLARE_PER_CPU(struct vcpu *, curr_vcpu); -#endif /* __X86_CURRENT_H__ */ +#endif /* ASM__X86__CURRENT_H */
xen/arch/x86/include/asm/debugreg.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _X86_DEBUGREG_H -#define _X86_DEBUGREG_H +#ifndef ASM__X86__DEBUGREG_H +#define ASM__X86__DEBUGREG_H #include <asm/x86-defns.h>
@@ -140,4 +140,4 @@ static inline unsigned int x86_bp_width(unsigned int dr7, unsigned int bp) return 1U << raw; } -#endif /* _X86_DEBUGREG_H */ +#endif /* ASM__X86__DEBUGREG_H */
xen/arch/x86/include/asm/desc.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ARCH_DESC_H -#define __ARCH_DESC_H +#ifndef ASM__X86__DESC_H +#define ASM__X86__DESC_H #include <asm/page.h>
@@ -240,4 +240,4 @@ static inline void ltr(unsigned int sel)#endif /* !__ASSEMBLY__ */ -#endif /* __ARCH_DESC_H */ +#endif /* ASM__X86__DESC_H */
xen/arch/x86/include/asm/device.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_DEVICE_H -#define __ASM_X86_DEVICE_H +#ifndef ASM__X86__DEVICE_H +#define ASM__X86__DEVICE_H #include <xen/pci.h>
@@ -13,7 +13,7 @@ typedef struct pci_dev device_t;#define dev_is_pci (dev) ((void)(dev), 1)#define pci_to_dev (pci) (pci) -#endif /* __ASM_X86_DEVICE_H */ +#endif /* ASM__X86__DEVICE_H */ /* * Local variables:
xen/arch/x86/include/asm/dom0_build.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _DOM0_BUILD_H_ -#define _DOM0_BUILD_H_ +#ifndef ASM__X86__DOM0_BUILD_H +#define ASM__X86__DOM0_BUILD_H #include <xen/libelf.h> #include <xen/sched.h>
@@ -29,7 +29,7 @@ unsigned long dom0_paging_pages(const struct domain *d,void dom0_update_physmap (bool compat,unsigned long pfn,unsigned long mfn,unsigned long vphysmap_s); -#endif /* _DOM0_BUILD_H_ */ +#endif /* ASM__X86__DOM0_BUILD_H */ /* * Local variables:
xen/arch/x86/include/asm/domain.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_DOMAIN_H__ -#define __ASM_DOMAIN_H__ +#ifndef ASM__X86__DOMAIN_H +#define ASM__X86__DOMAIN_H #include <xen/mm.h> #include <xen/radix-tree.h>
@@ -796,7 +796,7 @@ unsigned int domain_max_paddr_bits(const struct domain *d);#define arch_init_idle_domain arch_init_idle_domainvoid arch_init_idle_domain (struct domain *d); -#endif /* __ASM_DOMAIN_H__ */ +#endif /* ASM__X86__DOMAIN_H */ /* * Local variables:
xen/arch/x86/include/asm/e820.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __E820_HEADER -#define __E820_HEADER +#ifndef ASM__X86__E820_H +#define ASM__X86__E820_H /* * PC BIOS standard E820 types and structure.
@@ -40,4 +40,4 @@ extern struct e820map e820_raw;extern struct e820map bios_e820map[];extern unsigned int bios_e820nr; -#endif /*__E820_HEADER*/ +#endif /*ASM__X86__E820_H*/
xen/arch/x86/include/asm/edd.h +3 -3
@@ -20,8 +20,8 @@* GNU General Public License for more details. */ -#ifndef __XEN_EDD_H__ -#define __XEN_EDD_H__ +#ifndef ASM__X86__EDD_H +#define ASM__X86__EDD_H #ifndef __ASSEMBLY__
@@ -161,4 +161,4 @@ extern u8 boot_edd_info_nr;#define EDDEXTSIZE 8#define EDDPARMSIZE 74 -#endif /* __XEN_EDD_H__ */ +#endif /* ASM__X86__EDD_H */
xen/arch/x86/include/asm/elf.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_ELF_H__ -#define __X86_ELF_H__ +#ifndef ASM__X86__ELF_H +#define ASM__X86__ELF_H typedef struct { unsigned long cr0, cr2, cr3, cr4;
@@ -7,7 +7,7 @@ typedef struct {#include <asm/x86_64/elf.h> -#endif /* __X86_ELF_H__ */ +#endif /* ASM__X86__ELF_H */ /* * Local variables:
xen/arch/x86/include/asm/endbr.h +3 -3
@@ -2,8 +2,8 @@/****************************************************************************** * Copyright (c) 2021-2022 Citrix Systems Ltd. */ -#ifndef XEN_ASM_ENDBR_H -#define XEN_ASM_ENDBR_H +#ifndef ASM__X86__ENDBR_H +#define ASM__X86__ENDBR_H #include <xen/types.h>
@@ -66,4 +66,4 @@ static inline void place_endbr64_poison(void *ptr) *(uint32_t *)ptr = gen_endbr64_poison(); } -#endif /* XEN_ASM_ENDBR_H */ +#endif /* ASM__X86__ENDBR_H */
xen/arch/x86/include/asm/event.h +2 -2
@@ -6,8 +6,8 @@* */ -#ifndef __ASM_EVENT_H__ -#define __ASM_EVENT_H__ +#ifndef ASM__X86__EVENT_H +#define ASM__X86__EVENT_H #include <xen/shared.h>
xen/arch/x86/include/asm/fixmap.h +2 -2
@@ -9,8 +9,8 @@* Modifications for Xen are copyright (c) 2002-2004, K A Fraser */ -#ifndef _ASM_FIXMAP_H -#define _ASM_FIXMAP_H +#ifndef ASM__X86__FIXMAP_H +#define ASM__X86__FIXMAP_H #include <xen/page-size.h>
xen/arch/x86/include/asm/flushtlb.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2003-2004, K A Fraser */ -#ifndef __FLUSHTLB_H__ -#define __FLUSHTLB_H__ +#ifndef ASM__X86__FLUSHTLB_H +#define ASM__X86__FLUSHTLB_H #include <xen/mm.h> #include <xen/percpu.h>
@@ -201,4 +201,4 @@ static inline int clean_dcache_va_range(const void *p, unsigned long size)unsigned int guest_flush_tlb_flags (const struct domain *d);void guest_flush_tlb_mask (const struct domain *d,const cpumask_t *mask); -#endif /* __FLUSHTLB_H__ */ +#endif /* ASM__X86__FLUSHTLB_H */
xen/arch/x86/include/asm/gdbsx.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef __X86_GDBX_H__ -#define __X86_GDBX_H__ +#ifndef ASM__X86__GDBSX_H +#define ASM__X86__GDBSX_H #include <xen/stdbool.h>
@@ -26,4 +26,4 @@ static inline int gdbsx_domctl( }#endif /* CONFIG_GDBSX */ -#endif /* __X86_GDBX_H__ */ +#endif /* ASM__X86__GDBSX_H */
xen/arch/x86/include/asm/genapic.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _ASM_GENAPIC_H -#define _ASM_GENAPIC_H 1 +#ifndef ASM__X86__GENAPIC_H +#define ASM__X86__GENAPIC_H 1#include <xen/cpumask.h>
xen/arch/x86/include/asm/grant_table.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2004-2005 K A Fraser */ -#ifndef __ASM_GRANT_TABLE_H__ -#define __ASM_GRANT_TABLE_H__ +#ifndef ASM__X86__GRANT_TABLE_H +#define ASM__X86__GRANT_TABLE_H #include <asm/paging.h>
@@ -72,4 +72,4 @@ static inline void gnttab_clear_flags(struct domain *d,#define gnttab_need_iommu_mapping (d) \ (!paging_mode_translate(d) && need_iommu_pt_sync(d)) -#endif /* __ASM_GRANT_TABLE_H__ */ +#endif /* ASM__X86__GRANT_TABLE_H */
xen/arch/x86/include/asm/guest.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017 Citrix Systems Ltd. */ -#ifndef __X86_GUEST_H__ -#define __X86_GUEST_H__ +#ifndef ASM__X86__GUEST_H +#define ASM__X86__GUEST_H #include <asm/guest/hyperv.h> #include <asm/guest/hypervisor.h>
@@ -15,7 +15,7 @@#include <asm/guest/xen-hcall.h> #include <asm/pv/shim.h> -#endif /* __X86_GUEST_H__ */ +#endif /* ASM__X86__GUEST_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/hyperv-hcall.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2019 Microsoft. */ -#ifndef __X86_HYPERV_HCALL_H__ -#define __X86_HYPERV_HCALL_H__ +#ifndef ASM__X86__GUEST__HYPERV_HCALL_H +#define ASM__X86__GUEST__HYPERV_HCALL_H #include <xen/lib.h> #include <xen/page-size.h>
@@ -73,7 +73,7 @@ static inline uint64_t hv_do_rep_hypercall(uint16_t code, uint16_t rep_count, return status; } -#endif /* __X86_HYPERV_HCALL_H__ */ +#endif /* ASM__X86__GUEST__HYPERV_HCALL_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/hyperv-tlfs.h +2 -2
@@ -6,8 +6,8 @@* https://docs.microsoft.com/en-us/virtualization/hyper-v-on-windows/reference/tlfs */ -#ifndef _ASM_X86_HYPERV_TLFS_H -#define _ASM_X86_HYPERV_TLFS_H +#ifndef ASM__X86__GUEST__HYPERV_TLFS_H +#define ASM__X86__GUEST__HYPERV_TLFS_H #include <xen/bitops.h> #include <xen/page-size.h>
xen/arch/x86/include/asm/guest/hyperv.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2019 Microsoft. */ -#ifndef __X86_GUEST_HYPERV_H__ -#define __X86_GUEST_HYPERV_H__ +#ifndef ASM__X86__GUEST__HYPERV_H +#define ASM__X86__GUEST__HYPERV_H #include <xen/types.h>
@@ -62,7 +62,7 @@ const struct hypervisor_ops *hyperv_probe(void);static inline const struct hypervisor_ops *hyperv_probe (void ) {return NULL ; }#endif /* CONFIG_HYPERV_GUEST */ -#endif /* __X86_GUEST_HYPERV_H__ */ +#endif /* ASM__X86__GUEST__HYPERV_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/hypervisor.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2019 Microsoft. */ -#ifndef __X86_HYPERVISOR_H__ -#define __X86_HYPERVISOR_H__ +#ifndef ASM__X86__GUEST__HYPERVISOR_H +#define ASM__X86__GUEST__HYPERVISOR_H #include <xen/cpumask.h>
@@ -61,7 +61,7 @@ static inline int hypervisor_flush_tlb(const cpumask_t *mask, const void *va,#endif /* CONFIG_GUEST */ -#endif /* __X86_HYPERVISOR_H__ */ +#endif /* ASM__X86__GUEST__HYPERVISOR_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/pvh-boot.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017 Citrix Systems Ltd. */ -#ifndef __X86_PVH_BOOT_H__ -#define __X86_PVH_BOOT_H__ +#ifndef ASM__X86__GUEST__PVH_BOOT_H +#define ASM__X86__GUEST__PVH_BOOT_H #include <xen/multiboot.h>
@@ -34,7 +34,7 @@ static inline void pvh_print_info(void) }#endif /* CONFIG_PVH_GUEST */ -#endif /* __X86_PVH_BOOT_H__ */ +#endif /* ASM__X86__GUEST__PVH_BOOT_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/xen-hcall.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017 Citrix Systems Ltd. */ -#ifndef __X86_XEN_HYPERCALL_H__ -#define __X86_XEN_HYPERCALL_H__ +#ifndef ASM__X86__GUEST__XEN_HCALL_H +#define ASM__X86__GUEST__XEN_HCALL_H #ifdef CONFIG_XEN_GUEST
@@ -188,7 +188,7 @@ static inline long xen_hypercall_shutdown(unsigned int reason) }#endif /* CONFIG_XEN_GUEST */ -#endif /* __X86_XEN_HYPERCALL_H__ */ +#endif /* ASM__X86__GUEST__XEN_HCALL_H */ /* * Local variables:
xen/arch/x86/include/asm/guest/xen.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017 Citrix Systems Ltd. */ -#ifndef __X86_GUEST_XEN_H__ -#define __X86_GUEST_XEN_H__ +#ifndef ASM__X86__GUEST__XEN_H +#define ASM__X86__GUEST__XEN_H #include <xen/types.h>
@@ -37,7 +37,7 @@ DECLARE_PER_CPU(struct vcpu_info *, vcpu_info);static inline const struct hypervisor_ops *xg_probe (void ) {return NULL ; }#endif /* CONFIG_XEN_GUEST */ -#endif /* __X86_GUEST_XEN_H__ */ +#endif /* ASM__X86__GUEST__XEN_H */ /* * Local variables:
xen/arch/x86/include/asm/guest_access.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2006, K A Fraser */ -#ifndef __ASM_X86_GUEST_ACCESS_H__ -#define __ASM_X86_GUEST_ACCESS_H__ +#ifndef ASM__X86__GUEST_ACCESS_H +#define ASM__X86__GUEST_ACCESS_H #include <asm/uaccess.h> #include <asm/paging.h>
@@ -47,7 +47,7 @@ (last)-(first)+1, \ sizeof(*(hnd).p))) -#endif /* __ASM_X86_GUEST_ACCESS_H__ */ +#endif /* ASM__X86__GUEST_ACCESS_H */ /* * Local variables:
xen/arch/x86/include/asm/guest_atomics.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _X86_GUEST_ATOMICS_H -#define _X86_GUEST_ATOMICS_H +#ifndef ASM__X86__GUEST_ATOMICS_H +#define ASM__X86__GUEST_ATOMICS_H #include <xen/bitops.h>
@@ -22,7 +22,7 @@#define guest_cmpxchg (d, ptr, o, n) ((void)(d), cmpxchg(ptr, o, n))#define guest_cmpxchg64 guest_cmpxchg -#endif /* _X86_GUEST_ATOMICS_H */ +#endif /* ASM__X86__GUEST_ATOMICS_H */ /* * Local variables: * mode: C
xen/arch/x86/include/asm/guest_pt.h +3 -3
@@ -13,8 +13,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_ASM_GUEST_PT_H -#define _XEN_ASM_GUEST_PT_H +#ifndef ASM__X86__GUEST_PT_H +#define ASM__X86__GUEST_PT_H #if !defined(GUEST_PAGING_LEVELS )#error GUEST_PAGING_LEVELS not defined
@@ -452,4 +452,4 @@ static inline void print_gw(const walk_t *gw) ); } -#endif /* _XEN_ASM_GUEST_PT_H */ +#endif /* ASM__X86__GUEST_PT_H */
xen/arch/x86/include/asm/hap.h +2 -2
@@ -10,8 +10,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_HAP_H -#define _XEN_HAP_H +#ifndef ASM__X86__HAP_H +#define ASM__X86__HAP_H #define HAP_PRINTK(_f, _a...) \ debugtrace_printk("hap: %s(): " _f, __func__, ##_a)
xen/arch/x86/include/asm/hardirq.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_HARDIRQ_H -#define __ASM_HARDIRQ_H +#ifndef ASM__X86__HARDIRQ_H +#define ASM__X86__HARDIRQ_H #include <xen/cache.h> #include <xen/types.h>
@@ -34,4 +34,4 @@ void ack_bad_irq(unsigned int irq);extern void apic_intr_init (void );extern void smp_intr_init (void ); -#endif /* __ASM_HARDIRQ_H */ +#endif /* ASM__X86__HARDIRQ_H */
xen/arch/x86/include/asm/hpet.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_HPET_H__ -#define __X86_HPET_H__ +#ifndef ASM__X86__HPET_H +#define ASM__X86__HPET_H /* * Documentation on HPET can be found at:
@@ -98,4 +98,4 @@ void hpet_disable_legacy_broadcast(void);extern void (*pv_rtc_handler)(uint8_t reg,uint8_t value); -#endif /* __X86_HPET_H__ */ +#endif /* ASM__X86__HPET_H */
xen/arch/x86/include/asm/hvm/asid.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2009, Citrix Systems, Inc. */ -#ifndef __ASM_X86_HVM_ASID_H__ -#define __ASM_X86_HVM_ASID_H__ +#ifndef ASM__X86__HVM__ASID_H +#define ASM__X86__HVM__ASID_H struct vcpu ;
@@ -28,7 +28,7 @@ void hvm_asid_flush_core(void);* boolean indicating whether all ASIDs must be flushed. */ bool hvm_asid_handle_vmenter (struct hvm_vcpu_asid *asid); -#endif /* __ASM_X86_HVM_ASID_H__ */ +#endif /* ASM__X86__HVM__ASID_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/cacheattr.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __HVM_CACHEATTR_H__ -#define __HVM_CACHEATTR_H__ +#ifndef ASM__X86__HVM__CACHEATTR_H +#define ASM__X86__HVM__CACHEATTR_H #include <xen/mm.h>
@@ -20,4 +20,4 @@ int hvm_get_mem_pinned_cacheattr(struct domain *d, gfn_t gfn,int hvm_set_mem_pinned_cacheattr (struct domain *d,uint64_t gfn_start,uint64_t gfn_end,uint32_t type); -#endif /* __HVM_CACHEATTR_H__ */ +#endif /* ASM__X86__HVM__CACHEATTR_H */
xen/arch/x86/include/asm/hvm/domain.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2005, International Business Machines Corporation */ -#ifndef __ASM_X86_HVM_DOMAIN_H__ -#define __ASM_X86_HVM_DOMAIN_H__ +#ifndef ASM__X86__HVM__DOMAIN_H +#define ASM__X86__HVM__DOMAIN_H #include <xen/list.h> #include <xen/mm.h>
@@ -151,7 +151,7 @@ struct hvm_domain { #endif }; -#endif /* __ASM_X86_HVM_DOMAIN_H__ */ +#endif /* ASM__X86__HVM__DOMAIN_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/emulate.h +3 -3
@@ -9,8 +9,8 @@* Keir Fraser <[email protected]> */ -#ifndef __ASM_X86_HVM_EMULATE_H__ -#define __ASM_X86_HVM_EMULATE_H__ +#ifndef ASM__X86__HVM__EMULATE_H +#define ASM__X86__HVM__EMULATE_H #include <xen/err.h> #include <xen/mm.h>
@@ -143,7 +143,7 @@ static inline void hvmemul_write_cache(const struct vcpu *v, paddr_t gpa,void hvm_dump_emulation_state (const char *loglvl,const char *prefix,struct hvm_emulate_ctxt *hvmemul_ctxt,int rc); -#endif /* __ASM_X86_HVM_EMULATE_H__ */ +#endif /* ASM__X86__HVM__EMULATE_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/grant_table.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2017 Wei Liu <[email protected]> */ -#ifndef __X86_HVM_GRANT_TABLE_H__ -#define __X86_HVM_GRANT_TABLE_H__ +#ifndef ASM__X86__HVM__GRANT_TABLE_H +#define ASM__X86__HVM__GRANT_TABLE_H #include <xen/mm-frame.h>
@@ -39,7 +39,7 @@ static inline int replace_grant_p2m_mapping(uint64_t addr, mfn_t frame,#endif -#endif /* __X86_HVM_GRANT_TABLE_H__ */ +#endif /* ASM__X86__HVM__GRANT_TABLE_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/guest_access.h +3 -3
@@ -1,8 +1,8 @@ -#ifndef __ASM_X86_HVM_GUEST_ACCESS_H__ -#define __ASM_X86_HVM_GUEST_ACCESS_H__ +#ifndef ASM__X86__HVM__GUEST_ACCESS_H +#define ASM__X86__HVM__GUEST_ACCESS_H unsigned int copy_to_user_hvm (void *to,const void *from,unsigned int len);unsigned int clear_user_hvm (void *to,unsigned int len);unsigned int copy_from_user_hvm (void *to,const void *from,unsigned int len); -#endif /* __ASM_X86_HVM_GUEST_ACCESS_H__ */ +#endif /* ASM__X86__HVM__GUEST_ACCESS_H */
xen/arch/x86/include/asm/hvm/hvm.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2005, International Business Machines Corporation. */ -#ifndef __ASM_X86_HVM_HVM_H__ -#define __ASM_X86_HVM_HVM_H__ +#ifndef ASM__X86__HVM__HVM_H +#define ASM__X86__HVM__HVM_H #include <xen/mm.h>
@@ -967,7 +967,7 @@ static inline void hvm_set_reg(struct vcpu *v, unsigned int reg, uint64_t val)#endif /* CONFIG_HVM */ -#endif /* __ASM_X86_HVM_HVM_H__ */ +#endif /* ASM__X86__HVM__HVM_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/io.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2004, Intel Corporation. */ -#ifndef __ASM_X86_HVM_IO_H__ -#define __ASM_X86_HVM_IO_H__ +#ifndef ASM__X86__HVM__IO_H +#define ASM__X86__HVM__IO_H #include <xen/pci.h> #include <public/hvm/ioreq.h>
@@ -135,7 +135,7 @@ void destroy_vpci_mmcfg(struct domain *d);/* Remove MMCFG regions from a given rangeset. */ int vpci_subtract_mmcfg (const struct domain *d,struct rangeset *r); -#endif /* __ASM_X86_HVM_IO_H__ */ +#endif /* ASM__X86__HVM__IO_H */ /*
xen/arch/x86/include/asm/hvm/ioreq.h +3 -3
@@ -5,15 +5,15 @@* Copyright (c) 2016 Citrix Systems Inc. */ -#ifndef __ASM_X86_HVM_IOREQ_H__ -#define __ASM_X86_HVM_IOREQ_H__ +#ifndef ASM__X86__HVM__IOREQ_H +#define ASM__X86__HVM__IOREQ_H /* This correlation must not be altered */ #define IOREQ_STATUS_HANDLED X86EMUL_OKAY#define IOREQ_STATUS_UNHANDLED X86EMUL_UNHANDLEABLE#define IOREQ_STATUS_RETRY X86EMUL_RETRY -#endif /* __ASM_X86_HVM_IOREQ_H__ */ +#endif /* ASM__X86__HVM__IOREQ_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/irq.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2006, K A Fraser, XenSource Inc. */ -#ifndef __ASM_X86_HVM_IRQ_H__ -#define __ASM_X86_HVM_IRQ_H__ +#ifndef ASM__X86__HVM__IRQ_H +#define ASM__X86__HVM__IRQ_H #include <xen/timer.h>
@@ -213,4 +213,4 @@ void hvm_set_callback_via(struct domain *d, uint64_t via);struct pirq ;bool hvm_domain_use_pirq (const struct domain *d,const struct pirq *pirq); -#endif /* __ASM_X86_HVM_IRQ_H__ */ +#endif /* ASM__X86__HVM__IRQ_H */
xen/arch/x86/include/asm/hvm/nestedhvm.h +3 -3
@@ -5,8 +5,8 @@* Author: Christoph Egger <[email protected]> */ -#ifndef _HVM_NESTEDHVM_H -#define _HVM_NESTEDHVM_H +#ifndef ASM__X86__HVM__NESTEDHVM_H +#define ASM__X86__HVM__NESTEDHVM_H #include <xen/types.h> /* for uintNN_t */ #include <xen/sched.h> /* for struct vcpu, struct domain */
@@ -86,4 +86,4 @@ static inline bool vvmcx_valid(const struct vcpu *v)void start_nested_svm (struct hvm_function_table *hvm_function_table);void start_nested_vmx (struct hvm_function_table *hvm_function_table); -#endif /* _HVM_NESTEDHVM_H */ +#endif /* ASM__X86__HVM__NESTEDHVM_H */
xen/arch/x86/include/asm/hvm/save.h +3 -3
@@ -3,8 +3,8 @@* save.h: HVM support routines for save/restore */ -#ifndef __XEN_HVM_SAVE_H__ -#define __XEN_HVM_SAVE_H__ +#ifndef ASM__X86__HVM__SAVE_H +#define ASM__X86__HVM__SAVE_H #include <xen/types.h> #include <xen/init.h>
@@ -146,4 +146,4 @@ int hvm_save_one(struct domain *d, unsigned int typecode, unsigned int instance, XEN_GUEST_HANDLE_64(uint8) handle, uint64_t *bufsz);int hvm_load (struct domain *d,bool real,hvm_domain_context_t *h); -#endif /* __XEN_HVM_SAVE_H__ */ +#endif /* ASM__X86__HVM__SAVE_H */
xen/arch/x86/include/asm/hvm/support.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2005, International Business Machines Corporation. */ -#ifndef __ASM_X86_HVM_SUPPORT_H__ -#define __ASM_X86_HVM_SUPPORT_H__ +#ifndef ASM__X86__HVM__SUPPORT_H +#define ASM__X86__HVM__SUPPORT_H #include <xen/types.h> #include <xen/sched.h>
@@ -146,7 +146,7 @@ int __must_check hvm_msr_read_intercept(int __must_check hvm_msr_write_intercept (unsigned int msr,uint64_t msr_content,bool may_defer); -#endif /* __ASM_X86_HVM_SUPPORT_H__ */ +#endif /* ASM__X86__HVM__SUPPORT_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/svm/nestedsvm.h +2 -2
@@ -4,8 +4,8 @@* Copyright (c) 2011, Advanced Micro Devices, Inc * */ -#ifndef __ASM_X86_HVM_SVM_NESTEDSVM_H__ -#define __ASM_X86_HVM_SVM_NESTEDSVM_H__ +#ifndef ASM__X86__HVM__SVM__NESTEDSVM_H +#define ASM__X86__HVM__SVM__NESTEDSVM_H #include <xen/types.h>
xen/arch/x86/include/asm/hvm/svm/svm.h +3 -3
@@ -6,8 +6,8 @@* */ -#ifndef __ASM_X86_HVM_SVM_H__ -#define __ASM_X86_HVM_SVM_H__ +#ifndef ASM__X86__HVM__SVM__SVM_H +#define ASM__X86__HVM__SVM__SVM_H /* * PV context switch helpers. Prefetching the VMCB area itself has been shown
@@ -57,4 +57,4 @@ static inline bool cpu_has_svm_feature(unsigned int feat)#define cpu_has_svm_sss cpu_has_svm_feature(SVM_FEATURE_SSS)#define cpu_has_svm_spec_ctrl cpu_has_svm_feature(SVM_FEATURE_SPEC_CTRL) -#endif /* __ASM_X86_HVM_SVM_H__ */ +#endif /* ASM__X86__HVM__SVM__SVM_H */
xen/arch/x86/include/asm/hvm/svm/svmdebug.h +3 -3
@@ -5,8 +5,8 @@* */ -#ifndef __ASM_X86_HVM_SVM_SVMDEBUG_H__ -#define __ASM_X86_HVM_SVM_SVMDEBUG_H__ +#ifndef ASM__X86__HVM__SVM__SVMDEBUG_H +#define ASM__X86__HVM__SVM__SVMDEBUG_H #include <xen/types.h> #include <asm/hvm/svm/vmcb.h>
@@ -16,4 +16,4 @@ void svm_vmcb_dump(const char *from, const struct vmcb_struct *vmcb);bool svm_vmcb_isvalid (const char *from,const struct vmcb_struct *vmcb,const struct vcpu *v,bool verbose); -#endif /* __ASM_X86_HVM_SVM_SVMDEBUG_H__ */ +#endif /* ASM__X86__HVM__SVM__SVMDEBUG_H */
xen/arch/x86/include/asm/hvm/svm/vmcb.h +2 -2
@@ -5,8 +5,8 @@* Copyright (c) 2004, Intel Corporation. * */ -#ifndef __ASM_X86_HVM_SVM_VMCB_H__ -#define __ASM_X86_HVM_SVM_VMCB_H__ +#ifndef ASM__X86__HVM__SVM__VMCB_H +#define ASM__X86__HVM__SVM__VMCB_H #include <xen/types.h>
xen/arch/x86/include/asm/hvm/vcpu.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2005, International Business Machines Corporation. */ -#ifndef __ASM_X86_HVM_VCPU_H__ -#define __ASM_X86_HVM_VCPU_H__ +#ifndef ASM__X86__HVM__VCPU_H +#define ASM__X86__HVM__VCPU_H #include <xen/tasklet.h> #include <asm/hvm/vlapic.h>
@@ -186,7 +186,7 @@ struct hvm_vcpu { struct viridian_vcpu *viridian; }; -#endif /* __ASM_X86_HVM_VCPU_H__ */ +#endif /* ASM__X86__HVM__VCPU_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/vioapic.h +3 -3
@@ -21,8 +21,8 @@* License along with this library; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef __ASM_X86_HVM_VIOAPIC_H__ -#define __ASM_X86_HVM_VIOAPIC_H__ +#ifndef ASM__X86__HVM__VIOAPIC_H +#define ASM__X86__HVM__VIOAPIC_H #include <xen/types.h> #include <public/hvm/save.h>
@@ -69,4 +69,4 @@ int vioapic_get_mask(const struct domain *d, unsigned int gsi); int cf_check vioapic_get_vector(const struct domain *d, unsigned int gsi);int vioapic_get_trigger_mode (const struct domain *d,unsigned int gsi); -#endif /* __ASM_X86_HVM_VIOAPIC_H__ */ +#endif /* ASM__X86__HVM__VIOAPIC_H */
xen/arch/x86/include/asm/hvm/viridian.h +3 -3
@@ -6,8 +6,8 @@* */ -#ifndef __ASM_X86_HVM_VIRIDIAN_H__ -#define __ASM_X86_HVM_VIRIDIAN_H__ +#ifndef ASM__X86__HVM__VIRIDIAN_H +#define ASM__X86__HVM__VIRIDIAN_H #include <asm/guest/hyperv-tlfs.h>
@@ -99,7 +99,7 @@ void viridian_synic_poll(struct vcpu *v);bool viridian_synic_is_auto_eoi_sint (const struct vcpu *v,unsigned int vector); -#endif /* __ASM_X86_HVM_VIRIDIAN_H__ */ +#endif /* ASM__X86__HVM__VIRIDIAN_H */ /* * Local variables:
xen/arch/x86/include/asm/hvm/vlapic.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2006 Keir Fraser, XenSource Inc. */ -#ifndef __ASM_X86_HVM_VLAPIC_H__ -#define __ASM_X86_HVM_VLAPIC_H__ +#ifndef ASM__X86__HVM__VLAPIC_H +#define ASM__X86__HVM__VLAPIC_H #include <xen/tasklet.h> #include <asm/hvm/vpt.h>
@@ -137,4 +137,4 @@ bool vlapic_match_dest( const struct vlapic *target, const struct vlapic *source, int short_hand, uint32_t dest, bool dest_mode); -#endif /* __ASM_X86_HVM_VLAPIC_H__ */ +#endif /* ASM__X86__HVM__VLAPIC_H */
xen/arch/x86/include/asm/hvm/vmx/vmcs.h +2 -2
@@ -4,8 +4,8 @@* Copyright (c) 2004, Intel Corporation. * */ -#ifndef __ASM_X86_HVM_VMX_VMCS_H__ -#define __ASM_X86_HVM_VMX_VMCS_H__ +#ifndef ASM__X86__HVM__VMX__VMCS_H +#define ASM__X86__HVM__VMX__VMCS_H #include <xen/mm.h>
xen/arch/x86/include/asm/hvm/vmx/vmx.h +3 -3
@@ -4,8 +4,8 @@* Copyright (c) 2004, Intel Corporation. * */ -#ifndef __ASM_X86_HVM_VMX_VMX_H__ -#define __ASM_X86_HVM_VMX_VMX_H__ +#ifndef ASM__X86__HVM__VMX__VMX_H +#define ASM__X86__HVM__VMX__VMX_H #include <xen/sched.h> #include <xen/types.h>
@@ -676,4 +676,4 @@ typedef union ldt_or_tr_instr_info { }; } ldt_or_tr_instr_info_t; -#endif /* __ASM_X86_HVM_VMX_VMX_H__ */ +#endif /* ASM__X86__HVM__VMX__VMX_H */
xen/arch/x86/include/asm/hvm/vmx/vvmx.h +3 -3
@@ -8,8 +8,8 @@* Eddie Dong <[email protected]> * */ -#ifndef __ASM_X86_HVM_VVMX_H__ -#define __ASM_X86_HVM_VVMX_H__ +#ifndef ASM__X86__HVM__VMX__VVMX_H +#define ASM__X86__HVM__VMX__VVMX_H struct vvmcs_list { unsigned long vvmcs_mfn;
@@ -199,5 +199,5 @@ int nept_translate_l2ga(struct vcpu *v, paddr_t l2ga, uint64_t *exit_qual, uint32_t *exit_reason);int nvmx_cpu_up_prepare (unsigned int cpu);void nvmx_cpu_dead (unsigned int cpu); -#endif /* __ASM_X86_HVM_VVMX_H__ */ +#endif /* ASM__X86__HVM__VMX__VVMX_H */
xen/arch/x86/include/asm/hvm/vpic.h +3 -3
@@ -24,8 +24,8 @@* IN THE SOFTWARE. */ -#ifndef __ASM_X86_HVM_VPIC_H__ -#define __ASM_X86_HVM_VPIC_H__ +#ifndef ASM__X86__HVM__VPIC_H +#define ASM__X86__HVM__VPIC_H struct domain ;struct vcpu ;
@@ -37,4 +37,4 @@ void vpic_reset(struct domain *d);int vpic_ack_pending_irq (struct vcpu *v);int is_periodic_irq (struct vcpu *v,int irq,int type); -#endif /* __ASM_X86_HVM_VPIC_H__ */ +#endif /* ASM__X86__HVM__VPIC_H */
xen/arch/x86/include/asm/hvm/vpt.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2004, Intel Corporation. */ -#ifndef __ASM_X86_HVM_VPT_H__ -#define __ASM_X86_HVM_VPT_H__ +#ifndef ASM__X86__HVM__VPT_H +#define ASM__X86__HVM__VPT_H #include <xen/timer.h> #include <xen/list.h>
@@ -196,4 +196,4 @@ void hpet_init(struct domain *d);void hpet_deinit (struct domain *d);void hpet_reset (struct domain *d); -#endif /* __ASM_X86_HVM_VPT_H__ */ +#endif /* ASM__X86__HVM__VPT_H */
xen/arch/x86/include/asm/hypercall.h +4 -4
@@ -3,12 +3,12 @@*/ /* SAF-10-safe direct inclusion guard before */ -#ifndef __XEN_HYPERCALL_H__ +#ifndef XEN__HYPERCALL_H #error "asm/hypercall.h should not be included directly - include xen/hypercall.h instead"#endif -#ifndef __ASM_X86_HYPERCALL_H__ -#define __ASM_X86_HYPERCALL_H__ +#ifndef ASM__X86__HYPERCALL_H +#define ASM__X86__HYPERCALL_H #include <xen/types.h> #include <public/physdev.h>
@@ -81,4 +81,4 @@ static inline void clobber_regs32(struct cpu_user_regs *regs, clobber_regs ## b(r, array_access_nospec(t ## b, n)); \ }) -#endif /* __ASM_X86_HYPERCALL_H__ */ +#endif /* ASM__X86__HYPERCALL_H */
xen/arch/x86/include/asm/i387.h +3 -3
@@ -8,8 +8,8 @@* Gareth Hughes <[email protected]>, May 2000 */ -#ifndef __ASM_I386_I387_H -#define __ASM_I386_I387_H +#ifndef ASM__X86__I387_H +#define ASM__X86__I387_H #include <xen/types.h>
@@ -37,4 +37,4 @@ struct xsave_struct;void vcpu_setup_fpu (struct vcpu *v,struct xsave_struct *xsave_area,const void *data,unsigned int fcw_default);void vcpu_destroy_fpu (struct vcpu *v); -#endif /* __ASM_I386_I387_H */ +#endif /* ASM__X86__I387_H */
xen/arch/x86/include/asm/intel-family.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0 */ -#ifndef _ASM_X86_INTEL_FAMILY_H -#define _ASM_X86_INTEL_FAMILY_H +#ifndef ASM__X86__INTEL_FAMILY_H +#define ASM__X86__INTEL_FAMILY_H /* * "Big Core" Processors (Branded as Core, Xeon, etc...)
@@ -167,4 +167,4 @@/* Family 5 */ #define INTEL_FAM5_QUARK_X1000 0x09/* Quark X1000 SoC */ -#endif /* _ASM_X86_INTEL_FAMILY_H */ +#endif /* ASM__X86__INTEL_FAMILY_H */
xen/arch/x86/include/asm/invpcid.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_X86_INVPCID_H_ -#define _ASM_X86_INVPCID_H_ +#ifndef ASM__X86__INVPCID_H +#define ASM__X86__INVPCID_H #include <xen/types.h>
@@ -54,7 +54,7 @@ static inline void invpcid_flush_all_nonglobals(void) invpcid(0, 0, X86_INVPCID_ALL_NON_GLOBAL); } -#endif /* _ASM_X86_INVPCID_H_ */ +#endif /* ASM__X86__INVPCID_H */ /* * Local variables:
xen/arch/x86/include/asm/io.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _ASM_IO_H -#define _ASM_IO_H +#ifndef ASM__X86__IO_H +#define ASM__X86__IO_H #include <xen/vmap.h> #include <xen/types.h>
xen/arch/x86/include/asm/io_apic.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_IO_APIC_H -#define __ASM_IO_APIC_H +#ifndef ASM__X86__IO_APIC_H +#define ASM__X86__IO_APIC_H #include <xen/types.h>
xen/arch/x86/include/asm/iocap.h +3 -3
@@ -4,8 +4,8 @@* Architecture-specific per-domain I/O capabilities. */ -#ifndef __X86_IOCAP_H__ -#define __X86_IOCAP_H__ +#ifndef ASM__X86__IOCAP_H +#define ASM__X86__IOCAP_H #include <xen/sched.h> #include <xen/rangeset.h>
@@ -44,4 +44,4 @@ static inline int ioports_deny_access(struct domain *d, unsigned long s, return ret; } -#endif /* __X86_IOCAP_H__ */ +#endif /* ASM__X86__IOCAP_H */
xen/arch/x86/include/asm/iommu.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ARCH_X86_IOMMU_H__ -#define __ARCH_X86_IOMMU_H__ +#ifndef ASM__X86__IOMMU_H +#define ASM__X86__IOMMU_H #include <xen/errno.h> #include <xen/list.h>
@@ -137,7 +137,7 @@ void iommu_queue_free_pgtable(struct domain_iommu *hd, struct page_info *pg);/* Check [start, end] unity map range for correctness. */ bool iommu_unity_region_ok (const char *prefix,mfn_t start,mfn_t end); -#endif /* !__ARCH_X86_IOMMU_H__ */ +#endif /* !ASM__X86__IOMMU_H */ /* * Local variables: * mode: C
xen/arch/x86/include/asm/ioreq.h +3 -3
@@ -8,14 +8,14 @@* Copyright (c) 2016 Citrix Systems Inc. */ -#ifndef __ASM_X86_IOREQ_H__ -#define __ASM_X86_IOREQ_H__ +#ifndef ASM__X86__IOREQ_H +#define ASM__X86__IOREQ_H #ifdef CONFIG_HVM #include <asm/hvm/ioreq.h> #endif -#endif /* __ASM_X86_IOREQ_H__ */ +#endif /* ASM__X86__IOREQ_H */ /* * Local variables:
xen/arch/x86/include/asm/irq.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_HW_IRQ_H -#define _ASM_HW_IRQ_H +#ifndef ASM__X86__IRQ_H +#define ASM__X86__IRQ_H /* (C) 1992, 1993 Linus Torvalds, (C) 1997 Ingo Molnar */
@@ -231,4 +231,4 @@ int allocate_and_map_gsi_pirq(struct domain *d, int index, int *pirq_p);int allocate_and_map_msi_pirq (struct domain *d,int index,int *pirq_p,int type,struct msi_info *msi); -#endif /* _ASM_HW_IRQ_H */ +#endif /* ASM__X86__IRQ_H */
xen/arch/x86/include/asm/ldt.h +2 -2
@@ -1,6 +1,6 @@ -#ifndef __ARCH_LDT_H -#define __ARCH_LDT_H +#ifndef ASM__X86__LDT_H +#define ASM__X86__LDT_H #ifndef __ASSEMBLY__
xen/arch/x86/include/asm/mach-default/bios_ebda.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _MACH_BIOS_EBDA_H -#define _MACH_BIOS_EBDA_H +#ifndef ASM__X86__MACH_DEFAULT__BIOS_EBDA_H +#define ASM__X86__MACH_DEFAULT__BIOS_EBDA_H /* * there is a real-mode segmented pointer pointing to the
@@ -12,4 +12,4 @@ static inline unsigned int get_bios_ebda(void) return address; /* 0 means none */ } -#endif /* _MACH_BIOS_EBDA_H */ +#endif /* ASM__X86__MACH_DEFAULT__BIOS_EBDA_H */
xen/arch/x86/include/asm/mach-default/io_ports.h +3 -3
@@ -4,8 +4,8 @@* Machine specific IO port address definition for generic. * Written by Osamu Tomita <[email protected]> */ -#ifndef _MACH_IO_PORTS_H -#define _MACH_IO_PORTS_H +#ifndef ASM__X86__MACH_DEFAULT__IO_PORTS_H +#define ASM__X86__MACH_DEFAULT__IO_PORTS_H /* i8253A PIT registers */ #define PIT_MODE 0x43
@@ -27,4 +27,4 @@#define SLAVE_ICW4_DEFAULT 0x01#define PIC_ICW4_AEOI 2 -#endif /* !_MACH_IO_PORTS_H */ +#endif /* !ASM__X86__MACH_DEFAULT__IO_PORTS_H */
xen/arch/x86/include/asm/mach-default/irq_vectors.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_IRQ_VECTORS_H -#define _ASM_IRQ_VECTORS_H +#ifndef ASM__X86__MACH_DEFAULT__IRQ_VECTORS_H +#define ASM__X86__MACH_DEFAULT__IRQ_VECTORS_H /* Processor-initiated interrupts are all high priority. */ #define SPURIOUS_APIC_VECTOR 0xff
@@ -43,4 +43,4 @@#define FIRST_IRQ_VECTOR FIRST_DYNAMIC_VECTOR#define LAST_IRQ_VECTOR LAST_HIPRIORITY_VECTOR -#endif /* _ASM_IRQ_VECTORS_H */ +#endif /* ASM__X86__MACH_DEFAULT__IRQ_VECTORS_H */
xen/arch/x86/include/asm/mach-default/mach_mpspec.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_MACH_MPSPEC_H -#define __ASM_MACH_MPSPEC_H +#ifndef ASM__X86__MACH_DEFAULT__MACH_MPSPEC_H +#define ASM__X86__MACH_DEFAULT__MACH_MPSPEC_H #define MAX_IRQ_SOURCES 256
@@ -7,4 +7,4 @@/* Maximum 256 PCI busses, plus 1 ISA bus in each of 4 cabinets. */ #define MAX_MP_BUSSES 260 -#endif /* __ASM_MACH_MPSPEC_H */ +#endif /* ASM__X86__MACH_DEFAULT__MACH_MPSPEC_H */
xen/arch/x86/include/asm/mach-generic/mach_apic.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_MACH_APIC_H -#define __ASM_MACH_APIC_H +#ifndef ASM__X86__MACH_GENERIC__MACH_APIC_H +#define ASM__X86__MACH_GENERIC__MACH_APIC_H #include <asm/apic.h> #include <asm/io_apic.h>
@@ -74,4 +74,4 @@ static inline void set_apicid(int phys_apicid, physid_mask_t *map) physid_set(phys_apicid, *map); } -#endif /* __ASM_MACH_APIC_H */ +#endif /* ASM__X86__MACH_GENERIC__MACH_APIC_H */
xen/arch/x86/include/asm/machine_kexec.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_MACHINE_KEXEC_H__ -#define __X86_MACHINE_KEXEC_H__ +#ifndef ASM__X86__MACHINE_KEXEC_H +#define ASM__X86__MACHINE_KEXEC_H #define KEXEC_RELOC_FLAG_COMPAT 0x1/* 32-bit image */
@@ -13,4 +13,4 @@ extern const char kexec_reloc_end[];#endif -#endif /* __X86_MACHINE_KEXEC_H__ */ +#endif /* ASM__X86__MACHINE_KEXEC_H */
xen/arch/x86/include/asm/mc146818rtc.h +3 -3
@@ -1,8 +1,8 @@/* * Machine dependent access functions for RTC registers. */ -#ifndef _ASM_MC146818RTC_H -#define _ASM_MC146818RTC_H +#ifndef ASM__X86__MC146818RTC_H +#define ASM__X86__MC146818RTC_H #include <asm/io.h> #include <xen/spinlock.h>
@@ -117,4 +117,4 @@ outb_p((val),RTC_PORT(1)); \unsigned int rtc_guest_read (unsigned int port);void rtc_guest_write (unsigned int port,unsigned int data); -#endif /* _ASM_MC146818RTC_H */ +#endif /* ASM__X86__MC146818RTC_H */
xen/arch/x86/include/asm/mce.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _XEN_X86_MCE_H -#define _XEN_X86_MCE_H +#ifndef ASM__X86__MCE_H +#define ASM__X86__MCE_H #include <xen/spinlock.h> #include <xen/types.h>
xen/arch/x86/include/asm/mem_paging.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2009 Citrix Systems, Inc. (Patrick Colp) */ -#ifndef __ASM_X86_MEM_PAGING_H__ -#define __ASM_X86_MEM_PAGING_H__ +#ifndef ASM__X86__MEM_PAGING_H +#define ASM__X86__MEM_PAGING_H int mem_paging_memop (XEN_GUEST_HANDLE_PARAM (xen_mem_paging_op_t) arg);
@@ -18,7 +18,7 @@ int mem_paging_memop(XEN_GUEST_HANDLE_PARAM(xen_mem_paging_op_t) arg);# define mem_paging_enabled (d) false#endif -#endif /*__ASM_X86_MEM_PAGING_H__ */ +#endif /*ASM__X86__MEM_PAGING_H */ /* * Local variables:
xen/arch/x86/include/asm/mem_sharing.h +3 -3
@@ -6,8 +6,8 @@* * Copyright (c) 2009 Citrix Systems, Inc. (Grzegorz Milos) */ -#ifndef __MEM_SHARING_H__ -#define __MEM_SHARING_H__ +#ifndef ASM__X86__MEM_SHARING_H +#define ASM__X86__MEM_SHARING_H #include <public/domctl.h> #include <public/memory.h>
@@ -147,4 +147,4 @@ static inline int mem_sharing_fork_reset(struct domain *d, bool reset_state,#endif -#endif /* __MEM_SHARING_H__ */ +#endif /* ASM__X86__MEM_SHARING_H */
xen/arch/x86/include/asm/microcode.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef ASM_X86__MICROCODE_H -#define ASM_X86__MICROCODE_H +#ifndef ASM__X86__MICROCODE_H +#define ASM__X86__MICROCODE_H #include <xen/types.h> #include <xen/percpu.h>
@@ -30,4 +30,4 @@ int microcode_init_cache(unsigned long *module_map, const struct multiboot_info *mbi);int microcode_update_one (void ); -#endif /* ASM_X86__MICROCODE_H */ +#endif /* ASM__X86__MICROCODE_H */
xen/arch/x86/include/asm/mm.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __ASM_X86_MM_H__ -#define __ASM_X86_MM_H__ +#ifndef ASM__X86__MM_H +#define ASM__X86__MM_H #include <xen/list.h> #include <xen/spinlock.h>
@@ -628,4 +628,4 @@ static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) return (mfn + nr) <= (virt_to_mfn(eva - 1) + 1); } -#endif /* __ASM_X86_MM_H__ */ +#endif /* ASM__X86__MM_H */
xen/arch/x86/include/asm/mpspec.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_MPSPEC_H -#define __ASM_MPSPEC_H +#ifndef ASM__X86__MPSPEC_H +#define ASM__X86__MPSPEC_H #include <xen/cpumask.h> #include <asm/mpspec_def.h>
xen/arch/x86/include/asm/mpspec_def.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_MPSPEC_DEF_H -#define __ASM_MPSPEC_DEF_H +#ifndef ASM__X86__MPSPEC_DEF_H +#define ASM__X86__MPSPEC_DEF_H /* * Structure definitions for SMP machines following the
xen/arch/x86/include/asm/msi.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_MSI_H -#define __ASM_MSI_H +#ifndef ASM__X86__MSI_H +#define ASM__X86__MSI_H #include <xen/cpumask.h> #include <xen/pci.h>
@@ -251,4 +251,4 @@ void guest_mask_msi_irq(struct irq_desc *desc, bool mask); void cf_check ack_nonmaskable_msi_irq(struct irq_desc *desc); void cf_check set_msi_affinity(struct irq_desc *desc, const cpumask_t *mask); -#endif /* __ASM_MSI_H */ +#endif /* ASM__X86__MSI_H */
xen/arch/x86/include/asm/msr-index.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_MSR_INDEX_H -#define __ASM_MSR_INDEX_H +#ifndef ASM__X86__MSR_INDEX_H +#define ASM__X86__MSR_INDEX_H /* * CPU model specific register (MSR) numbers
@@ -698,4 +698,4 @@#define MSR_PKGC9_IRTL 0x00000634#define MSR_PKGC10_IRTL 0x00000635 -#endif /* __ASM_MSR_INDEX_H */ +#endif /* ASM__X86__MSR_INDEX_H */
xen/arch/x86/include/asm/msr.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_MSR_H -#define __ASM_MSR_H +#ifndef ASM__X86__MSR_H +#define ASM__X86__MSR_H #include "msr-index.h"
@@ -441,4 +441,4 @@ int init_vcpu_msr_policy(struct vcpu *v);int guest_rdmsr (struct vcpu *v,uint32_t msr,uint64_t *val);int guest_wrmsr (struct vcpu *v,uint32_t msr,uint64_t val); -#endif /* __ASM_MSR_H */ +#endif /* ASM__X86__MSR_H */
xen/arch/x86/include/asm/mtrr.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_MTRR_H__ -#define __ASM_X86_MTRR_H__ +#ifndef ASM__X86__MTRR_H +#define ASM__X86__MTRR_H #include <xen/mm.h>
@@ -85,4 +85,4 @@ extern bool pat_msr_set(uint64_t *pat, uint64_t msr);bool is_var_mtrr_overlapped (const struct mtrr_state *m);bool mtrr_pat_not_equal (const struct vcpu *vd,const struct vcpu *vs); -#endif /* __ASM_X86_MTRR_H__ */ +#endif /* ASM__X86__MTRR_H */
xen/arch/x86/include/asm/multicall.h +3 -3
@@ -2,11 +2,11 @@* asm-x86/multicall.h */ -#ifndef __ASM_X86_MULTICALL_H__ -#define __ASM_X86_MULTICALL_H__ +#ifndef ASM__X86__MULTICALL_H +#define ASM__X86__MULTICALL_H #include <xen/multicall.h> typeof (arch_do_multicall_call) pv_do_multicall_call, hvm_do_multicall_call; -#endif /* __ASM_X86_MULTICALL_H__ */ +#endif /* ASM__X86__MULTICALL_H */
xen/arch/x86/include/asm/mwait.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_MWAIT_H__ -#define __ASM_X86_MWAIT_H__ +#ifndef ASM__X86__MWAIT_H +#define ASM__X86__MWAIT_H #include <xen/types.h>
@@ -23,4 +23,4 @@ static inline bool mwait_pc10_supported(void) }#endif -#endif /* __ASM_X86_MWAIT_H__ */ +#endif /* ASM__X86__MWAIT_H */
xen/arch/x86/include/asm/nmi.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef ASM_NMI_H -#define ASM_NMI_H +#ifndef ASM__X86__NMI_H +#define ASM__X86__NMI_H #include <public/nmi.h>
@@ -43,4 +43,4 @@ void trigger_nmi_continuation(void);/* Check for NMI continuation pending. */ bool nmi_check_continuation (void ); -#endif /* ASM_NMI_H */ +#endif /* ASM__X86__NMI_H */
xen/arch/x86/include/asm/nops.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_ASM_NOPS_H__ -#define __X86_ASM_NOPS_H__ +#ifndef ASM__X86__NOPS_H +#define ASM__X86__NOPS_H /* * Define nops for use with alternative().
@@ -65,4 +65,4 @@#define ASM_NOP_MAX 9 -#endif /* __X86_ASM_NOPS_H__ */ +#endif /* ASM__X86__NOPS_H */
xen/arch/x86/include/asm/nospec.h +3 -3
@@ -1,8 +1,8 @@/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved. */ -#ifndef _ASM_X86_NOSPEC_H -#define _ASM_X86_NOSPEC_H +#ifndef ASM__X86__NOSPEC_H +#define ASM__X86__NOSPEC_H #include <asm/alternative.h>
@@ -88,7 +88,7 @@ static always_inline bool arch_lock_evaluate_nospec(bool condition) return barrier_lock_false(); } -#endif /* _ASM_X86_NOSPEC_H */ +#endif /* ASM__X86__NOSPEC_H */ /* * Local variables:
xen/arch/x86/include/asm/numa.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _ASM_X8664_NUMA_H -#define _ASM_X8664_NUMA_H 1 +#ifndef ASM__X86__NUMA_H +#define ASM__X86__NUMA_H 1#include <xen/cpumask.h>
xen/arch/x86/include/asm/p2m.h +4 -4
@@ -11,8 +11,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_ASM_X86_P2M_H -#define _XEN_ASM_X86_P2M_H +#ifndef ASM__X86__P2M_H +#define ASM__X86__P2M_H #include <xen/paging.h> #include <xen/mem_access.h>
@@ -392,7 +392,7 @@ struct p2m_domain {#define p2m_get_hostp2m (d) ((d)->arch.p2m)/* All common type definitions should live ahead of this inclusion. */ -#ifdef _XEN_P2M_COMMON_H +#ifdef XEN__P2M_COMMON_H # error "xen/p2m-common.h should not be included directly"#endif #include <xen/p2m-common.h>
@@ -1101,7 +1101,7 @@ static inline int p2m_entry_modify(struct p2m_domain *p2m, p2m_type_t nt,#endif /* CONFIG_HVM */ -#endif /* _XEN_ASM_X86_P2M_H */ +#endif /* ASM__X86__P2M_H */ /* * Local variables:
xen/arch/x86/include/asm/page-bits.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_PAGE_SHIFT_H__ -#define __X86_PAGE_SHIFT_H__ +#ifndef ASM__X86__PAGE_BITS_H +#define ASM__X86__PAGE_BITS_H #define L1_PAGETABLE_SHIFT 12#define L2_PAGETABLE_SHIFT 21
@@ -23,4 +23,4 @@#define PADDR_BITS 52#define VADDR_BITS 48 -#endif /* __X86_PAGE_SHIFT_H__ */ +#endif /* ASM__X86__PAGE_BITS_H */
xen/arch/x86/include/asm/page.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_PAGE_H__ -#define __X86_PAGE_H__ +#ifndef ASM__X86__PAGE_H +#define ASM__X86__PAGE_H #include <xen/const.h> #include <xen/page-size.h>
@@ -389,7 +389,7 @@ static inline void invalidate_icache(void)#endif /* !__ASSEMBLY__ */ -#endif /* __X86_PAGE_H__ */ +#endif /* ASM__X86__PAGE_H */ /* * Local variables:
xen/arch/x86/include/asm/paging.h +2 -2
@@ -9,8 +9,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_PAGING_H -#define _XEN_PAGING_H +#ifndef ASM__X86__PAGING_H +#define ASM__X86__PAGING_H #include <xen/mm.h> #include <public/domctl.h>
xen/arch/x86/include/asm/pci.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_PCI_H__ -#define __X86_PCI_H__ +#ifndef ASM__X86__PCI_H +#define ASM__X86__PCI_H #include <xen/mm.h>
@@ -67,4 +67,4 @@ static inline bool pci_check_bar(const struct pci_dev *pdev, return is_memory_hole(start, end); } -#endif /* __X86_PCI_H__ */ +#endif /* ASM__X86__PCI_H */
xen/arch/x86/include/asm/perfc.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_PERFC_H__ -#define __ASM_PERFC_H__ +#ifndef ASM__X86__PERFC_H +#define ASM__X86__PERFC_H static inline void arch_perfc_reset (void ) {
xen/arch/x86/include/asm/perfc_defn.h +3 -3
@@ -1,6 +1,6 @@/* This file is legitimately included multiple times. */ -/*#ifndef __XEN_PERFC_DEFN_H__*/ -/*#define __XEN_PERFC_DEFN_H__*/ +/*#ifndef ASM__X86__PERFC_DEFN_H*/ +/*#define ASM__X86__PERFC_DEFN_H*/ PERFCOUNTER_ARRAY (exceptions,"exceptions" ,32 )
@@ -131,4 +131,4 @@ PERFCOUNTER(iommu_pt_coalesces, "IOMMU page table coalesces") PERFCOUNTER(buslock, "Bus Locks Detected")PERFCOUNTER (vmnotify_crash,"domain crashes by Notify VM Exit" ) -/*#endif*/ /* __XEN_PERFC_DEFN_H__ */ +/*#endif*/ /* ASM__X86__PERFC_DEFN_H */
xen/arch/x86/include/asm/processor.h +3 -3
@@ -1,8 +1,8 @@/* Portions are: Copyright (c) 1994 Linus Torvalds */ -#ifndef __ASM_X86_PROCESSOR_H -#define __ASM_X86_PROCESSOR_H +#ifndef ASM__X86__PROCESSOR_H +#define ASM__X86__PROCESSOR_H #ifndef __ASSEMBLY__#include <xen/types.h>
@@ -529,7 +529,7 @@ void amd_check_zenbleed(void);#endif /* !__ASSEMBLY__ */ -#endif /* __ASM_X86_PROCESSOR_H */ +#endif /* ASM__X86__PROCESSOR_H */ /* * Local variables:
xen/arch/x86/include/asm/prot-key.h +3 -3
@@ -2,8 +2,8 @@/* * Copyright (c) 2021-2022 Citrix Systems Ltd. */ -#ifndef ASM_PROT_KEY_H -#define ASM_PROT_KEY_H +#ifndef ASM__X86__PROT_KEY_H +#define ASM__X86__PROT_KEY_H #include <xen/percpu.h> #include <xen/types.h>
@@ -82,4 +82,4 @@ static inline void wrpkrs_and_cache(uint32_t pkrs) wrmsr_ns(MSR_PKRS, pkrs, 0); } -#endif /* ASM_PROT_KEY_H */ +#endif /* ASM__X86__PROT_KEY_H */
xen/arch/x86/include/asm/psr.h +3 -3
@@ -13,8 +13,8 @@* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ -#ifndef __ASM_PSR_H__ -#define __ASM_PSR_H__ +#ifndef ASM__X86__PSR_H +#define ASM__X86__PSR_H #include <xen/types.h>
@@ -92,7 +92,7 @@ static inline void psr_domain_init(struct domain *d) {}static inline void psr_domain_free (struct domain *d) {}#endif -#endif /* __ASM_PSR_H__ */ +#endif /* ASM__X86__PSR_H */ /* * Local variables:
xen/arch/x86/include/asm/pt-contig-markers.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_X86_PT_CONTIG_MARKERS_H -#define __ASM_X86_PT_CONTIG_MARKERS_H +#ifndef ASM__X86__PT_CONTIG_MARKERS_H +#define ASM__X86__PT_CONTIG_MARKERS_H /* * Short of having function templates in C, the function defined below is
@@ -107,4 +107,4 @@ static bool pt_update_contig_markers(uint64_t *pt, unsigned int idx,#endif /* CONTIG_MASK */ -#endif /* __ASM_X86_PT_CONTIG_MARKERS_H */ +#endif /* ASM__X86__PT_CONTIG_MARKERS_H */
xen/arch/x86/include/asm/pv/domain.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2017 Wei Liu <[email protected]> */ -#ifndef __X86_PV_DOMAIN_H__ -#define __X86_PV_DOMAIN_H__ +#ifndef ASM__X86__PV__DOMAIN_H +#define ASM__X86__PV__DOMAIN_H #include <xen/sched.h>
@@ -110,7 +110,7 @@ static inline void pv_set_reg(struct vcpu *v, unsigned int reg, uint64_t val) void cf_check paravirt_ctxt_switch_from(struct vcpu *v); void cf_check paravirt_ctxt_switch_to(struct vcpu *v); -#endif /* __X86_PV_DOMAIN_H__ */ +#endif /* ASM__X86__PV__DOMAIN_H */ /* * Local variables:
xen/arch/x86/include/asm/pv/grant_table.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2017 Wei Liu <[email protected]> */ -#ifndef __X86_PV_GRANT_TABLE_H__ -#define __X86_PV_GRANT_TABLE_H__ +#ifndef ASM__X86__PV__GRANT_TABLE_H +#define ASM__X86__PV__GRANT_TABLE_H #ifdef CONFIG_PV
@@ -36,7 +36,7 @@ static inline int replace_grant_pv_mapping(uint64_t addr, mfn_t frame,#endif -#endif /* __X86_PV_GRANT_TABLE_H__ */ +#endif /* ASM__X86__PV__GRANT_TABLE_H */ /* * Local variables:
xen/arch/x86/include/asm/pv/mm.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2017 Wei Liu <[email protected]> */ -#ifndef __X86_PV_MM_H__ -#define __X86_PV_MM_H__ +#ifndef ASM__X86__PV__MM_H +#define ASM__X86__PV__MM_H #ifdef CONFIG_PV
@@ -46,4 +46,4 @@ static inline bool pv_destroy_ldt(struct vcpu *v)#endif -#endif /* __X86_PV_MM_H__ */ +#endif /* ASM__X86__PV__MM_H */
xen/arch/x86/include/asm/pv/shim.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017 Citrix Systems Ltd. */ -#ifndef __X86_PV_SHIM_H__ -#define __X86_PV_SHIM_H__ +#ifndef ASM__X86__PV__SHIM_H +#define ASM__X86__PV__SHIM_H #include <xen/hypercall.h> #include <xen/types.h>
@@ -98,7 +98,7 @@ pv_shim_reserved_pages(unsigned int *s)#endif -#endif /* __X86_PV_SHIM_H__ */ +#endif /* ASM__X86__PV__SHIM_H */ /* * Local variables:
xen/arch/x86/include/asm/pv/trace.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef XEN_X86_PV_TRACE_H -#define XEN_X86_PV_TRACE_H +#ifndef ASM__X86__PV__TRACE_H +#define ASM__X86__PV__TRACE_H #include <xen/trace.h>
@@ -45,4 +45,4 @@ static inline void trace_ptwr_emulation(unsigned long addr, l1_pgentry_t npte) __trace_ptwr_emulation(addr, npte); } -#endif /* XEN_X86_PV_TRACE_H */ +#endif /* ASM__X86__PV__TRACE_H */
xen/arch/x86/include/asm/pv/traps.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2017 Wei Liu <[email protected]> */ -#ifndef __X86_PV_TRAPS_H__ -#define __X86_PV_TRAPS_H__ +#ifndef ASM__X86__PV__TRAPS_H +#define ASM__X86__PV__TRAPS_H #ifdef CONFIG_PV
@@ -47,7 +47,7 @@ static inline bool pv_trap_callback_registered(const struct vcpu *v, }#endif /* CONFIG_PV */ -#endif /* __X86_PV_TRAPS_H__ */ +#endif /* ASM__X86__PV__TRAPS_H */ /* * Local variables:
xen/arch/x86/include/asm/random.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_RANDOM_H__ -#define __ASM_RANDOM_H__ +#ifndef ASM__X86__RANDOM_H +#define ASM__X86__RANDOM_H #include <asm/processor.h>
@@ -13,4 +13,4 @@ static inline unsigned int arch_get_random(void) return val; } -#endif /* __ASM_RANDOM_H__ */ +#endif /* ASM__X86__RANDOM_H */
xen/arch/x86/include/asm/regs.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __X86_REGS_H__ -#define __X86_REGS_H__ +#ifndef ASM__X86__REGS_H +#define ASM__X86__REGS_H #include <asm/x86_64/regs.h>
@@ -30,4 +30,4 @@ static inline void read_sregs(struct cpu_user_regs *regs) asm ( "mov %%gs, %0" : "=m" (regs->gs) ); } -#endif /* __X86_REGS_H__ */ +#endif /* ASM__X86__REGS_H */
xen/arch/x86/include/asm/setup.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __X86_SETUP_H_ -#define __X86_SETUP_H_ +#ifndef ASM__X86__SETUP_H +#define ASM__X86__SETUP_H #include <xen/multiboot.h> #include <asm/numa.h>
xen/arch/x86/include/asm/shadow.h +3 -3
@@ -19,8 +19,8 @@* along with this program; If not, see <http://www.gnu.org/licenses/>. */ -#ifndef _XEN_SHADOW_H -#define _XEN_SHADOW_H +#ifndef ASM__X86__SHADOW_H +#define ASM__X86__SHADOW_H #include <xen/sched.h> #include <xen/perfc.h>
@@ -271,7 +271,7 @@ static inline void shadow_remove_all_shadows(struct domain *d, mfn_t gmfn) sh_remove_shadows(d, gmfn, 0 /* Be thorough */, 1 /* Must succeed */); } -#endif /* _XEN_SHADOW_H */ +#endif /* ASM__X86__SHADOW_H */ /* * Local variables:
xen/arch/x86/include/asm/shared.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_X86_SHARED_H__ -#define __XEN_X86_SHARED_H__ +#ifndef ASM__X86__SHARED_H +#define ASM__X86__SHARED_H #ifdef CONFIG_COMPAT
@@ -83,4 +83,4 @@ GET_SET_VCPU(unsigned long, cr2)#undef GET_SET_VCPU#undef GET_SET_SHARED -#endif /* __XEN_X86_SHARED_H__ */ +#endif /* ASM__X86__SHARED_H */
xen/arch/x86/include/asm/shstk.h +3 -3
@@ -2,8 +2,8 @@/****************************************************************************** * Copyright (c) 2022 Citrix Systems Ltd. */ -#ifndef XEN_ASM_SHSTK_H -#define XEN_ASM_SHSTK_H +#ifndef ASM__X86__SHSTK_H +#define ASM__X86__SHSTK_H /* * RDSSP is a nop when shadow stacks are inactive. Also, SSP has a minimum
@@ -31,4 +31,4 @@ static inline void wrss(unsigned long val, unsigned long *ptr) : [val] "r" (val) ); } -#endif /* XEN_ASM_SHSTK_H */ +#endif /* ASM__X86__SHSTK_H */
xen/arch/x86/include/asm/smp.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_SMP_H -#define __ASM_SMP_H +#ifndef ASM__X86__SMP_H +#define ASM__X86__SMP_H /* * We need the APIC definitions automatically as part of 'smp.h'
xen/arch/x86/include/asm/softirq.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_SOFTIRQ_H__ -#define __ASM_SOFTIRQ_H__ +#ifndef ASM__X86__SOFTIRQ_H +#define ASM__X86__SOFTIRQ_H #define NMI_SOFTIRQ (NR_COMMON_SOFTIRQS + 0)#define TIME_CALIBRATE_SOFTIRQ (NR_COMMON_SOFTIRQS + 1)
@@ -11,4 +11,4 @@bool arch_skip_send_event_check (unsigned int cpu); -#endif /* __ASM_SOFTIRQ_H__ */ +#endif /* ASM__X86__SOFTIRQ_H */
xen/arch/x86/include/asm/spec_ctrl.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017-2018 Citrix Systems Ltd. */ -#ifndef __X86_SPEC_CTRL_H__ -#define __X86_SPEC_CTRL_H__ +#ifndef ASM__X86__SPEC_CTRL_H +#define ASM__X86__SPEC_CTRL_H /* * Encoding of Xen's speculation control flags in:
@@ -196,7 +196,7 @@ static always_inline void spec_ctrl_exit_idle(struct cpu_info *info) }#endif /* __ASSEMBLY__ */ -#endif /* !__X86_SPEC_CTRL_H__ */ +#endif /* !ASM__X86__SPEC_CTRL_H */ /* * Local variables:
xen/arch/x86/include/asm/spec_ctrl_asm.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2017-2018 Citrix Systems Ltd. */ -#ifndef __X86_SPEC_CTRL_ASM_H__ -#define __X86_SPEC_CTRL_ASM_H__ +#ifndef ASM__X86__SPEC_CTRL_ASM_H +#define ASM__X86__SPEC_CTRL_ASM_H #ifdef __ASSEMBLY__#include <asm/msr-index.h>
@@ -501,7 +501,7 @@ .endm#endif /* __ASSEMBLY__ */ -#endif /* !__X86_SPEC_CTRL_ASM_H__ */ +#endif /* !ASM__X86__SPEC_CTRL_ASM_H */ /* * Local variables:
xen/arch/x86/include/asm/spinlock.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H +#ifndef ASM__X86__SPINLOCK_H +#define ASM__X86__SPINLOCK_H #define _raw_read_unlock (l) \ BUILD_BUG_ON(sizeof((l)->lock) != 4);/* Clang doesn't support %z in asm. */ \
@@ -24,4 +24,4 @@arch_lock_signal (); \ }) -#endif /* __ASM_SPINLOCK_H */ +#endif /* ASM__X86__SPINLOCK_H */
xen/arch/x86/include/asm/string.h +3 -3
@@ -1,7 +1,7 @@ -#ifndef __X86_STRING_H__ -#define __X86_STRING_H__ +#ifndef ASM__X86__STRING_H +#define ASM__X86__STRING_H -#endif /* __X86_STRING_H__ */ +#endif /* ASM__X86__STRING_H */ /* * Local variables: * mode: C
xen/arch/x86/include/asm/system.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_SYSTEM_H -#define __ASM_SYSTEM_H +#ifndef ASM__X86__SYSTEM_H +#define ASM__X86__SYSTEM_H #include <xen/bitops.h> #include <xen/bug.h>
xen/arch/x86/include/asm/time.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __X86_TIME_H__ -#define __X86_TIME_H__ +#ifndef ASM__X86__TIME_H +#define ASM__X86__TIME_H #include <asm/msr.h>
@@ -92,4 +92,4 @@ u64 scale_delta(u64 delta, const struct time_scale *scale);#define PIT_STATUS_NULL_COUNT (1 << 6)/* Lower bits match Timer Control Word. */ -#endif /* __X86_TIME_H__ */ +#endif /* ASM__X86__TIME_H */
xen/arch/x86/include/asm/trampoline.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef X86_ASM_TRAMPOLINE_H -#define X86_ASM_TRAMPOLINE_H +#ifndef ASM__X86__TRAMPOLINE_H +#define ASM__X86__TRAMPOLINE_H /* * Data in or about the low memory trampoline.
@@ -92,4 +92,4 @@ extern uint8_t video_flags;extern uint16_t boot_edid_caps;extern uint8_t boot_edid_info[128 ]; -#endif /* X86_ASM_TRAMPOLINE_H */ +#endif /* ASM__X86__TRAMPOLINE_H */
xen/arch/x86/include/asm/traps.h +3 -3
@@ -4,12 +4,12 @@* Author: Christoph Egger <[email protected]> */ -#ifndef ASM_TRAP_H -#define ASM_TRAP_H +#ifndef ASM__X86__TRAPS_H +#define ASM__X86__TRAPS_H const char *vector_name (unsigned int vec); -#endif /* ASM_TRAP_H */ +#endif /* ASM__X86__TRAPS_H */ /* * Local variables:
xen/arch/x86/include/asm/types.h +3 -3
@@ -1,8 +1,8 @@ -#ifndef __X86_TYPES_H__ -#define __X86_TYPES_H__ +#ifndef ASM__X86__TYPES_H +#define ASM__X86__TYPES_H typedef unsigned long paddr_t ;#define INVALID_PADDR (~0UL)#define PRIpaddr "016lx" -#endif /* __X86_TYPES_H__ */ +#endif /* ASM__X86__TYPES_H */
xen/arch/x86/include/asm/uaccess.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __X86_UACCESS_H__ -#define __X86_UACCESS_H__ +#ifndef ASM__X86__UACCESS_H +#define ASM__X86__UACCESS_H #include <xen/compiler.h> #include <xen/errno.h>
@@ -427,4 +427,4 @@ extern void sort_exception_tables(void);extern void sort_exception_table (struct exception_table_entry *start,const struct exception_table_entry *stop); -#endif /* __X86_UACCESS_H__ */ +#endif /* ASM__X86__UACCESS_H */
xen/arch/x86/include/asm/vpmu.h +3 -3
@@ -7,8 +7,8 @@* Author: Haitao Shan <[email protected]> */ -#ifndef __ASM_X86_HVM_VPMU_H_ -#define __ASM_X86_HVM_VPMU_H_ +#ifndef ASM__X86__VPMU_H +#define ASM__X86__VPMU_H #include <public/pmu.h>
@@ -142,5 +142,5 @@ static inline int vpmu_allocate_context(struct vcpu *v) }#endif -#endif /* __ASM_X86_HVM_VPMU_H_*/ +#endif /* ASM__X86__VPMU_H*/
xen/arch/x86/include/asm/x86-defns.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_X86_DEFNS_H__ -#define __XEN_X86_DEFNS_H__ +#ifndef ASM__X86__X86_DEFNS_H +#define ASM__X86__X86_DEFNS_H /* * EFLAGS bits
@@ -204,4 +204,4 @@#define X86_MT_UCM 0x07/* UC- */ #define X86_NUM_MT 0x08 -#endif /* __XEN_X86_DEFNS_H__ */ +#endif /* ASM__X86__X86_DEFNS_H */
xen/arch/x86/include/asm/x86-vendors.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_X86_VENDORS_H__ -#define __XEN_X86_VENDORS_H__ +#ifndef ASM__X86__X86_VENDORS_H +#define ASM__X86__X86_VENDORS_H /* * CPU vendor IDs
@@ -36,4 +36,4 @@#define X86_VENDOR_HYGON_ECX _AC(0x656e6975, U)#define X86_VENDOR_HYGON_EDX _AC(0x6e65476e, U) -#endif /* __XEN_X86_VENDORS_H__ */ +#endif /* ASM__X86__X86_VENDORS_H */
xen/arch/x86/include/asm/x86_64/elf.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_64_ELF_H__ -#define __X86_64_ELF_H__ +#ifndef ASM__X86__X86_64__ELF_H +#define ASM__X86__X86_64__ELF_H #include <asm/msr.h> #include <asm/regs.h>
@@ -72,7 +72,7 @@ static inline void elf_core_save_regs(ELF_Gregset *core_regs, asm ( "mov %%cr4, %0" : "=r" (xen_core_regs->cr4) ); } -#endif /* __X86_64_ELF_H__ */ +#endif /* ASM__X86__X86_64__ELF_H */ /* * Local variables:
xen/arch/x86/include/asm/x86_64/page.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __X86_64_PAGE_H__ -#define __X86_64_PAGE_H__ +#ifndef ASM__X86__X86_64__PAGE_H +#define ASM__X86__X86_64__PAGE_H #define __XEN_VIRT_START XEN_VIRT_START
@@ -153,7 +153,7 @@ static inline intpte_t put_pte_flags(unsigned int x)#define PAGE_HYPERVISOR_WT (__PAGE_HYPERVISOR_WT | \ _PAGE_GLOBAL | _PAGE_NX) -#endif /* __X86_64_PAGE_H__ */ +#endif /* ASM__X86__X86_64__PAGE_H */ /* * Local variables:
xen/arch/x86/include/asm/x86_64/regs.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef _X86_64_REGS_H -#define _X86_64_REGS_H +#ifndef ASM__X86__X86_64__REGS_H +#define ASM__X86__X86_64__REGS_H #include <xen/types.h> #include <public/xen.h>
xen/arch/x86/include/asm/x86_64/system.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_64_SYSTEM_H__ -#define __X86_64_SYSTEM_H__ +#ifndef ASM__X86__X86_64__SYSTEM_H +#define ASM__X86__X86_64__SYSTEM_H #define cmpxchg (ptr,o,n) \ ((__typeof__(*(ptr)))__cmpxchg((ptr),(unsigned long)(o), \
@@ -59,4 +59,4 @@ static always_inline __uint128_t cmpxchg16b_local_(__cmpxchg16b (_p, (void *)(o), (void *)(n)); \ }) -#endif /* __X86_64_SYSTEM_H__ */ +#endif /* ASM__X86__X86_64__SYSTEM_H */
xen/arch/x86/include/asm/x86_64/uaccess.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __X86_64_UACCESS_H -#define __X86_64_UACCESS_H +#ifndef ASM__X86__X86_64__UACCESS_H +#define ASM__X86__X86_64__UACCESS_H /* * With CONFIG_SPECULATIVE_HARDEN_GUEST_ACCESS (apparent) PV guest accesses
@@ -68,4 +68,4 @@ extern void *xlat_malloc(unsigned long *xlat_page_current, size_t size); (likely ((count) < (~0U / (size))) && \ compat_access_ok(addr, 0 + (count) * (size))) -#endif /* __X86_64_UACCESS_H */ +#endif /* ASM__X86__X86_64__UACCESS_H */
xen/arch/x86/include/asm/x86_emulate.h +3 -3
@@ -9,8 +9,8 @@* Keir Fraser <[email protected]> */ -#ifndef __ASM_X86_X86_EMULATE_H__ -#define __ASM_X86_X86_EMULATE_H__ +#ifndef ASM__X86__X86_EMULATE_H +#define ASM__X86__X86_EMULATE_H #include <xen/types.h> #include <xen/lib.h>
@@ -19,4 +19,4 @@#include "../../x86_emulate/x86_emulate.h" -#endif /* __ASM_X86_X86_EMULATE_H__ */ +#endif /* ASM__X86__X86_EMULATE_H */
xen/arch/x86/include/asm/xenoprof.h +3 -3
@@ -7,8 +7,8 @@* VA Linux Systems Japan K.K. */ -#ifndef __ASM_X86_XENOPROF_H__ -#define __ASM_X86_XENOPROF_H__ +#ifndef ASM__X86__XENOPROF_H +#define ASM__X86__XENOPROF_H struct vcpu ;
@@ -82,7 +82,7 @@ static inline bool nmi_oprofile_send_virq(void)#endif /* CONFIG_XENOPROF */ -#endif /* __ASM_X86_XENOPROF_H__ */ +#endif /* ASM__X86__XENOPROF_H */ /* * Local variables:
xen/arch/x86/include/asm/xstate.h +3 -3
@@ -5,8 +5,8 @@* */ -#ifndef __ASM_XSTATE_H -#define __ASM_XSTATE_H +#ifndef ASM__X86__XSTATE_H +#define ASM__X86__XSTATE_H #include <xen/sched.h> #include <asm/cpufeature.h>
@@ -142,4 +142,4 @@ static inline bool xstate_all(const struct vcpu *v) (v->arch.xcr0_accum & XSTATE_LAZY & ~XSTATE_FP_SSE); } -#endif /* __ASM_XSTATE_H */ +#endif /* ASM__X86__XSTATE_H */
xen/arch/x86/mm/hap/private.h +3 -3
@@ -5,8 +5,8 @@* Copyright (c) 2007, AMD Corporation (Wei Huang) * */ -#ifndef __HAP_PRIVATE_H__ -#define __HAP_PRIVATE_H__ +#ifndef X86__MM__HAP__PRIVATE_H +#define X86__MM__HAP__PRIVATE_H #include "../mm-locks.h"
@@ -30,4 +30,4 @@ unsigned long cf_check hap_p2m_ga_to_gfn_4_levels( struct vcpu *v, struct p2m_domain *p2m, unsigned long cr3, paddr_t ga, uint32_t *pfec, unsigned int *page_order); -#endif /* __HAP_PRIVATE_H__ */ +#endif /* X86__MM__HAP__PRIVATE_H */
xen/arch/x86/mm/mm-locks.h +3 -3
@@ -10,8 +10,8 @@* Copyright (c) 2006 Michael A Fetterman */ -#ifndef _MM_LOCKS_H -#define _MM_LOCKS_H +#ifndef X86__MM__MM_LOCKS_H +#define X86__MM__MM_LOCKS_H /* Per-CPU variable for enforcing the lock ordering */ DECLARE_PER_CPU (int, mm_lock_level);
@@ -394,4 +394,4 @@ declare_mm_lock(paging)#define paging_unlock (d) mm_unlock(&(d)->arch.paging.lock)#define paging_locked_by_me (d) mm_locked_by_me(&(d)->arch.paging.lock) -#endif /* _MM_LOCKS_H */ +#endif /* X86__MM__MM_LOCKS_H */
xen/arch/x86/mm/p2m.h +3 -3
@@ -3,8 +3,8 @@* arch/x86/mm/p2m.h */ -#ifndef __ARCH_MM_P2M_H__ -#define __ARCH_MM_P2M_H__ +#ifndef X86__MM__P2M_H +#define X86__MM__P2M_H struct p2m_domain *p2m_init_one (struct domain *d);void p2m_free_one (struct p2m_domain *p2m);
@@ -33,7 +33,7 @@ int ept_p2m_init(struct p2m_domain *p2m);void ept_p2m_uninit (struct p2m_domain *p2m);void p2m_init_altp2m_ept (struct domain *d,unsigned int i); -#endif /* __ARCH_MM_P2M_H__ */ +#endif /* X86__MM__P2M_H */ /* * Local variables:
xen/arch/x86/mm/shadow/private.h +3 -3
@@ -8,8 +8,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_SHADOW_PRIVATE_H -#define _XEN_SHADOW_PRIVATE_H +#ifndef X86__MM__SHADOW__PRIVATE_H +#define X86__MM__SHADOW__PRIVATE_H // In order to override the definition of mfn_to_page, we make sure page.h has // been included...
@@ -912,7 +912,7 @@ static inline int sh_check_page_has_no_refs(struct page_info *page)/* Flush the TLB of the selected vCPUs. */ bool cf_check shadow_flush_tlb(const unsigned long *vcpu_bitmap); -#endif /* _XEN_SHADOW_PRIVATE_H */ +#endif /* X86__MM__SHADOW__PRIVATE_H */ /* * Local variables:
xen/arch/x86/mm/shadow/types.h +3 -3
@@ -7,8 +7,8 @@* Parts based on earlier work by Michael A Fetterman, Ian Pratt et al. */ -#ifndef _XEN_SHADOW_TYPES_H -#define _XEN_SHADOW_TYPES_H +#ifndef X86__MM__SHADOW__TYPES_H +#define X86__MM__SHADOW__TYPES_H /* The number of levels in the shadow pagetable is entirely determined * by the number of levels in the guest pagetable */
@@ -377,7 +377,7 @@ static inline uint32_t sh_l1e_mmio_get_flags(shadow_l1e_t sl1e)#endif /* SHOPT_FAST_FAULT_PATH */ -#endif /* _XEN_SHADOW_TYPES_H */ +#endif /* X86__MM__SHADOW__TYPES_H */ /* * Local variables:
xen/arch/x86/oprofile/op_counter.h +3 -3
@@ -7,8 +7,8 @@* @author John Levon */ -#ifndef OP_COUNTER_H -#define OP_COUNTER_H +#ifndef X86__OPROFILE__OP_COUNTER_H +#define X86__OPROFILE__OP_COUNTER_H #define OP_MAX_COUNTER 8
@@ -38,4 +38,4 @@ struct op_ibs_config {extern struct op_ibs_config ibs_config; -#endif /* OP_COUNTER_H */ +#endif /* X86__OPROFILE__OP_COUNTER_H */
xen/arch/x86/oprofile/op_x86_model.h +3 -3
@@ -8,8 +8,8 @@* @author Graydon Hoare */ -#ifndef OP_X86_MODEL_H -#define OP_X86_MODEL_H +#ifndef X86__OPROFILE__OP_X86_MODEL_H +#define X86__OPROFILE__OP_X86_MODEL_H struct op_msr { unsigned long addr;
@@ -55,4 +55,4 @@ void arch_perfmon_setup_counters(void);extern int ppro_has_global_ctrl;extern struct op_x86_model_spec const *model; -#endif /* OP_X86_MODEL_H */ +#endif /* X86__OPROFILE__OP_X86_MODEL_H */
xen/arch/x86/pv/emulate.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __PV_EMULATE_H__ -#define __PV_EMULATE_H__ +#ifndef X86__PV__EMULATE_H +#define X86__PV__EMULATE_H #include <xen/sched.h>
@@ -22,4 +22,4 @@ static inline const seg_desc_t *gdt_ldt_desc_ptr(unsigned int sel) return &tbl[sel >> 3]; } -#endif /* __PV_EMULATE_H__ */ +#endif /* X86__PV__EMULATE_H */
xen/arch/x86/pv/mm.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __PV_MM_H__ -#define __PV_MM_H__ +#ifndef X86__PV__MM_H +#define X86__PV__MM_H #include <asm/shadow.h>
@@ -181,4 +181,4 @@ static always_inline l4_pgentry_t adjust_guest_l4e(l4_pgentry_t l4e, return l4e; } -#endif /* __PV_MM_H__ */ +#endif /* X86__PV__MM_H */
xen/arch/x86/x86_emulate/x86_emulate.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2005-2007 XenSource Inc. */ -#ifndef __X86_EMULATE_H__ -#define __X86_EMULATE_H__ +#ifndef X86__X86_EMULATE__X86_EMULATE_H +#define X86__X86_EMULATE__X86_EMULATE_H #include <xen/lib/x86/cpu-policy.h>
@@ -846,4 +846,4 @@ static inline void x86_emul_reset_event(struct x86_emulate_ctxt *ctxt) ctxt->event = (struct x86_event){}; } -#endif /* __X86_EMULATE_H__ */ +#endif /* X86__X86_EMULATE__X86_EMULATE_H */
xen/include/public/arch-x86/cpufeatureset.h +3 -3
@@ -30,15 +30,15 @@ * Includer has not provided a custom XEN_CPUFEATURE(). Arrange for normal * header guards, an enum and constants in the XEN_X86_FEATURE_xxx namespace. */ -#ifndef __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ -#define __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ +#ifndef PUBLIC__ARCH_X86__CPUFEATURESET_H +#define PUBLIC__ARCH_X86__CPUFEATURESET_H #define XEN_CPUFEATURESET_DEFAULT_INCLUDE #define XEN_CPUFEATURE(name, value) XEN_X86_FEATURE_##name = value, enum { -#endif /* __XEN_PUBLIC_ARCH_X86_CPUFEATURESET_H__ */ +#endif /* PUBLIC__ARCH_X86__CPUFEATURESET_H */ #endif /* !XEN_CPUFEATURE */
xen/include/public/arch-x86/cpuid.h +3 -3
@@ -10,8 +10,8 @@* Keir Fraser <[email protected]> */ -#ifndef __XEN_PUBLIC_ARCH_X86_CPUID_H__ -#define __XEN_PUBLIC_ARCH_X86_CPUID_H__ +#ifndef PUBLIC__ARCH_X86__CPUID_H +#define PUBLIC__ARCH_X86__CPUID_H /* * For compatibility with other hypervisor interfaces, the Xen cpuid leaves
@@ -119,4 +119,4 @@#define XEN_CPUID_MAX_NUM_LEAVES 5 -#endif /* __XEN_PUBLIC_ARCH_X86_CPUID_H__ */ +#endif /* PUBLIC__ARCH_X86__CPUID_H */
xen/include/public/arch-x86/guest-acpi.h +3 -3
@@ -6,8 +6,8 @@* */ -#ifndef __XEN_PUBLIC_ARCH_X86_GUEST_ACPI_H__ -#define __XEN_PUBLIC_ARCH_X86_GUEST_ACPI_H__ +#ifndef PUBLIC__ARCH_X86__GUEST_ACPI_H +#define PUBLIC__ARCH_X86__GUEST_ACPI_H #ifdef __XEN_TOOLS__
@@ -20,7 +20,7 @@#endif /* __XEN_TOOLS__ */ -#endif /* __XEN_PUBLIC_ARCH_X86_GUEST_ACPI_H__ */ +#endif /* PUBLIC__ARCH_X86__GUEST_ACPI_H */ /* * Local variables:
xen/include/public/arch-x86/hvm/save.h +3 -3
@@ -6,8 +6,8 @@* Copyright (c) 2007 XenSource Ltd. */ -#ifndef __XEN_PUBLIC_HVM_SAVE_X86_H__ -#define __XEN_PUBLIC_HVM_SAVE_X86_H__ +#ifndef PUBLIC__ARCH_X86__HVM__SAVE_H +#define PUBLIC__ARCH_X86__HVM__SAVE_H #include "../../xen.h"
@@ -631,7 +631,7 @@ struct hvm_msr {*/ #define HVM_SAVE_CODE_MAX 20 -#endif /* __XEN_PUBLIC_HVM_SAVE_X86_H__ */ +#endif /* PUBLIC__ARCH_X86__HVM__SAVE_H */ /* * Local variables:
xen/include/public/arch-x86/hvm/start_info.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2016, Citrix Systems, Inc. */ -#ifndef __XEN_PUBLIC_ARCH_X86_HVM_START_INFO_H__ -#define __XEN_PUBLIC_ARCH_X86_HVM_START_INFO_H__ +#ifndef PUBLIC__ARCH_X86__HVM__START_INFO_H +#define PUBLIC__ARCH_X86__HVM__START_INFO_H /* * Start of day structure passed to PVH guests and to HVM guests in %ebx.
@@ -139,4 +139,4 @@ struct hvm_memmap_table_entry { uint32_t reserved; /* Must be zero for Version 1. */ }; -#endif /* __XEN_PUBLIC_ARCH_X86_HVM_START_INFO_H__ */ +#endif /* PUBLIC__ARCH_X86__HVM__START_INFO_H */
xen/include/public/arch-x86/pmu.h +3 -3
@@ -3,8 +3,8 @@* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. */ -#ifndef __XEN_PUBLIC_ARCH_X86_PMU_H__ -#define __XEN_PUBLIC_ARCH_X86_PMU_H__ +#ifndef PUBLIC__ARCH_X86__PMU_H +#define PUBLIC__ARCH_X86__PMU_H /* x86-specific PMU definitions */
@@ -129,7 +129,7 @@ struct xen_pmu_arch {typedef struct xen_pmu_arch xen_pmu_arch_t ;DEFINE_XEN_GUEST_HANDLE (xen_pmu_arch_t); -#endif /* __XEN_PUBLIC_ARCH_X86_PMU_H__ */ +#endif /* PUBLIC__ARCH_X86__PMU_H */ /* * Local variables: * mode: C
xen/include/public/arch-x86/xen-mca.h +3 -3
@@ -33,8 +33,8 @@* and tell Xen to trigger a machine check */ -#ifndef __XEN_PUBLIC_ARCH_X86_MCA_H__ -#define __XEN_PUBLIC_ARCH_X86_MCA_H__ +#ifndef PUBLIC__ARCH_X86__XEN_MCA_H +#define PUBLIC__ARCH_X86__XEN_MCA_H /* Hypercall */ #define __HYPERVISOR_mca __HYPERVISOR_arch_0
@@ -435,4 +435,4 @@ DEFINE_XEN_GUEST_HANDLE(xen_mc_t);#endif /* __ASSEMBLY__ */ -#endif /* __XEN_PUBLIC_ARCH_X86_MCA_H__ */ +#endif /* PUBLIC__ARCH_X86__XEN_MCA_H */
xen/include/public/arch-x86/xen-x86_32.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2004-2007, K A Fraser */ -#ifndef __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__ -#define __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__ +#ifndef PUBLIC__ARCH_X86__XEN_X86_32_H +#define PUBLIC__ARCH_X86__XEN_X86_32_H /* * Hypercall interface:
@@ -164,7 +164,7 @@ typedef struct xen_callback xen_callback_t;#endif /* !__ASSEMBLY__ */ -#endif /* __XEN_PUBLIC_ARCH_X86_XEN_X86_32_H__ */ +#endif /* PUBLIC__ARCH_X86__XEN_X86_32_H */ /* * Local variables:
xen/include/public/arch-x86/xen-x86_64.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2004-2006, K A Fraser */ -#ifndef __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__ -#define __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__ +#ifndef PUBLIC__ARCH_X86__XEN_X86_64_H +#define PUBLIC__ARCH_X86__XEN_X86_64_H /* * Hypercall interface:
@@ -211,7 +211,7 @@ typedef unsigned long xen_callback_t;#endif /* !__ASSEMBLY__ */ -#endif /* __XEN_PUBLIC_ARCH_X86_XEN_X86_64_H__ */ +#endif /* PUBLIC__ARCH_X86__XEN_X86_64_H */ /* * Local variables:
xen/include/public/arch-x86/xen.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2004-2006, K A Fraser */ -#ifndef __XEN_PUBLIC_ARCH_X86_XEN_H__ -#define __XEN_PUBLIC_ARCH_X86_XEN_H__ +#ifndef PUBLIC__ARCH_X86__XEN_H +#define PUBLIC__ARCH_X86__XEN_H /* Structural guest handles introduced in 0x00030201. */ #if __XEN_INTERFACE_VERSION__ >=0x00030201
@@ -363,7 +363,7 @@ DEFINE_XEN_GUEST_HANDLE(xen_msr_entry_t);*/ #define XEN_HVM_DEBUGCONS_IOPORT 0xe9 -#endif /* __XEN_PUBLIC_ARCH_X86_XEN_H__ */ +#endif /* PUBLIC__ARCH_X86__XEN_H */ /* * Local variables:
xen/include/xen/lib/x86/cpu-policy.h +3 -3
@@ -1,6 +1,6 @@/* Common data structures and functions consumed by hypervisor and toolstack */ -#ifndef XEN_LIB_X86_POLICIES_H -#define XEN_LIB_X86_POLICIES_H +#ifndef XEN__LIB__X86__CPU_POLICY_H +#define XEN__LIB__X86__CPU_POLICY_H #include <xen/lib/x86/cpuid-autogen.h>
@@ -542,7 +542,7 @@ int x86_cpu_policies_are_compatible(const struct cpu_policy *host,const struct cpu_policy *guest, struct cpu_policy_errors *err); -#endif /* !XEN_LIB_X86_POLICIES_H */ +#endif /* !XEN__LIB__X86__CPU_POLICY_H */ /* * Local variables:
xen/lib/x86/private.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef XEN_LIB_X86_PRIVATE_H -#define XEN_LIB_X86_PRIVATE_H +#ifndef LIB__X86__PRIVATE_H +#define LIB__X86__PRIVATE_H #ifdef __XEN__
@@ -65,7 +65,7 @@ static inline bool test_bit(unsigned int bit, const void *vaddr)#endif /* __XEN__ */ -#endif /* XEN_LIB_X86_PRIVATE_H */ +#endif /* LIB__X86__PRIVATE_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 12/20 xen: Update header guards - KEXEC
In reply to Frediano ZiglioUpdated headers related to KEXEC.
--- xen/include/xen/kexec.h | 6 +++--- xen/include/xen/kimage.h | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-)
xen/include/xen/kexec.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_KEXEC_H__ -#define __XEN_KEXEC_H__ +#ifndef XEN__KEXEC_H +#define XEN__KEXEC_H #include <xen/keyhandler.h>
@@ -94,7 +94,7 @@ static inline void set_kexec_crash_area_size(u64 system_ram) {}#endif -#endif /* __XEN_KEXEC_H__ */ +#endif /* XEN__KEXEC_H */ /* * Local variables:
xen/include/xen/kimage.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __XEN_KIMAGE_H__ -#define __XEN_KIMAGE_H__ +#ifndef XEN__KIMAGE_H +#define XEN__KIMAGE_H #define IND_DESTINATION 0x1#define IND_INDIRECTION 0x2
@@ -55,7 +55,7 @@ int kimage_build_ind(struct kexec_image *image, mfn_t ind_mfn,#endif /* __ASSEMBLY__ */ -#endif /* __XEN_KIMAGE_H__ */ +#endif /* XEN__KIMAGE_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 13/20 xen: Update header guards - Live patch
In reply to Frediano ZiglioUpdated headers related to live patching.
--- xen/arch/x86/include/asm/livepatch.h | 6 +++--- xen/include/xen/livepatch.h | 6 +++--- xen/include/xen/livepatch_elf.h | 6 +++--- xen/include/xen/livepatch_payload.h | 6 +++--- 4 files changed, 12 insertions(+), 12 deletions(-)
xen/arch/x86/include/asm/livepatch.h +3 -3
@@ -3,8 +3,8 @@* */ -#ifndef __XEN_X86_LIVEPATCH_H__ -#define __XEN_X86_LIVEPATCH_H__ +#ifndef ASM__X86__LIVEPATCH_H +#define ASM__X86__LIVEPATCH_H #include <xen/sizes.h> /* For SZ_* macros. */
@@ -12,7 +12,7 @@#define ARCH_LIVEPATCH_RANGE SZ_2G#define LIVEPATCH_FEATURE X86_FEATURE_ALWAYS -#endif /* __XEN_X86_LIVEPATCH_H__ */ +#endif /* ASM__X86__LIVEPATCH_H */ /* * Local variables:
xen/include/xen/livepatch.h +3 -3
@@ -3,8 +3,8 @@* */ -#ifndef __XEN_LIVEPATCH_H__ -#define __XEN_LIVEPATCH_H__ +#ifndef XEN__LIVEPATCH_H +#define XEN__LIVEPATCH_H struct livepatch_elf ;struct livepatch_elf_sec ;
@@ -167,7 +167,7 @@ static inline bool is_patch(const void *addr) }#endif /* CONFIG_LIVEPATCH */ -#endif /* __XEN_LIVEPATCH_H__ */ +#endif /* XEN__LIVEPATCH_H */ /* * Local variables:
xen/include/xen/livepatch_elf.h +3 -3
@@ -2,8 +2,8 @@* Copyright (C) 2016 Citrix Systems R&D Ltd. */ -#ifndef __XEN_LIVEPATCH_ELF_H__ -#define __XEN_LIVEPATCH_ELF_H__ +#ifndef XEN__LIVEPATCH_ELF_H +#define XEN__LIVEPATCH_ELF_H #include <xen/types.h> #include <xen/elfstructs.h>
@@ -52,7 +52,7 @@ static inline bool livepatch_elf_ignore_section(const Elf_Shdr *sec) {return !(sec->sh_flags &SHF_ALLOC ); } -#endif /* __XEN_LIVEPATCH_ELF_H__ */ +#endif /* XEN__LIVEPATCH_ELF_H */ /* * Local variables:
xen/include/xen/livepatch_payload.h +3 -3
@@ -2,8 +2,8 @@* Copyright (C) 2016 Citrix Systems R&D Ltd. */ -#ifndef __XEN_LIVEPATCH_PAYLOAD_H__ -#define __XEN_LIVEPATCH_PAYLOAD_H__ +#ifndef XEN__LIVEPATCH_PAYLOAD_H +#define XEN__LIVEPATCH_PAYLOAD_H #include <xen/virtual_region.h> /* To contain the ELF Note header. */
@@ -140,7 +140,7 @@ struct payload { livepatch_actioncall_t *__attribute__((weak, used)) \ const livepatch_revert_data_##_fn __section(".livepatch.hooks.revert") = _fn; -#endif /* __XEN_LIVEPATCH_PAYLOAD_H__ */ +#endif /* XEN__LIVEPATCH_PAYLOAD_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 15/20 xen: Update header guards - Public I/O
In reply to Frediano ZiglioUpdated headers related to public I/O interfaces.
--- xen/include/public/io/9pfs.h | 4 ++-- xen/include/public/io/blkif.h | 6 +++--- xen/include/public/io/cameraif.h | 6 +++--- xen/include/public/io/console.h | 6 +++--- xen/include/public/io/displif.h | 6 +++--- xen/include/public/io/fbif.h | 4 ++-- xen/include/public/io/fsif.h | 4 ++-- xen/include/public/io/kbdif.h | 6 +++--- xen/include/public/io/netif.h | 4 ++-- xen/include/public/io/pciif.h | 6 +++--- xen/include/public/io/protocols.h | 4 ++-- xen/include/public/io/pvcalls.h | 4 ++-- xen/include/public/io/ring.h | 6 +++--- xen/include/public/io/sndif.h | 6 +++--- xen/include/public/io/tpmif.h | 4 ++-- xen/include/public/io/usbif.h | 6 +++--- xen/include/public/io/vscsiif.h | 6 +++--- xen/include/public/io/xenbus.h | 6 +++--- xen/include/public/io/xs_wire.h | 6 +++--- 19 files changed, 50 insertions(+), 50 deletions(-)
xen/include/public/io/9pfs.h +2 -2
@@ -7,8 +7,8 @@* Copyright (C) 2017 Stefano Stabellini <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_9PFS_H__ -#define __XEN_PUBLIC_IO_9PFS_H__ +#ifndef PUBLIC__IO__9PFS_H +#define PUBLIC__IO__9PFS_H #include "../grant_table.h" #include "ring.h"
xen/include/public/io/blkif.h +3 -3
@@ -8,8 +8,8 @@* Copyright (c) 2012, Spectra Logic Corporation */ -#ifndef __XEN_PUBLIC_IO_BLKIF_H__ -#define __XEN_PUBLIC_IO_BLKIF_H__ +#ifndef PUBLIC__IO__BLKIF_H +#define PUBLIC__IO__BLKIF_H #include "ring.h" #include "../grant_table.h"
@@ -726,7 +726,7 @@ DEFINE_RING_TYPES(blkif, struct blkif_request, struct blkif_response);#define VDISK_REMOVABLE 0x2#define VDISK_READONLY 0x4 -#endif /* __XEN_PUBLIC_IO_BLKIF_H__ */ +#endif /* PUBLIC__IO__BLKIF_H */ /* * Local variables:
xen/include/public/io/cameraif.h +3 -3
@@ -9,8 +9,8 @@* Author: Oleksandr Andrushchenko <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_CAMERAIF_H__ -#define __XEN_PUBLIC_IO_CAMERAIF_H__ +#ifndef PUBLIC__IO__CAMERAIF_H +#define PUBLIC__IO__CAMERAIF_H #include "ring.h" #include "../grant_table.h"
@@ -1344,7 +1344,7 @@ struct xencamera_event_page {#define XENCAMERA_IN_RING_REF (page, idx) \ (XENCAMERA_IN_RING((page))[(idx) % XENCAMERA_IN_RING_LEN]) -#endif /* __XEN_PUBLIC_IO_CAMERAIF_H__ */ +#endif /* PUBLIC__IO__CAMERAIF_H */ /* * Local variables:
xen/include/public/io/console.h +3 -3
@@ -7,8 +7,8 @@* Copyright (c) 2005, Keir Fraser */ -#ifndef __XEN_PUBLIC_IO_CONSOLE_H__ -#define __XEN_PUBLIC_IO_CONSOLE_H__ +#ifndef PUBLIC__IO__CONSOLE_H +#define PUBLIC__IO__CONSOLE_H typedef uint32_t XENCONS_RING_IDX ;
@@ -26,7 +26,7 @@ struct xencons_interface {DEFINE_XEN_FLEX_RING (xencons);#endif -#endif /* __XEN_PUBLIC_IO_CONSOLE_H__ */ +#endif /* PUBLIC__IO__CONSOLE_H */ /* * Local variables:
xen/include/public/io/displif.h +3 -3
@@ -10,8 +10,8 @@* Oleksandr Grytsov <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_DISPLIF_H__ -#define __XEN_PUBLIC_IO_DISPLIF_H__ +#ifndef PUBLIC__IO__DISPLIF_H +#define PUBLIC__IO__DISPLIF_H #include "ring.h" #include "../grant_table.h"
@@ -927,7 +927,7 @@ struct xendispl_event_page {#define XENDISPL_IN_RING_REF (page, idx) \ (XENDISPL_IN_RING((page))[(idx) % XENDISPL_IN_RING_LEN]) -#endif /* __XEN_PUBLIC_IO_DISPLIF_H__ */ +#endif /* PUBLIC__IO__DISPLIF_H */ /* * Local variables:
xen/include/public/io/fbif.h +2 -2
@@ -6,8 +6,8 @@* Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_FBIF_H__ -#define __XEN_PUBLIC_IO_FBIF_H__ +#ifndef PUBLIC__IO__FBIF_H +#define PUBLIC__IO__FBIF_H /* Out events (frontend -> backend) */
xen/include/public/io/fsif.h +2 -2
@@ -7,8 +7,8 @@* Copyright (c) 2007, Grzegorz Milos, <[email protected]>. */ -#ifndef __XEN_PUBLIC_IO_FSIF_H__ -#define __XEN_PUBLIC_IO_FSIF_H__ +#ifndef PUBLIC__IO__FSIF_H +#define PUBLIC__IO__FSIF_H #include "ring.h" #include "../grant_table.h"
xen/include/public/io/kbdif.h +3 -3
@@ -6,8 +6,8 @@* Copyright (C) 2006 Red Hat, Inc., Markus Armbruster <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_KBDIF_H__ -#define __XEN_PUBLIC_IO_KBDIF_H__ +#ifndef PUBLIC__IO__KBDIF_H +#define PUBLIC__IO__KBDIF_H /* *****************************************************************************
@@ -546,7 +546,7 @@ struct xenkbd_page uint32_t out_cons, out_prod; }; -#endif /* __XEN_PUBLIC_IO_KBDIF_H__ */ +#endif /* PUBLIC__IO__KBDIF_H */ /* * Local variables:
xen/include/public/io/netif.h +2 -2
@@ -7,8 +7,8 @@* Copyright (c) 2003-2004, Keir Fraser */ -#ifndef __XEN_PUBLIC_IO_NETIF_H__ -#define __XEN_PUBLIC_IO_NETIF_H__ +#ifndef PUBLIC__IO__NETIF_H +#define PUBLIC__IO__NETIF_H #include "ring.h" #include "../grant_table.h"
xen/include/public/io/pciif.h +3 -3
@@ -4,8 +4,8 @@* * Author: Ryan Wilson <[email protected]> */ -#ifndef __XEN_PCI_COMMON_H__ -#define __XEN_PCI_COMMON_H__ +#ifndef PUBLIC__IO__PCIIF_H +#define PUBLIC__IO__PCIIF_H /* Be sure to bump this number if you change this file */ #define XEN_PCI_MAGIC "7"
@@ -95,7 +95,7 @@ struct xen_pci_sharedinfo { struct xen_pcie_aer_op aer_op; }; -#endif /* __XEN_PCI_COMMON_H__ */ +#endif /* PUBLIC__IO__PCIIF_H */ /* * Local variables:
xen/include/public/io/protocols.h +2 -2
@@ -5,8 +5,8 @@* Copyright (c) 2008, Keir Fraser */ -#ifndef __XEN_PROTOCOLS_H__ -#define __XEN_PROTOCOLS_H__ +#ifndef PUBLIC__IO__PROTOCOLS_H +#define PUBLIC__IO__PROTOCOLS_H #define XEN_IO_PROTO_ABI_X86_32 "x86_32-abi"#define XEN_IO_PROTO_ABI_X86_64 "x86_64-abi"
xen/include/public/io/pvcalls.h +2 -2
@@ -10,8 +10,8 @@* Copyright (C) 2017 Stefano Stabellini <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_PVCALLS_H__ -#define __XEN_PUBLIC_IO_PVCALLS_H__ +#ifndef PUBLIC__IO__PVCALLS_H +#define PUBLIC__IO__PVCALLS_H #include "../grant_table.h" #include "ring.h"
xen/include/public/io/ring.h +3 -3
@@ -7,8 +7,8 @@* Tim Deegan and Andrew Warfield November 2004. */ -#ifndef __XEN_PUBLIC_IO_RING_H__ -#define __XEN_PUBLIC_IO_RING_H__ +#ifndef PUBLIC__IO__RING_H +#define PUBLIC__IO__RING_H /* * When #include'ing this header, you need to provide the following
@@ -491,7 +491,7 @@ struct name##_data_intf { \ }; \ DEFINE_XEN_FLEX_RING(name) -#endif /* __XEN_PUBLIC_IO_RING_H__ */ +#endif /* PUBLIC__IO__RING_H */ /* * Local variables:
xen/include/public/io/sndif.h +3 -3
@@ -13,8 +13,8 @@* Iurii Konovalenko <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_SNDIF_H__ -#define __XEN_PUBLIC_IO_SNDIF_H__ +#ifndef PUBLIC__IO__SNDIF_H +#define PUBLIC__IO__SNDIF_H #include "ring.h" #include "../grant_table.h"
@@ -1061,7 +1061,7 @@ struct xensnd_event_page {#define XENSND_IN_RING_REF (page, idx) \ (XENSND_IN_RING((page))[(idx) % XENSND_IN_RING_LEN]) -#endif /* __XEN_PUBLIC_IO_SNDIF_H__ */ +#endif /* PUBLIC__IO__SNDIF_H */ /* * Local variables:
xen/include/public/io/tpmif.h +2 -2
@@ -14,8 +14,8 @@* Copyright (c) 2003-2004, Keir Fraser */ -#ifndef __XEN_PUBLIC_IO_TPMIF_H__ -#define __XEN_PUBLIC_IO_TPMIF_H__ +#ifndef PUBLIC__IO__TPMIF_H +#define PUBLIC__IO__TPMIF_H #include "../grant_table.h"
xen/include/public/io/usbif.h +3 -3
@@ -8,8 +8,8 @@* Author: Noboru Iwamatsu <[email protected]> */ -#ifndef __XEN_PUBLIC_IO_USBIF_H__ -#define __XEN_PUBLIC_IO_USBIF_H__ +#ifndef PUBLIC__IO__USBIF_H +#define PUBLIC__IO__USBIF_H #include "ring.h" #include "../grant_table.h"
@@ -405,4 +405,4 @@ typedef struct usbif_conn_response usbif_conn_response_t; DEFINE_RING_TYPES(usbif_conn, struct usbif_conn_request, struct usbif_conn_response);#define USB_CONN_RING_SIZE __CONST_RING_SIZE(usbif_conn, USBIF_RING_SIZE) -#endif /* __XEN_PUBLIC_IO_USBIF_H__ */ +#endif /* PUBLIC__IO__USBIF_H */
xen/include/public/io/vscsiif.h +3 -3
@@ -7,8 +7,8 @@* Copyright(c) FUJITSU Limited 2008. */ -#ifndef __XEN__PUBLIC_IO_SCSI_H__ -#define __XEN__PUBLIC_IO_SCSI_H__ +#ifndef PUBLIC__IO__VSCSIIF_H +#define PUBLIC__IO__VSCSIIF_H #include "ring.h" #include "../grant_table.h"
@@ -352,7 +352,7 @@ typedef struct vscsiif_response vscsiif_response_t; DEFINE_RING_TYPES(vscsiif, struct vscsiif_request, struct vscsiif_response); -#endif /*__XEN__PUBLIC_IO_SCSI_H__*/ +#endif /*PUBLIC__IO__VSCSIIF_H*/ /* * Local variables: * mode: C
xen/include/public/io/xenbus.h +3 -3
@@ -7,8 +7,8 @@* Copyright (C) 2005 XenSource Ltd. */ -#ifndef _XEN_PUBLIC_IO_XENBUS_H -#define _XEN_PUBLIC_IO_XENBUS_H +#ifndef PUBLIC__IO__XENBUS_H +#define PUBLIC__IO__XENBUS_H /* * The state of either end of the Xenbus, i.e. the current communication
@@ -50,7 +50,7 @@ enum xenbus_state { };typedef enum xenbus_state XenbusState ; -#endif /* _XEN_PUBLIC_IO_XENBUS_H */ +#endif /* PUBLIC__IO__XENBUS_H */ /* * Local variables:
xen/include/public/io/xs_wire.h +3 -3
@@ -6,8 +6,8 @@* Copyright (C) 2005 Rusty Russell IBM Corporation */ -#ifndef _XS_WIRE_H -#define _XS_WIRE_H +#ifndef PUBLIC__IO__XS_WIRE_H +#define PUBLIC__IO__XS_WIRE_H enum xsd_sockmsg_type {
@@ -134,7 +134,7 @@ struct xenstore_domain_interface {#define XENSTORE_ERROR_RINGIDX 2/* Invalid ring index */ #define XENSTORE_ERROR_PROTO 3/* Protocol violation (payload too long) */ -#endif /* _XS_WIRE_H */ +#endif /* PUBLIC__IO__XS_WIRE_H */ /* * Local variables:
Signature · 1 line
2.34.1
PATCH 14/20 xen: Update header guards - PPC 64
In reply to Frediano ZiglioUpdated headers related to PPC 64.
--- xen/arch/ppc/include/asm/asm-defns.h | 6 +++--- xen/arch/ppc/include/asm/atomic.h | 6 +++--- xen/arch/ppc/include/asm/bitops.h | 6 +++--- xen/arch/ppc/include/asm/boot.h | 6 +++--- xen/arch/ppc/include/asm/bug.h | 6 +++--- xen/arch/ppc/include/asm/byteorder.h | 6 +++--- xen/arch/ppc/include/asm/cache.h | 6 +++--- xen/arch/ppc/include/asm/config.h | 6 +++--- xen/arch/ppc/include/asm/cpufeature.h | 6 +++--- xen/arch/ppc/include/asm/current.h | 6 +++--- xen/arch/ppc/include/asm/domain.h | 6 +++--- xen/arch/ppc/include/asm/early_printk.h | 6 +++--- xen/arch/ppc/include/asm/event.h | 6 +++--- xen/arch/ppc/include/asm/flushtlb.h | 6 +++--- xen/arch/ppc/include/asm/guest_access.h | 6 +++--- xen/arch/ppc/include/asm/guest_atomics.h | 6 +++--- xen/arch/ppc/include/asm/io.h | 6 +++--- xen/arch/ppc/include/asm/iommu.h | 6 +++--- xen/arch/ppc/include/asm/irq.h | 6 +++--- xen/arch/ppc/include/asm/memory.h | 4 ++-- xen/arch/ppc/include/asm/mm.h | 6 +++--- xen/arch/ppc/include/asm/monitor.h | 6 +++--- xen/arch/ppc/include/asm/msr.h | 6 +++--- xen/arch/ppc/include/asm/nospec.h | 6 +++--- xen/arch/ppc/include/asm/opal-api.h | 6 +++--- xen/arch/ppc/include/asm/p2m.h | 6 +++--- xen/arch/ppc/include/asm/page-bits.h | 6 +++--- xen/arch/ppc/include/asm/page.h | 6 +++--- xen/arch/ppc/include/asm/processor.h | 6 +++--- xen/arch/ppc/include/asm/regs.h | 6 +++--- xen/arch/ppc/include/asm/setup.h | 6 +++--- xen/arch/ppc/include/asm/smp.h | 4 ++-- xen/arch/ppc/include/asm/spinlock.h | 6 +++--- xen/arch/ppc/include/asm/string.h | 6 +++--- xen/arch/ppc/include/asm/system.h | 4 ++-- xen/arch/ppc/include/asm/time.h | 6 +++--- xen/arch/ppc/include/asm/types.h | 6 +++--- 37 files changed, 108 insertions(+), 108 deletions(-)
xen/arch/ppc/include/asm/asm-defns.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-or-later */ -#ifndef _ASM_PPC_ASM_DEFNS_H -#define _ASM_PPC_ASM_DEFNS_H +#ifndef ASM__PPC__ASM_DEFNS_H +#define ASM__PPC__ASM_DEFNS_H #include <asm/asm-offsets.h> #include <xen/linkage.h>
@@ -75,4 +75,4 @@ name: \#define SAVE_NVGPRS (base) SAVE_GPRS(14, 31, base)#define REST_NVGPRS (base) REST_GPRS(14, 31, base) -#endif /* _ASM_PPC_ASM_DEFNS_H */ +#endif /* ASM__PPC__ASM_DEFNS_H */
xen/arch/ppc/include/asm/atomic.h +3 -3
@@ -7,8 +7,8 @@* Copyright Raptor Engineering LLC */ -#ifndef _ASM_PPC64_ATOMIC_H_ -#define _ASM_PPC64_ATOMIC_H_ +#ifndef ASM__PPC__ATOMIC_H +#define ASM__PPC__ATOMIC_H #include <xen/atomic.h>
@@ -382,4 +382,4 @@ static inline int atomic_add_unless(atomic_t *v, int a, int u) return __atomic_add_unless(v, a, u); } -#endif /* _ASM_PPC64_ATOMIC_H_ */ +#endif /* ASM__PPC__ATOMIC_H */
xen/arch/ppc/include/asm/bitops.h +3 -3
@@ -7,8 +7,8 @@* Reed, Pat McCarthy, Peter Bergner, Anton Blanchard. They * originally took it from the ppc32 code. */ -#ifndef _ASM_PPC_BITOPS_H -#define _ASM_PPC_BITOPS_H +#ifndef ASM__PPC__BITOPS_H +#define ASM__PPC__BITOPS_H #include <asm/memory.h>
@@ -126,4 +126,4 @@ static inline int test_and_set_bit(unsigned int nr, volatile void *addr)#define arch_hweightl (x) __builtin_popcountl(x) -#endif /* _ASM_PPC_BITOPS_H */ +#endif /* ASM__PPC__BITOPS_H */
xen/arch/ppc/include/asm/boot.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_BOOT_H -#define _ASM_PPC_BOOT_H +#ifndef ASM__PPC__BOOT_H +#define ASM__PPC__BOOT_H #include <xen/types.h>
@@ -15,4 +15,4 @@ struct opal {void boot_opal_init (const void *fdt); -#endif /* _ASM_PPC_BOOT_H */ +#endif /* ASM__PPC__BOOT_H */
xen/arch/ppc/include/asm/bug.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_BUG_H -#define _ASM_PPC_BUG_H +#ifndef ASM__PPC__BUG_H +#define ASM__PPC__BUG_H #include <xen/stringify.h> #include <asm/processor.h>
@@ -24,4 +24,4 @@/* TODO: implement this properly */ #define BUG_FRAME (type, line, ptr, second_frame, msg) do { } while (0) -#endif /* _ASM_PPC_BUG_H */ +#endif /* ASM__PPC__BUG_H */
xen/arch/ppc/include/asm/byteorder.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef _ASM_PPC_BYTEORDER_H -#define _ASM_PPC_BYTEORDER_H +#ifndef ASM__PPC__BYTEORDER_H +#define ASM__PPC__BYTEORDER_H #define __arch__swab16 __builtin_bswap16#define __arch__swab32 __builtin_bswap32
@@ -9,4 +9,4 @@#include <xen/byteorder/little_endian.h> -#endif /* _ASM_PPC_BYTEORDER_H */ +#endif /* ASM__PPC__BYTEORDER_H */
xen/arch/ppc/include/asm/cache.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_CACHE_H -#define _ASM_PPC_CACHE_H +#ifndef ASM__PPC__CACHE_H +#define ASM__PPC__CACHE_H -#endif /* _ASM_PPC_CACHE_H */ +#endif /* ASM__PPC__CACHE_H */
xen/arch/ppc/include/asm/config.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __PPC_CONFIG_H__ -#define __PPC_CONFIG_H__ +#ifndef ASM__PPC__CONFIG_H +#define ASM__PPC__CONFIG_H #include <xen/const.h> #include <xen/page-size.h>
@@ -58,7 +58,7 @@/* ELFv2 ABI mandates 16 byte alignment */ #define STACK_ALIGN 16 -#endif /* __PPC_CONFIG_H__ */ +#endif /* ASM__PPC__CONFIG_H */ /* * Local variables: * mode: C
xen/arch/ppc/include/asm/cpufeature.h +3 -3
@@ -1,10 +1,10 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_CPUFEATURE_H__ -#define __ASM_PPC_CPUFEATURE_H__ +#ifndef ASM__PPC__CPUFEATURE_H +#define ASM__PPC__CPUFEATURE_H static inline int cpu_nr_siblings (unsigned int cpu) {return 1 ; } -#endif /* __ASM_PPC_CPUFEATURE_H__ */ +#endif /* ASM__PPC__CPUFEATURE_H */
xen/arch/ppc/include/asm/current.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_CURRENT_H__ -#define __ASM_PPC_CURRENT_H__ +#ifndef ASM__PPC__CURRENT_H +#define ASM__PPC__CURRENT_H #include <xen/percpu.h>
@@ -46,4 +46,4 @@ static inline struct cpu_info *get_cpu_info(void)#endif /* __ASSEMBLY__ */ -#endif /* __ASM_PPC_CURRENT_H__ */ +#endif /* ASM__PPC__CURRENT_H */
xen/arch/ppc/include/asm/domain.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_DOMAIN_H__ -#define __ASM_PPC_DOMAIN_H__ +#ifndef ASM__PPC__DOMAIN_H +#define ASM__PPC__DOMAIN_H #include <xen/xmalloc.h> #include <public/hvm/params.h>
@@ -42,4 +42,4 @@ static inline void update_guest_memory_policy(struct vcpu *v,static inline void arch_vcpu_block (struct vcpu *v) {} -#endif /* __ASM_PPC_DOMAIN_H__ */ +#endif /* ASM__PPC__DOMAIN_H */
xen/arch/ppc/include/asm/early_printk.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_EARLY_PRINTK_H -#define _ASM_PPC_EARLY_PRINTK_H +#ifndef ASM__PPC__EARLY_PRINTK_H +#define ASM__PPC__EARLY_PRINTK_H #include <xen/early_printk.h>
@@ -12,4 +12,4 @@ static inline void early_printk_init(void (*putchar)(char)) {}static inline void early_printk (const char *s) {}#endif -#endif /* _ASM_PPC_EARLY_PRINTK_H */ +#endif /* ASM__PPC__EARLY_PRINTK_H */
xen/arch/ppc/include/asm/event.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_EVENT_H__ -#define __ASM_PPC_EVENT_H__ +#ifndef ASM__PPC__EVENT_H +#define ASM__PPC__EVENT_H #include <xen/lib.h>
@@ -33,4 +33,4 @@ static inline void local_event_delivery_enable(void) BUG_ON("unimplemented"); } -#endif /* __ASM_PPC_EVENT_H__ */ +#endif /* ASM__PPC__EVENT_H */
xen/arch/ppc/include/asm/flushtlb.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_FLUSHTLB_H__ -#define __ASM_PPC_FLUSHTLB_H__ +#ifndef ASM__PPC__FLUSHTLB_H +#define ASM__PPC__FLUSHTLB_H #include <xen/cpumask.h>
@@ -21,4 +21,4 @@ static inline void page_set_tlbflush_timestamp(struct page_info *page)/* Flush specified CPUs' TLBs */ void arch_flush_tlb_mask (const cpumask_t *mask); -#endif /* __ASM_PPC_FLUSHTLB_H__ */ +#endif /* ASM__PPC__FLUSHTLB_H */
xen/arch/ppc/include/asm/guest_access.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_GUEST_ACCESS_H__ -#define __ASM_PPC_GUEST_ACCESS_H__ +#ifndef ASM__PPC__GUEST_ACCESS_H +#define ASM__PPC__GUEST_ACCESS_H #include <xen/mm.h>
@@ -65,4 +65,4 @@ static inline int access_guest_memory_by_gpa(#define guest_handle_okay (hnd, nr) (1)#define guest_handle_subrange_okay (hnd, first, last) (1) -#endif /* __ASM_PPC_GUEST_ACCESS_H__ */ +#endif /* ASM__PPC__GUEST_ACCESS_H */
xen/arch/ppc/include/asm/guest_atomics.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_GUEST_ATOMICS_H__ -#define __ASM_PPC_GUEST_ATOMICS_H__ +#ifndef ASM__PPC__GUEST_ATOMICS_H +#define ASM__PPC__GUEST_ATOMICS_H #include <xen/lib.h>
@@ -20,4 +20,4 @@#define guest_test_and_clear_bit (d, nr, p) unimplemented_guest_bit_op(d, nr, p)#define guest_test_and_change_bit (d, nr, p) unimplemented_guest_bit_op(d, nr, p) -#endif /* __ASM_PPC_GUEST_ATOMICS_H__ */ +#endif /* ASM__PPC__GUEST_ATOMICS_H */
xen/arch/ppc/include/asm/io.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_IO_H__ -#define __ASM_PPC_IO_H__ +#ifndef ASM__PPC__IO_H +#define ASM__PPC__IO_H #include <xen/lib.h>
@@ -13,4 +13,4 @@#define writew (v,c) ({ (void)(v); (void)(c); BUG_ON("unimplemented"); })#define writel (v,c) ({ (void)(v); (void)(c); BUG_ON("unimplemented"); }) -#endif /* __ASM_PPC_IO_H__ */ +#endif /* ASM__PPC__IO_H */
xen/arch/ppc/include/asm/iommu.h +3 -3
@@ -1,8 +1,8 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_IOMMU_H__ -#define __ASM_PPC_IOMMU_H__ +#ifndef ASM__PPC__IOMMU_H +#define ASM__PPC__IOMMU_H struct arch_iommu { }; -#endif /* __ASM_PPC_IOMMU_H__ */ +#endif /* ASM__PPC__IOMMU_H */
xen/arch/ppc/include/asm/irq.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_IRQ_H__ -#define __ASM_PPC_IRQ_H__ +#ifndef ASM__PPC__IRQ_H +#define ASM__PPC__IRQ_H #include <xen/lib.h> #include <xen/device_tree.h>
@@ -30,4 +30,4 @@ static inline int platform_get_irq(const struct dt_device_node *device, int inde BUG_ON("unimplemented"); } -#endif /* __ASM_PPC_IRQ_H__ */ +#endif /* ASM__PPC__IRQ_H */
xen/arch/ppc/include/asm/memory.h +2 -2
@@ -5,8 +5,8 @@* Authors: Jimi Xenidis <[email protected]> */ -#ifndef _ASM_MEMORY_H_ -#define _ASM_MEMORY_H_ +#ifndef ASM__PPC__MEMORY_H +#define ASM__PPC__MEMORY_H #define PPC_ATOMIC_ENTRY_BARRIER "sync\n"#define PPC_ATOMIC_EXIT_BARRIER "sync\n"
xen/arch/ppc/include/asm/mm.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_MM_H -#define _ASM_PPC_MM_H +#ifndef ASM__PPC__MM_H +#define ASM__PPC__MM_H #include <public/xen.h> #include <xen/pdx.h>
@@ -256,4 +256,4 @@ static inline bool arch_mfns_in_directmap(unsigned long mfn, unsigned long nr) return true; } -#endif /* _ASM_PPC_MM_H */ +#endif /* ASM__PPC__MM_H */
xen/arch/ppc/include/asm/monitor.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ /* Derived from xen/arch/arm/include/asm/monitor.h */ -#ifndef __ASM_PPC_MONITOR_H__ -#define __ASM_PPC_MONITOR_H__ +#ifndef ASM__PPC__MONITOR_H +#define ASM__PPC__MONITOR_H #include <public/domctl.h> #include <xen/errno.h>
@@ -14,4 +14,4 @@ static inline uint32_t arch_monitor_get_capabilities(struct domain *d) return 0; } -#endif /* __ASM_PPC_MONITOR_H__ */ +#endif /* ASM__PPC__MONITOR_H */
xen/arch/ppc/include/asm/msr.h +3 -3
@@ -7,8 +7,8 @@* Shawn Anastasio <[email protected]> */ -#ifndef _ASM_PPC_MSR_H -#define _ASM_PPC_MSR_H +#ifndef ASM__PPC__MSR_H +#define ASM__PPC__MSR_H #include <xen/const.h>
@@ -48,4 +48,4 @@#define MSR_TRAP_NEXT _AC(0x0000000000010000, ULL)/* PC is next instruction */ #define MSR_TRAP_BITS (MSR_TRAP_FE|MSR_TRAP_IOP|MSR_TRAP_PRIV|MSR_TRAP) -#endif /* _ASM_PPC_MSR_H */ +#endif /* ASM__PPC__MSR_H */
xen/arch/ppc/include/asm/nospec.h +3 -3
@@ -1,7 +1,7 @@/* SPDX-License-Identifier: GPL-2.0-only */ /* From arch/arm/include/asm/nospec.h. */ -#ifndef __ASM_PPC_NOSPEC_H__ -#define __ASM_PPC_NOSPEC_H__ +#ifndef ASM__PPC__NOSPEC_H +#define ASM__PPC__NOSPEC_H static inline bool evaluate_nospec (bool condition) {
@@ -12,4 +12,4 @@ static inline void block_speculation(void) { } -#endif /* __ASM_PPC_NOSPEC_H__ */ +#endif /* ASM__PPC__NOSPEC_H */
xen/arch/ppc/include/asm/opal-api.h +3 -3
@@ -5,8 +5,8 @@* Copyright 2011-2015 IBM Corp. */ -#ifndef __OPAL_API_H -#define __OPAL_API_H +#ifndef ASM__PPC__OPAL_API_H +#define ASM__PPC__OPAL_API_H /****** OPAL APIs ******/
@@ -1187,4 +1187,4 @@ struct opal_mpipl_fadump {#endif /* __ASSEMBLY__ */ -#endif /* __OPAL_API_H */ +#endif /* ASM__PPC__OPAL_API_H */
xen/arch/ppc/include/asm/p2m.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_PPC_P2M_H__ -#define __ASM_PPC_P2M_H__ +#ifndef ASM__PPC__P2M_H +#define ASM__PPC__P2M_H #include <asm/page-bits.h>
@@ -93,4 +93,4 @@ static inline void p2m_altp2m_check(struct vcpu *v, uint16_t idx) /* Not supported on PPC. */ } -#endif /* __ASM_PPC_P2M_H__ */ +#endif /* ASM__PPC__P2M_H */
xen/arch/ppc/include/asm/page-bits.h +3 -3
@@ -1,8 +1,8 @@ -#ifndef __PPC_PAGE_BITS_H__ -#define __PPC_PAGE_BITS_H__ +#ifndef ASM__PPC__PAGE_BITS_H +#define ASM__PPC__PAGE_BITS_H #define PAGE_SHIFT 16/* 64 KiB Pages */ #define PADDR_BITS 53#define VADDR_BITS 52 -#endif /* __PPC_PAGE_BITS_H__ */ +#endif /* ASM__PPC__PAGE_BITS_H */
xen/arch/ppc/include/asm/page.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_PAGE_H -#define _ASM_PPC_PAGE_H +#ifndef ASM__PPC__PAGE_H +#define ASM__PPC__PAGE_H #include <xen/bitops.h> #include <xen/types.h>
@@ -196,4 +196,4 @@ static inline void flush_page_to_ram(unsigned long mfn, bool sync_icache) BUG_ON("unimplemented"); } -#endif /* _ASM_PPC_PAGE_H */ +#endif /* ASM__PPC__PAGE_H */
xen/arch/ppc/include/asm/processor.h +3 -3
@@ -9,8 +9,8 @@* Shawn Anastasio <[email protected]> */ -#ifndef _ASM_PPC_PROCESSOR_H -#define _ASM_PPC_PROCESSOR_H +#ifndef ASM__PPC__PROCESSOR_H +#define ASM__PPC__PROCESSOR_H #define IOBMP_BYTES 8192#define IOBMP_INVALID_OFFSET 0x8000
@@ -221,4 +221,4 @@ static inline void noreturn die(void)#endif /* __ASSEMBLY__ */ -#endif /* _ASM_PPC_PROCESSOR_H */ +#endif /* ASM__PPC__PROCESSOR_H */
xen/arch/ppc/include/asm/regs.h +3 -3
@@ -6,8 +6,8 @@* Christian Ehrhardt <[email protected]> */ -#ifndef _ASM_REG_DEFS_H_ -#define _ASM_REG_DEFS_H_ +#ifndef ASM__PPC__REGS_H +#define ASM__PPC__REGS_H /* Special Purpose Registers */ #define SPRN_VRSAVE 256
@@ -121,4 +121,4 @@#define LPCR_UPRT _AC(0x0000000000400000, UL)/* Use Process Table (ISA 3) */ #define LPCR_HR _AC(0x0000000000100000, UL) -#endif /* _ASM_REG_DEFS_H_ */ +#endif /* ASM__PPC__REGS_H */
xen/arch/ppc/include/asm/setup.h +3 -3
@@ -1,6 +1,6 @@ -#ifndef __ASM_PPC_SETUP_H__ -#define __ASM_PPC_SETUP_H__ +#ifndef ASM__PPC__SETUP_H +#define ASM__PPC__SETUP_H #define max_init_domid (0) -#endif /* __ASM_PPC_SETUP_H__ */ +#endif /* ASM__PPC__SETUP_H */
xen/arch/ppc/include/asm/smp.h +2 -2
@@ -1,5 +1,5 @@ -#ifndef __ASM_SMP_H -#define __ASM_SMP_H +#ifndef ASM__PPC__SMP_H +#define ASM__PPC__SMP_H #include <xen/cpumask.h> #include <xen/percpu.h>
xen/arch/ppc/include/asm/spinlock.h +3 -3
@@ -1,5 +1,5 @@ -#ifndef __ASM_SPINLOCK_H -#define __ASM_SPINLOCK_H +#ifndef ASM__PPC__SPINLOCK_H +#define ASM__PPC__SPINLOCK_H #define arch_lock_acquire_barrier () smp_mb()#define arch_lock_release_barrier () smp_mb()
@@ -12,4 +12,4 @@arch_lock_signal (); \ }) -#endif /* __ASM_SPINLOCK_H */ +#endif /* ASM__PPC__SPINLOCK_H */
xen/arch/ppc/include/asm/string.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef _ASM_PPC_STRING_H -#define _ASM_PPC_STRING_H +#ifndef ASM__PPC__STRING_H +#define ASM__PPC__STRING_H -#endif /* _ASM_PPC_STRING_H */ +#endif /* ASM__PPC__STRING_H */
xen/arch/ppc/include/asm/system.h +2 -2
@@ -7,8 +7,8 @@* Shawn Anastasio <[email protected]> */ -#ifndef _ASM_SYSTEM_H_ -#define _ASM_SYSTEM_H_ +#ifndef ASM__PPC__SYSTEM_H +#define ASM__PPC__SYSTEM_H #include <xen/lib.h> #include <asm/memory.h>
xen/arch/ppc/include/asm/time.h +3 -3
@@ -1,6 +1,6 @@/* SPDX-License-Identifier: GPL-2.0-only */ -#ifndef __ASM_PPC_TIME_H__ -#define __ASM_PPC_TIME_H__ +#ifndef ASM__PPC__TIME_H +#define ASM__PPC__TIME_H #include <xen/bug.h> #include <asm/processor.h>
@@ -20,4 +20,4 @@ static inline cycles_t get_cycles(void) return mfspr(SPRN_TBRL); } -#endif /* __ASM_PPC_TIME_H__ */ +#endif /* ASM__PPC__TIME_H */
xen/arch/ppc/include/asm/types.h +3 -3
@@ -1,11 +1,11 @@/* from xen/arch/x86/include/asm/types.h */ -#ifndef _ASM_PPC_TYPES_H -#define _ASM_PPC_TYPES_H +#ifndef ASM__PPC__TYPES_H +#define ASM__PPC__TYPES_H typedef unsigned long paddr_t ;typedef unsigned long vaddr_t ;#define INVALID_PADDR (~0UL)#define PRIpaddr "016lx" -#endif /* _ASM_PPC_TYPES_H */ +#endif /* ASM__PPC__TYPES_H */
Signature · 1 line
2.34.1
PATCH 17/20 xen: Update header guards - Scheduling
In reply to Frediano ZiglioUpdated headers related to scheduling.
--- xen/common/sched/private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
xen/common/sched/private.h +3 -3
@@ -5,8 +5,8 @@* Portions by Mark Williamson are (C) 2004 Intel Research Cambridge */ -#ifndef __XEN_SCHED_IF_H__ -#define __XEN_SCHED_IF_H__ +#ifndef COMMON__SCHED__PRIVATE_H +#define COMMON__SCHED__PRIVATE_H #include <xen/err.h> #include <xen/list.h>
@@ -666,4 +666,4 @@ void cpupool_put(struct cpupool *pool);int cpupool_add_domain (struct domain *d,unsigned int poolid);void cpupool_rm_domain (struct domain *d); -#endif /* __XEN_SCHED_IF_H__ */ +#endif /* COMMON__SCHED__PRIVATE_H */
Signature · 1 line
2.34.1
PATCH 20/20 xen: Update header guards - XSM/Flask
In reply to Frediano ZiglioUpdated headers related to XSM/Flask.
--- xen/include/xsm/dummy.h | 6 +++--- xen/include/xsm/xsm.h | 4 ++-- xen/xsm/flask/include/avc.h | 6 +++--- xen/xsm/flask/include/avc_ss.h | 6 +++--- xen/xsm/flask/include/conditional.h | 4 ++-- xen/xsm/flask/include/objsec.h | 6 +++--- xen/xsm/flask/include/security.h | 6 +++--- xen/xsm/flask/private.h | 6 +++--- xen/xsm/flask/ss/avtab.h | 6 +++--- xen/xsm/flask/ss/conditional.h | 6 +++--- xen/xsm/flask/ss/constraint.h | 6 +++--- xen/xsm/flask/ss/context.h | 6 +++--- xen/xsm/flask/ss/ebitmap.h | 6 +++--- xen/xsm/flask/ss/hashtab.h | 4 ++-- xen/xsm/flask/ss/mls.h | 4 ++-- xen/xsm/flask/ss/mls_types.h | 6 +++--- xen/xsm/flask/ss/policydb.h | 6 +++--- xen/xsm/flask/ss/services.h | 6 +++--- xen/xsm/flask/ss/sidtab.h | 6 +++--- xen/xsm/flask/ss/symtab.h | 6 +++--- 20 files changed, 56 insertions(+), 56 deletions(-)
xen/include/xsm/dummy.h +3 -3
@@ -15,8 +15,8 @@* value of action. */ -#ifndef __XEN_XSM_DUMMY_H__ -#define __XEN_XSM_DUMMY_H__ +#ifndef XSM__DUMMY_H +#define XSM__DUMMY_H #include <xen/sched.h> #include <xsm/xsm.h>
@@ -847,4 +847,4 @@ static XSM_INLINE int cf_check xsm_domain_resource_map( return xsm_default_action(action, current->domain, d); } -#endif /* __XEN_XSM_DUMMY_H__ */ +#endif /* XSM__DUMMY_H */
xen/include/xsm/xsm.h +2 -2
@@ -12,8 +12,8 @@* as published by the Free Software Foundation. */ -#ifndef __XSM_H__ -#define __XSM_H__ +#ifndef XSM__XSM_H +#define XSM__XSM_H #include <xen/alternative-call.h> #include <xen/sched.h>
xen/xsm/flask/include/avc.h +3 -3
@@ -6,8 +6,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _FLASK_AVC_H_ -#define _FLASK_AVC_H_ +#ifndef XSM__FLASK__INCLUDE__AVC_H +#define XSM__FLASK__INCLUDE__AVC_H #include <xen/errno.h> #include <xen/lib.h>
@@ -100,5 +100,5 @@ extern unsigned int avc_cache_threshold; DECLARE_PER_CPU(struct avc_cache_stats, avc_cache_stats);#endif -#endif /* _FLASK_AVC_H_ */ +#endif /* XSM__FLASK__INCLUDE__AVC_H */
xen/xsm/flask/include/avc_ss.h +3 -3
@@ -3,8 +3,8 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _FLASK_AVC_SS_H_ -#define _FLASK_AVC_SS_H_ +#ifndef XSM__FLASK__INCLUDE__AVC_SS_H +#define XSM__FLASK__INCLUDE__AVC_SS_H #include "flask.h"
@@ -25,5 +25,5 @@ struct selinux_class_perm {extern const struct selinux_class_perm selinux_class_perm; -#endif /* _FLASK_AVC_SS_H_ */ +#endif /* XSM__FLASK__INCLUDE__AVC_SS_H */
xen/xsm/flask/include/conditional.h +2 -2
@@ -10,8 +10,8 @@* the Free Software Foundation, version 2. */ -#ifndef _FLASK_CONDITIONAL_H_ -#define _FLASK_CONDITIONAL_H_ +#ifndef XSM__FLASK__INCLUDE__CONDITIONAL_H +#define XSM__FLASK__INCLUDE__CONDITIONAL_H #include <xen/types.h>
xen/xsm/flask/include/objsec.h +3 -3
@@ -10,8 +10,8 @@* as published by the Free Software Foundation. */ -#ifndef _FLASK_OBJSEC_H_ -#define _FLASK_OBJSEC_H_ +#ifndef XSM__FLASK__INCLUDE__OBJSEC_H +#define XSM__FLASK__INCLUDE__OBJSEC_H #include <xen/sched.h> #include "flask.h"
@@ -23,4 +23,4 @@ struct domain_security_struct { u32 target_sid; /* SID for device model target domain */ }; -#endif /* _FLASK_OBJSEC_H_ */ +#endif /* XSM__FLASK__INCLUDE__OBJSEC_H */
xen/xsm/flask/include/security.h +3 -3
@@ -7,8 +7,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _FLASK_SECURITY_H_ -#define _FLASK_SECURITY_H_ +#ifndef XSM__FLASK__INCLUDE__SECURITY_H +#define XSM__FLASK__INCLUDE__SECURITY_H #include "flask.h"
@@ -107,4 +107,4 @@ int security_ocontext_add(u32 ocontext, unsigned long low,int security_ocontext_del (u32 ocontext,unsigned long low,unsigned long high);int security_devicetree_setlabel (char *path,u32 sid); -#endif /* _FLASK_SECURITY_H_ */ +#endif /* XSM__FLASK__INCLUDE__SECURITY_H */
xen/xsm/flask/private.h +3 -3
@@ -1,9 +1,9 @@ -#ifndef XSM_FLASK_PRIVATE -#define XSM_FLASK_PRIVATE +#ifndef XSM__FLASK__PRIVATE_H +#define XSM__FLASK__PRIVATE_H #include <public/xen.h> long cf_check do_flask_op (XEN_GUEST_HANDLE_PARAM (void ) u_flask_op); int cf_check compat_flask_op(XEN_GUEST_HANDLE_PARAM(void) u_flask_op); -#endif /* XSM_FLASK_PRIVATE */ +#endif /* XSM__FLASK__PRIVATE_H */
xen/xsm/flask/ss/avtab.h +3 -3
@@ -23,8 +23,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _SS_AVTAB_H_ -#define _SS_AVTAB_H_ +#ifndef XSM__FLASK__SS__AVTAB_H +#define XSM__FLASK__SS__AVTAB_H struct avtab_key { u16 source_type; /* source type */
@@ -87,5 +87,5 @@ struct avtab_node *avtab_search_node_next(struct avtab_node *node,#define MAX_AVTAB_HASH_MASK (MAX_AVTAB_HASH_BUCKETS-1)#define MAX_AVTAB_SIZE MAX_AVTAB_HASH_BUCKETS -#endif /* _SS_AVTAB_H_ */ +#endif /* XSM__FLASK__SS__AVTAB_H */
xen/xsm/flask/ss/conditional.h +3 -3
@@ -7,8 +7,8 @@* the Free Software Foundation, version 2. */ -#ifndef _CONDITIONAL_H_ -#define _CONDITIONAL_H_ +#ifndef XSM__FLASK__SS__CONDITIONAL_H +#define XSM__FLASK__SS__CONDITIONAL_H #include "avtab.h" #include "symtab.h"
@@ -74,4 +74,4 @@ void cond_compute_av(struct avtab *ctab, struct avtab_key *key, struct av_decisiint evaluate_cond_node (struct policydb *p,struct cond_node *node); -#endif /* _CONDITIONAL_H_ */ +#endif /* XSM__FLASK__SS__CONDITIONAL_H */
xen/xsm/flask/ss/constraint.h +3 -3
@@ -12,8 +12,8 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _SS_CONSTRAINT_H_ -#define _SS_CONSTRAINT_H_ +#ifndef XSM__FLASK__SS__CONSTRAINT_H +#define XSM__FLASK__SS__CONSTRAINT_H #include "ebitmap.h"
@@ -58,4 +58,4 @@ struct constraint_node { struct constraint_node *next; /* next constraint */ }; -#endif /* _SS_CONSTRAINT_H_ */ +#endif /* XSM__FLASK__SS__CONSTRAINT_H */
xen/xsm/flask/ss/context.h +3 -3
@@ -15,8 +15,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _SS_CONTEXT_H_ -#define _SS_CONTEXT_H_ +#ifndef XSM__FLASK__SS__CONTEXT_H +#define XSM__FLASK__SS__CONTEXT_H #include "ebitmap.h" #include "mls_types.h"
@@ -129,5 +129,5 @@ static inline int context_cmp(struct context *c1, struct context *c2) mls_context_cmp(c1, c2)); } -#endif /* _SS_CONTEXT_H_ */ +#endif /* XSM__FLASK__SS__CONTEXT_H */
xen/xsm/flask/ss/ebitmap.h +3 -3
@@ -11,8 +11,8 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _SS_EBITMAP_H_ -#define _SS_EBITMAP_H_ +#ifndef XSM__FLASK__SS__EBITMAP_H +#define XSM__FLASK__SS__EBITMAP_H #include <xen/bitmap.h> #include <xen/bug.h>
@@ -127,4 +127,4 @@ int ebitmap_set_bit(struct ebitmap *e, unsigned long bit, int value);void ebitmap_destroy (struct ebitmap *e);int ebitmap_read (struct ebitmap *e,void *fp); -#endif /* _SS_EBITMAP_H_ */ +#endif /* XSM__FLASK__SS__EBITMAP_H */
xen/xsm/flask/ss/hashtab.h +2 -2
@@ -7,8 +7,8 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _SS_HASHTAB_H_ -#define _SS_HASHTAB_H_ +#ifndef XSM__FLASK__SS__HASHTAB_H +#define XSM__FLASK__SS__HASHTAB_H #define HASHTAB_MAX_NODES 0xffffffff
xen/xsm/flask/ss/mls.h +2 -2
@@ -11,8 +11,8 @@* Copyright (C) 2004-2006 Trusted Computer Solutions, Inc. */ -#ifndef _SS_MLS_H_ -#define _SS_MLS_H_ +#ifndef XSM__FLASK__SS__MLS_H +#define XSM__FLASK__SS__MLS_H #include "context.h" #include "policydb.h"
xen/xsm/flask/ss/mls_types.h +3 -3
@@ -13,8 +13,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _SS_MLS_TYPES_H_ -#define _SS_MLS_TYPES_H_ +#ifndef XSM__FLASK__SS__MLS_TYPES_H +#define XSM__FLASK__SS__MLS_TYPES_H #include "security.h"
@@ -55,4 +55,4 @@ static inline int mls_level_dom(struct mls_level *l1, struct mls_level *l2) (mls_level_dom (&(r2).level[0 ], &(r1).level[0 ]) && \ mls_level_dom(&(r1).level[1], &(r2).level[1])) -#endif /* _SS_MLS_TYPES_H_ */ +#endif /* XSM__FLASK__SS__MLS_TYPES_H */
xen/xsm/flask/ss/policydb.h +3 -3
@@ -23,8 +23,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _SS_POLICYDB_H_ -#define _SS_POLICYDB_H_ +#ifndef XSM__FLASK__SS__POLICYDB_H +#define XSM__FLASK__SS__POLICYDB_H #include "symtab.h" #include "avtab.h"
@@ -292,5 +292,5 @@ static inline int next_entry(void *buf, struct policy_file *fp, size_t bytes) return 0; } -#endif /* _SS_POLICYDB_H_ */ +#endif /* XSM__FLASK__SS__POLICYDB_H */
xen/xsm/flask/ss/services.h +3 -3
@@ -3,13 +3,13 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _SS_SERVICES_H_ -#define _SS_SERVICES_H_ +#ifndef XSM__FLASK__SS__SERVICES_H +#define XSM__FLASK__SS__SERVICES_H #include "policydb.h" #include "sidtab.h" extern struct policydb policydb; -#endif /* _SS_SERVICES_H_ */ +#endif /* XSM__FLASK__SS__SERVICES_H */
xen/xsm/flask/ss/sidtab.h +3 -3
@@ -7,8 +7,8 @@/* Ported to Xen 3.0, George Coker, <[email protected]> */ -#ifndef _SS_SIDTAB_H_ -#define _SS_SIDTAB_H_ +#ifndef XSM__FLASK__SS__SIDTAB_H +#define XSM__FLASK__SS__SIDTAB_H #include "context.h" #include <xen/spinlock.h>
@@ -50,4 +50,4 @@ void sidtab_destroy(struct sidtab *s);void sidtab_set (struct sidtab *dst,struct sidtab *src);void sidtab_shutdown (struct sidtab *s); -#endif /* _SS_SIDTAB_H_ */ +#endif /* XSM__FLASK__SS__SIDTAB_H */
xen/xsm/flask/ss/symtab.h +3 -3
@@ -6,8 +6,8 @@* * Author : Stephen Smalley, <[email protected]> */ -#ifndef _SS_SYMTAB_H_ -#define _SS_SYMTAB_H_ +#ifndef XSM__FLASK__SS__SYMTAB_H +#define XSM__FLASK__SS__SYMTAB_H #include "hashtab.h"
@@ -18,6 +18,6 @@ struct symtab {int symtab_init (struct symtab *s,unsigned int size); -#endif /* _SS_SYMTAB_H_ */ +#endif /* XSM__FLASK__SS__SYMTAB_H */
Signature · 1 line
2.34.1