VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Library/SmmRelocationLib/AmdSmmRelocationLib.inf@ 105670

Last change on this file since 105670 was 105670, checked in by vboxsync, 4 months ago

Devices/EFI/FirmwareNew: Merge edk2-stable-202405 and make it build on aarch64, bugref:4643

  • Property svn:eol-style set to native
File size: 1.5 KB
Line 
1## @file
2# SMM Relocation Lib for each processor.
3#
4# This Lib produces the SMM_BASE_HOB in HOB database which tells
5# the PiSmmCpuDxeSmm driver (runs at a later phase) about the new
6# SMBASE for each processor. PiSmmCpuDxeSmm driver installs the
7# SMI handler at the SMM_BASE_HOB.SmBase[Index]+0x8000 for processor
8# Index.
9#
10# Copyright (c) 2024, Intel Corporation. All rights reserved.<BR>
11# SPDX-License-Identifier: BSD-2-Clause-Patent
12#
13##
14
15[Defines]
16 INF_VERSION = 0x00010005
17 BASE_NAME = SmmRelocationLib
18 FILE_GUID = 65C74DCD-0D09-494A-8BFF-A64226EB8054
19 MODULE_TYPE = PEIM
20 VERSION_STRING = 1.0
21 LIBRARY_CLASS = SmmRelocationLib
22
23[Sources]
24 InternalSmmRelocationLib.h
25 AmdSmramSaveStateConfig.c
26 SmmRelocationLib.c
27
28[Sources.Ia32]
29 Ia32/Semaphore.c
30 Ia32/SmmInit.nasm
31
32[Sources.X64]
33 X64/Semaphore.c
34 X64/SmmInit.nasm
35
36[Packages]
37 MdePkg/MdePkg.dec
38 MdeModulePkg/MdeModulePkg.dec
39 UefiCpuPkg/UefiCpuPkg.dec
40
41[LibraryClasses]
42 BaseLib
43 BaseMemoryLib
44 CpuExceptionHandlerLib
45 DebugLib
46 HobLib
47 LocalApicLib
48 MemoryAllocationLib
49 PcdLib
50 PeiServicesLib
51
52[Guids]
53 gSmmBaseHobGuid ## HOB ALWAYS_PRODUCED
54 gEfiSmmSmramMemoryGuid ## CONSUMES
55
56[Pcd]
57 gUefiCpuPkgTokenSpaceGuid.PcdCpuMaxLogicalProcessorNumber
58
59[FeaturePcd]
60 gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugSupport ## CONSUMES
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette