From 74b41d56485bd77f5e38b664bf7245dd2b1dd32e Mon Sep 17 00:00:00 2001 From: Pierre Gondois Date: Tue, 22 Dec 2020 12:21:04 +0000 Subject: ArmPkg: Fix Ecc error 5003 in ArmExceptionLib This patch fixes the following Ecc reported error: Function name should be left justified, followed by the beginning of the parameter list, with the closing parenthesis on its own line, indented two spaces Signed-off-by: Pierre Gondois Reviewed-by: Sami Mujawar --- ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c | 4 +++- ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c | 5 +++-- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'ArmPkg') diff --git a/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c b/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c index 514f80a2d4..fcf3dd1644 100644 --- a/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c +++ b/ArmPkg/Library/ArmExceptionLib/AArch64/AArch64Exception.c @@ -2,6 +2,7 @@ * Exception Handling support specific for AArch64 * * Copyright (c) 2016 HP Development Company, L.P. +* Copyright (c) 2021, Arm Limited. All rights reserved.
* * SPDX-License-Identifier: BSD-2-Clause-Patent * @@ -27,7 +28,8 @@ RegisterEl0Stack ( IN VOID *Stack ); -RETURN_STATUS ArchVectorConfig( +RETURN_STATUS +ArchVectorConfig ( IN UINTN VectorBaseAddress ) { diff --git a/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c b/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c index 36c9f3f926..40857c7f1f 100644 --- a/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c +++ b/ArmPkg/Library/ArmExceptionLib/Arm/ArmException.c @@ -2,7 +2,7 @@ * Exception handling support specific for ARM * * Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
-* Copyright (c) 2014, ARM Limited. All rights reserved.
+* Copyright (c) 2014 - 2021, Arm Limited. All rights reserved.
* Copyright (c) 2016 HP Development Company, L.P.
* * SPDX-License-Identifier: BSD-2-Clause-Patent @@ -26,7 +26,8 @@ PHYSICAL_ADDRESS gExceptionVectorAlignmentMask = ARM_VECTOR_TABLE_ALIGNME // NOTE: This code assumes vectors are ARM and not Thumb code UINTN gDebuggerNoHandlerValue = 0xEAFFFFFE; -RETURN_STATUS ArchVectorConfig( +RETURN_STATUS +ArchVectorConfig ( IN UINTN VectorBaseAddress ) { -- cgit v1.2.3