From 396fe30ad99ecdb78434cc558d5cf91cadf48857 Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Wed, 30 Nov 2016 15:13:19 +0800 Subject: [PATCH] UefiCpuPkg/CpuExceptionHandlerLib: remove un-used mReservedVectors Cc: Feng Tian Cc: Jiewen Yao Cc: Michael D Kinney Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Feng Tian --- .../Library/CpuExceptionHandlerLib/CpuExceptionCommon.c | 5 ++--- .../Library/CpuExceptionHandlerLib/CpuExceptionCommon.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c index 5d2816111f..3d85b0c415 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.c @@ -1,7 +1,7 @@ /** @file CPU Exception Handler Library common functions. - Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.
+ Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -20,8 +20,7 @@ // // 1 means an error code will be pushed, otherwise 0 // -CONST UINT32 mErrorCodeFlag = 0x00027d00; -RESERVED_VECTORS_DATA *mReservedVectors = NULL; +CONST UINT32 mErrorCodeFlag = 0x00027d00; // // Define the maximum message length diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h index f2e4692c1b..4639ed2d90 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h @@ -55,7 +55,6 @@ typedef struct { extern CONST UINT32 mErrorCodeFlag; extern CONST UINTN mImageAlignSize; extern CONST UINTN mDoFarReturnFlag; -extern RESERVED_VECTORS_DATA *mReservedVectors; /** Return address map of exception handler template so that C code can generate -- 2.39.2