UefiCpuPkg/ExceptionLib: Import PeiCpuExceptionHandlerLib module
This module could be linked by CpuMpPei driver to handle reserved vector list and provide spin lock for BSP/APs to prevent dump message corrupted. Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
## @file
|
||||
# CPU Exception Handler library instance for PEI module.
|
||||
#
|
||||
# Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
|
||||
# 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
|
||||
# http://opensource.org/licenses/bsd-license.php
|
||||
#
|
||||
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
#
|
||||
##
|
||||
|
||||
[Defines]
|
||||
INF_VERSION = 0x00010005
|
||||
BASE_NAME = PeiCpuExceptionHandlerLib
|
||||
MODULE_UNI_FILE = PeiCpuExceptionHandlerLib.uni
|
||||
FILE_GUID = 980DDA67-44A6-4897-99E6-275290B71F9E
|
||||
MODULE_TYPE = PEIM
|
||||
VERSION_STRING = 1.1
|
||||
LIBRARY_CLASS = CpuExceptionHandlerLib|PEI_CORE PEIM
|
||||
|
||||
#
|
||||
# The following information is for reference only and not required by the build tools.
|
||||
#
|
||||
# VALID_ARCHITECTURES = IA32 X64
|
||||
#
|
||||
|
||||
[Sources.Ia32]
|
||||
Ia32/ExceptionHandlerAsm.asm
|
||||
Ia32/ExceptionHandlerAsm.S |GCC
|
||||
Ia32/ArchExceptionHandler.c
|
||||
Ia32/ArchInterruptDefs.h
|
||||
|
||||
[Sources.X64]
|
||||
X64/ExceptionHandlerAsm.asm
|
||||
X64/ExceptionHandlerAsm.S |GCC
|
||||
X64/ArchExceptionHandler.c
|
||||
X64/ArchInterruptDefs.h
|
||||
|
||||
[Sources.common]
|
||||
CpuExceptionCommon.h
|
||||
CpuExceptionCommon.c
|
||||
PeiCpuException.c
|
||||
PeiDxeSmmCpuException.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
MdeModulePkg/MdeModulePkg.dec
|
||||
UefiCpuPkg/UefiCpuPkg.dec
|
||||
|
||||
[LibraryClasses]
|
||||
BaseLib
|
||||
SerialPortLib
|
||||
PrintLib
|
||||
LocalApicLib
|
||||
PeCoffGetEntryPointLib
|
||||
HobLib
|
||||
MemoryAllocationLib
|
||||
SynchronizationLib
|
Reference in New Issue
Block a user