summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/CpuHotplugSmm/CpuHotplugSmm.inf
blob: ebcc7e2ac63a74b9d7ade930d8febfd12214157f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
## @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]
  ApicId.h
  CpuHotplug.c
  FirstSmiHandler.nasm
  FirstSmiHandlerContext.h
  PostSmmPen.nasm
  QemuCpuhp.c
  QemuCpuhp.h
  Smbase.c
  Smbase.h

[Packages]
  MdePkg/MdePkg.dec
  OvmfPkg/OvmfPkg.dec
  UefiCpuPkg/UefiCpuPkg.dec

[LibraryClasses]
  BaseLib
  BaseMemoryLib
  CpuLib
  DebugLib
  LocalApicLib
  MmServicesTableLib
  PcdLib
  SafeIntLib
  SynchronizationLib
  UefiDriverEntryPoint

[Protocols]
  gEfiMmCpuIoProtocolGuid                                           ## CONSUMES
  gEfiSmmCpuServiceProtocolGuid                                     ## CONSUMES

[Pcd]
  gUefiCpuPkgTokenSpaceGuid.PcdCpuHotPlugDataAddress                ## CONSUMES
  gUefiOvmfPkgTokenSpaceGuid.PcdCpuHotEjectDataAddress              ## CONSUMES
  gUefiOvmfPkgTokenSpaceGuid.PcdQ35SmramAtDefaultSmbase             ## CONSUMES

[FeaturePcd]
  gUefiOvmfPkgTokenSpaceGuid.PcdSmmSmramRequire                     ## CONSUMES

[Depex]
  gEfiMmCpuIoProtocolGuid AND
  gEfiSmmCpuServiceProtocolGuid