[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [XEN PATCH v3 00/15] xen: fix violations of MISRA C:2012 Rule 7.2
On 12.07.2023 12:32, Simone Ballarin wrote: > Changes to macros 'X86_CR0_PG' and 'MSR_EFER' in files > "xen/arch/x86/include/asm/x86-defns.h" and > "xen/arch/x86/include/asm/msr-index.h" > are not made since they are used also in assembly files. Following on from yesterday's remark here: Both files are touched anyway, as per ... > xen/arch/arm/domain_build.c | 4 +- > xen/arch/arm/efi/efi-boot.h | 2 +- > xen/arch/arm/gic-v2.c | 6 +- > xen/arch/arm/gic-v3.c | 10 +- > xen/arch/arm/include/asm/arm64/brk.h | 2 +- > xen/arch/arm/include/asm/arm64/efibind.h | 10 +- > xen/arch/arm/include/asm/arm64/insn.h | 16 +- > xen/arch/arm/include/asm/vreg.h | 2 +- > xen/arch/arm/kernel.c | 2 +- > xen/arch/arm/traps.c | 14 +- > xen/arch/arm/vgic-v2.c | 2 +- > xen/arch/arm/vgic-v3.c | 2 +- > xen/arch/x86/acpi/cpufreq/powernow.c | 14 +- > xen/rch/x86/apic.c | 2 +- > xen/arch/x86/cpu-policy.c | 18 +- > xen/arch/x86/cpu/mcheck/mce-apei.c | 4 +- > xen/arch/x86/cpu/vpmu_intel.c | 2 +- > xen/arch/x86/cpuid.c | 8 +- > xen/arch/x86/efi/efi-boot.h | 6 +- > xen/arch/x86/extable.c | 2 +- > xen/arch/x86/hvm/hypercall.c | 2 +- > xen/arch/x86/hvm/irq.c | 2 +- > xen/arch/x86/hvm/pmtimer.c | 4 +- > xen/arch/x86/hvm/stdvga.c | 50 ++--- > xen/arch/x86/hvm/svm/asid.c | 2 +- > xen/arch/x86/hvm/svm/svm.c | 8 +- > xen/arch/x86/hvm/viridian/viridian.c | 2 +- > xen/arch/x86/hvm/vlapic.c | 6 +- > xen/arch/x86/hvm/vmx/vmcs.c | 6 +- > xen/arch/x86/hvm/vmx/vvmx.c | 8 +- > xen/arch/x86/include/asm/apicdef.h | 2 +- > xen/arch/x86/include/asm/config.h | 2 +- > xen/arch/x86/include/asm/guest/hyperv-tlfs.h | 28 +-- > xen/arch/x86/include/asm/hpet.h | 2 +- > xen/arch/x86/include/asm/hvm/trace.h | 4 +- > xen/arch/x86/include/asm/hvm/vioapic.h | 2 +- > xen/arch/x86/include/asm/hvm/vmx/vmcs.h | 84 ++++---- > xen/arch/x86/include/asm/hvm/vmx/vmx.h | 16 +- > xen/arch/x86/include/asm/msi.h | 2 +- > xen/arch/x86/include/asm/msr-index.h | 202 +++++++++---------- > xen/arch/x86/include/asm/pci.h | 8 +- > xen/arch/x86/include/asm/x86-defns.h | 2 +- ... the diffstat, so allowing other constants there to be used from assembly code (if and when need be) would be a good idea as well. I guess this may apply elsewhere as well, when constants live outside of #ifndef __ASSEMBLY__ sections. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |