hc
2024-03-22 a0752693d998599af469473b8dc239ef973a012f
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
## @file
# Component description file for AcpiPlatform module.
#
# This is an implementation of the ACPI platform driver,
# whose requirements are from ACPI External Product Specification.
# Copyright (c) 2013 - 2018, Intel Corporation. All rights reserved.<BR>
#
# SPDX-License-Identifier: BSD-2-Clause-Patent
#
##
 
[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = AcpiPlatform
  FILE_GUID                      = 368B3649-F204-4cd0-89A8-091077C070FA
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
  ENTRY_POINT                    = AcpiPlatformEntryPoint
 
#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = IA32 X64 EBC
#
 
[Sources]
  AcpiPlatform.c
  AcpiPlatform.h
  MadtPlatform.c
  Madt.h
  AcpiPciUpdate.c
  AcpiPciUpdate.h
 
[Packages]
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  UefiCpuPkg/UefiCpuPkg.dec
  QuarkSocPkg/QuarkSocPkg.dec
  QuarkPlatformPkg/QuarkPlatformPkg.dec
 
[LibraryClasses]
  UefiLib
  DxeServicesLib
  PcdLib
  IoLib
  BaseMemoryLib
  DebugLib
  UefiRuntimeServicesTableLib
  UefiBootServicesTableLib
  UefiDriverEntryPoint
  DevicePathLib
  PlatformHelperLib
 
[Protocols]
  gEfiGlobalNvsAreaProtocolGuid                 # PROTOCOL ALWAYS_CONSUMED
  gEfiMpServiceProtocolGuid                     # PROTOCOL SOMETIMES_CONSUMED
  gEfiAcpiSdtProtocolGuid                       # PROTOCOL ALWAYS_CONSUMED
  gEfiAcpiTableProtocolGuid                     # PROTOCOL ALWAYS_CONSUMED
 
[Pcd]
  gQuarkPlatformTokenSpaceGuid.PcdPlatformType
 
  gUefiCpuPkgTokenSpaceGuid.PcdCpuLocalApicBaseAddress
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable0Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable0SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable0Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable0TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable0GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable1Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable1SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable1Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable1TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable1GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable2Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable2SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable2Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable2TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable2GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable3Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable3SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable3Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable3TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable3GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable4Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable4SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable4Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable4TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable4GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable5Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable5SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable5Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable5TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable5GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable6Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable6SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable6Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable6TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable6GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable7Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable7SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable7Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable7TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable7GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable8Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable8SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable8Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable8TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable8GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable9Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable9SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable9Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable9TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable9GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable10Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable10SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable10Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable10TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable10GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable11Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable11SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable11Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable11TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable11GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable12Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable12SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable12Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable12TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable12GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable13Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable13SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable13Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable13TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable13GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable14Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable14SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable14Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable14TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable14GlobalIrq
 
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable15Enable
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable15SourceIrq
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable15Polarity
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable15TrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdInterruptOverrideSettingTable15GlobalIrq
 
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicBaseAddress
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingIoApicAddress
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingGlobalInterruptBase
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingIoApicId
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingNmiEnable
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingNmiSource
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingPolarity
  gQuarkPlatformTokenSpaceGuid.PcdIoApicSettingTrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicSettingNmiEnabelApicIdMask
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicSettingAddressOverrideEnable
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicSettingPolarity
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicSettingTrigerMode
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicSettingLocalApicLint
  gQuarkPlatformTokenSpaceGuid.PcdLocalApicAddressOverride
 
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmmActivationPort
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdPm1blkIoBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdGpe0blkIoBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdPmbaIoBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdGbaIoBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdSmbaIoBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdHpetSize
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdIoApicSize
  gEfiMdePkgTokenSpaceGuid.PcdPciExpressBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdPciExpressSize
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdRcbaMmioBaseAddress
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdRcbaMmioSize
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdWdtbaIoBaseAddress
  gQuarkPlatformTokenSpaceGuid.PcdHpetEnable
  gEfiQuarkNcSocIdTokenSpaceGuid.PcdDeviceEnables
  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile
 
[Depex]
  gEfiMpServiceProtocolGuid AND gEfiAcpiTableProtocolGuid