From cc15a619a6fe527b6a00cbea3a0359a9c9c8602b Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 20 Apr 2021 12:00:23 +0100 Subject: ArmPkg: Fix Ecc error 8003 This patch fixes the following Ecc reported error: The #ifndef at the start of an include file should have one postfix underscore, and no prefix underscore character Some include guards have been modified to match the name of the header file. Some comments have also been added on the closing '#endif'. Cc: Bret Barkelew Cc: Sean Brogan Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Sami Mujawar Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- ArmPkg/Include/AsmMacroIoLibV8.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ArmPkg/Include/AsmMacroIoLibV8.h') diff --git a/ArmPkg/Include/AsmMacroIoLibV8.h b/ArmPkg/Include/AsmMacroIoLibV8.h index bcc0d8dafe..337d9ae016 100644 --- a/ArmPkg/Include/AsmMacroIoLibV8.h +++ b/ArmPkg/Include/AsmMacroIoLibV8.h @@ -10,8 +10,8 @@ **/ -#ifndef __MACRO_IO_LIBV8_H__ -#define __MACRO_IO_LIBV8_H__ +#ifndef ASM_MACRO_IO_LIBV8_H_ +#define ASM_MACRO_IO_LIBV8_H_ // CurrentEL : 0xC = EL3; 8 = EL2; 4 = EL1 // This only selects between EL1 and EL2, else we die. @@ -54,4 +54,4 @@ movk Reg, ((Val) >> 16) & 0xffff, lsl #16 ; \ movk Reg, (Val) & 0xffff -#endif // __MACRO_IO_LIBV8_H__ +#endif // ASM_MACRO_IO_LIBV8_H_ -- cgit v1.2.3