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 <bret.barkelew@microsoft.com>
Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Leif Lindholm <leif@nuviainc.com>
Cc: Ard Biesheuvel <ardb+tianocore@kernel.org>
Cc: Sami Mujawar <sami.mujawar@arm.com>
Signed-off-by: Pierre Gondois <Pierre.Gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Pierre Gondois
2021-04-20 12:00:23 +01:00
committed by mergify[bot]
parent 5b90b8abb4
commit cc15a619a6
33 changed files with 99 additions and 99 deletions

View File

@@ -6,8 +6,8 @@
*
**/
#ifndef __ARM_MM_SVC_H__
#define __ARM_MM_SVC_H__
#ifndef ARM_MM_SVC_H_
#define ARM_MM_SVC_H_
/*
* SVC IDs to allow the MM secure partition to initialise itself, handle
@@ -44,4 +44,4 @@
#define SPM_MAJOR_VERSION 0
#define SPM_MINOR_VERSION 1
#endif
#endif // ARM_MM_SVC_H_

View File

@@ -10,8 +10,8 @@
* (https://developer.arm.com/documentation/den0028/c/?lang=en)
**/
#ifndef __ARM_STD_SMC_H__
#define __ARM_STD_SMC_H__
#ifndef ARM_STD_SMC_H_
#define ARM_STD_SMC_H_
/*
* SMC function IDs for Standard Service queries
@@ -129,4 +129,4 @@
/* 0xbf00ff02 is reserved */
#define ARM_SMC_ID_TOS_REVISION 0xbf00ff03
#endif
#endif // ARM_STD_SMC_H_