* Main file supporting the SEC Phase for Versatile Express\r
*\r
* Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-* Copyright (c) 2011-2014, ARM Limited. All rights reserved.\r
+* Copyright (c) 2011-2021, Arm Limited. All rights reserved.<BR>\r
* Copyright (c) 2016 HP Development Company, L.P.\r
*\r
-* This program and the accompanying materials\r
-* are licensed and made available under the terms and conditions of the BSD License\r
-* which accompanies this distribution. The full text of the license may be found at\r
-* http://opensource.org/licenses/bsd-license.php\r
-*\r
-* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+* SPDX-License-Identifier: BSD-2-Clause-Patent\r
*\r
**/\r
\r
\r
Status = EFI_SUCCESS;\r
\r
- // if we are requested to copy exceptin handlers to another location\r
+ // if we are requested to copy exception handlers to another location\r
if (gArmRelocateVectorTable) {\r
\r
VectorBase = PcdGet64(PcdCpuVectorBaseAddress);\r
}\r
\r
/**\r
-Copies exception handlers to the speciifed address.\r
+Copies exception handlers to the specified address.\r
\r
Caller should try to get an array of interrupt and/or exception vectors that are in use and need to\r
persist by EFI_VECTOR_HANDOFF_INFO defined in PI 1.3 specification.\r
RegisterCpuInterruptHandler(\r
IN EFI_EXCEPTION_TYPE ExceptionType,\r
IN EFI_CPU_INTERRUPT_HANDLER ExceptionHandler\r
- ) {\r
+ )\r
+{\r
if (ExceptionType > gMaxExceptionNumber) {\r
return RETURN_UNSUPPORTED;\r
}\r
}\r
}\r
else {\r
- DEBUG((EFI_D_ERROR, "Unknown exception type %d\n", ExceptionType));\r
+ DEBUG((DEBUG_ERROR, "Unknown exception type %d\n", ExceptionType));\r
ASSERT(FALSE);\r
}\r
\r
{\r
return InitializeCpuExceptionHandlers (VectorInfo);\r
}\r
-\r