1 | ## @file
|
---|
2 | # Unit tests of the PeiCpuExceptionHandlerLib instance.
|
---|
3 | #
|
---|
4 | # Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
|
---|
5 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
6 | ##
|
---|
7 |
|
---|
8 | [Defines]
|
---|
9 | INF_VERSION = 0x00010006
|
---|
10 | BASE_NAME = CpuExceptionHandlerPeiTest
|
---|
11 | FILE_GUID = 39A96CF7-F369-4357-9234-4B52F98A007F
|
---|
12 | MODULE_TYPE = PEIM
|
---|
13 | VERSION_STRING = 1.0
|
---|
14 | ENTRY_POINT = PeiEntryPoint
|
---|
15 |
|
---|
16 | #
|
---|
17 | # The following information is for reference only and not required by the build tools.
|
---|
18 | #
|
---|
19 | # VALID_ARCHITECTURES = IA32 X64
|
---|
20 | #
|
---|
21 | [Sources.Ia32]
|
---|
22 | Ia32/ArchExceptionHandlerTestAsm.nasm
|
---|
23 | Ia32/ArchExceptionHandlerTest.c
|
---|
24 |
|
---|
25 | [Sources.X64]
|
---|
26 | X64/ArchExceptionHandlerTestAsm.nasm
|
---|
27 | X64/ArchExceptionHandlerTest.c
|
---|
28 |
|
---|
29 | [Sources.common]
|
---|
30 | CpuExceptionHandlerTest.h
|
---|
31 | CpuExceptionHandlerTestCommon.c
|
---|
32 | PeiCpuExceptionHandlerUnitTest.c
|
---|
33 |
|
---|
34 | [Packages]
|
---|
35 | MdePkg/MdePkg.dec
|
---|
36 | MdeModulePkg/MdeModulePkg.dec
|
---|
37 | UefiCpuPkg/UefiCpuPkg.dec
|
---|
38 |
|
---|
39 | [LibraryClasses]
|
---|
40 | BaseLib
|
---|
41 | BaseMemoryLib
|
---|
42 | DebugLib
|
---|
43 | UnitTestLib
|
---|
44 | MemoryAllocationLib
|
---|
45 | CpuExceptionHandlerLib
|
---|
46 | PeimEntryPoint
|
---|
47 | HobLib
|
---|
48 | PeiServicesLib
|
---|
49 | CpuPageTableLib
|
---|
50 | PeiServicesTablePointerLib
|
---|
51 |
|
---|
52 | [Pcd]
|
---|
53 | gEfiMdeModulePkgTokenSpaceGuid.PcdCpuStackGuard ## CONSUMES
|
---|
54 | gUefiCpuPkgTokenSpaceGuid.PcdCpuApStackSize ## CONSUMES
|
---|
55 |
|
---|
56 | [Ppis]
|
---|
57 | gEdkiiPeiMpServices2PpiGuid ## CONSUMES
|
---|
58 |
|
---|
59 | [Depex]
|
---|
60 | gEdkiiPeiMpServices2PpiGuid AND
|
---|
61 | gEfiPeiMemoryDiscoveredPpiGuid
|
---|