]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Include/Chipset/AArch64.h
ArmPkg: Fix Ecc error 8001 in Chipset
authorPierre Gondois <Pierre.Gondois@arm.com>
Tue, 22 Dec 2020 10:09:51 +0000 (10:09 +0000)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Thu, 15 Apr 2021 19:53:39 +0000 (19:53 +0000)
commita4d95d7cf924aa7578f2469647f70b636ebb2521
treef3155eb23f01e7467de540eac9e4037fe3451284
parent8948fb097419f37239ace47995ee46ab340c386e
ArmPkg: Fix Ecc error 8001 in Chipset

This patch fixes the following Ecc reported error:
Only capital letters are allowed to be used
for #define declarations

Edk2 coding standard stating that:
"Names starting with one or two underscores, such as
_MACRO_GUARD_FILE_NAME_H_, must not be used."
the include guard of ArmCortexA5x.h is also updated.

Ref:
https://edk2-docs.gitbook.io/edk-ii-c-coding-standards-specification/
5_source_files/53_include_files#
5-3-5-all-include-file-contents-must-be-protected-by-a-include-guard

Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
ArmPkg/Include/Chipset/AArch64.h
ArmPkg/Include/Chipset/AArch64Mmu.h
ArmPkg/Include/Chipset/ArmCortexA5x.h
ArmPkg/Include/Chipset/ArmV7.h
ArmPkg/Library/ArmExceptionLib/AArch64/ExceptionSupport.S
ArmPlatformPkg/PrePeiCore/AArch64/Exception.S