2020-02-26 23:11:46 +01:00
|
|
|
## @file
|
|
|
|
# Root SMI handler for VCPU hotplug SMIs.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2020, Red Hat, Inc.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 1.29
|
|
|
|
PI_SPECIFICATION_VERSION = 0x00010046 # PI-1.7.0
|
|
|
|
BASE_NAME = CpuHotplugSmm
|
|
|
|
FILE_GUID = 84EEA114-C6BE-4445-8F90-51D97863E363
|
|
|
|
MODULE_TYPE = DXE_SMM_DRIVER
|
|
|
|
ENTRY_POINT = CpuHotplugEntry
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build
|
|
|
|
# tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
2020-02-26 23:11:49 +01:00
|
|
|
ApicId.h
|
2020-02-26 23:11:46 +01:00
|
|
|
CpuHotplug.c
|
2020-02-26 23:11:52 +01:00
|
|
|
FirstSmiHandler.nasm
|
|
|
|
FirstSmiHandlerContext.h
|
2020-02-26 23:11:51 +01:00
|
|
|
PostSmmPen.nasm
|
2020-02-26 23:11:47 +01:00
|
|
|
QemuCpuhp.c
|
|
|
|
QemuCpuhp.h
|
2020-02-26 23:11:51 +01:00
|
|
|
Smbase.c
|
|
|
|
Smbase.h
|
2020-02-26 23:11:46 +01:00
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
OvmfPkg/OvmfPkg.dec
|
2020-02-26 23:11:50 +01:00
|
|
|
UefiCpuPkg/UefiCpuPkg.dec
|
2020-02-26 23:11:46 +01:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
BaseLib
|
2020-02-26 23:11:51 +01:00
|
|
|
BaseMemoryLib
|
2021-03-12 07:26:54 +01:00
|
|
|
CpuLib
|
2020-02-26 23:11:46 +01:00
|
|
|
DebugLib
|
2020-02-26 23:11:52 +01:00
|
|
|
LocalApicLib
|
2020-02-26 23:11:46 +01:00
|
|
|
MmServicesTableLib
|
|
|
|
PcdLib
|
2020-02-26 23:11:50 +01:00
|
|
|
SafeIntLib
|
2020-02-26 23:11:52 +01:00
|
|
|
SynchronizationLib
|
2020-02-26 23:11:46 +01:00
|
|
|
UefiDriverEntryPoint
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiMmCpuIoProtocolGuid ## CONSUMES
|
2020-02-26 23:11:50 +01:00
|
|
|
gEfiSmmCpuServiceProtocolGuid ## CONSUMES
|
2020-02-26 23:11:46 +01:00
|
|
|
|
|
|
|
[Pcd]
|
2020-02-26 23:11:50 +01:00
|
|
|
gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugDataAddress ## CONSUMES
|
2021-03-12 07:26:54 +01:00
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdCpuHotEjectDataAddress ## CONSUMES
|
2020-02-26 23:11:46 +01:00
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase ## CONSUMES
|
|
|
|
|
|
|
|
[FeaturePcd]
|
|
|
|
gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire ## CONSUMES
|
|
|
|
|
|
|
|
[Depex]
|
2020-02-26 23:11:50 +01:00
|
|
|
gEfiMmCpuIoProtocolGuid AND
|
|
|
|
gEfiSmmCpuServiceProtocolGuid
|