mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-23 05:34:31 +02:00
Vlv2TbltDevicePkg: Update PlatformPkgGccX64.dsc
Update PlatformPkgGccX64.dsc to align with PlatformPkgX64.dsc on library mappings and PCD settings. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: David Wei <david.wei@intel.com> Cc: Mang Guo <mang.guo@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Michael Kinney <michael.d.kinney@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
parent
ed5b911049
commit
e2df7a3d39
@ -227,8 +227,8 @@
|
|||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||||
!else
|
!else
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
||||||
@ -332,14 +332,15 @@
|
|||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
||||||
!else
|
!else
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|IntelFrameworkModulePkg/Library/PeiDxeDebugLibReportStatusCode/PeiDxeDebugLibReportStatusCode.inf
|
||||||
SerialPortLib|MdePkg/Library/BaseSerialPortLibNull/BaseSerialPortLibNull.inf
|
SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
|
LockBoxLib|MdeModulePkg/Library/SmmLockBoxLib/SmmLockBoxPeiLib.inf
|
||||||
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
|
HashLib|SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
|
||||||
PeCoffExtraActionLib|MdePkg/Library/BasePeCoffExtraActionLibNull/BasePeCoffExtraActionLibNull.inf
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
||||||
DebugAgentLib|MdeModulePkg/Library/DebugAgentLibNull/DebugAgentLibNull.inf
|
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
||||||
|
!endif
|
||||||
|
|
||||||
!if $(MINNOW2_FSP_BUILD) == TRUE
|
!if $(MINNOW2_FSP_BUILD) == TRUE
|
||||||
PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
|
PlatformFspLib|Vlv2TbltDevicePkg/Library/PlatformFspLib/PlatformFspLib.inf
|
||||||
@ -413,7 +414,7 @@
|
|||||||
|
|
||||||
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
|
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
||||||
@ -436,12 +437,7 @@
|
|||||||
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
PerformanceLib|MdePkg/Library/BasePerformanceLibNull/BasePerformanceLibNull.inf
|
||||||
|
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
|
||||||
|
|
||||||
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
|
||||||
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgentLib.inf
|
|
||||||
TimerLib|$(PLATFORM_PACKAGE)/Library/IntelPchAcpiTimerLib/IntelPchAcpiTimerLib.inf
|
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
[LibraryClasses.X64.DXE_RUNTIME_DRIVER]
|
[LibraryClasses.X64.DXE_RUNTIME_DRIVER]
|
||||||
@ -616,6 +612,10 @@
|
|||||||
|
|
||||||
gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
|
gEfiCpuTokenSpaceGuid.PcdCpuSmmBlockStartupThisAp|TRUE
|
||||||
|
|
||||||
|
!if $(SOURCE_DEBUG_ENABLE)
|
||||||
|
gUefiCpuPkgTokenSpaceGuid.PcdCpuSmmDebug|TRUE
|
||||||
|
!endif
|
||||||
|
|
||||||
[PcdsFixedAtBuild.common]
|
[PcdsFixedAtBuild.common]
|
||||||
!if $(MINNOW2_FSP_BUILD) == TRUE
|
!if $(MINNOW2_FSP_BUILD) == TRUE
|
||||||
# $(FLASH_REGION_VLVMICROCODE_BASE)
|
# $(FLASH_REGION_VLVMICROCODE_BASE)
|
||||||
@ -694,6 +694,7 @@
|
|||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x17
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
gEfiMdePkgTokenSpaceGuid.PcdReportStatusCodePropertyMask|0x07
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
|
gEfiMdeModulePkgTokenSpaceGuid.PcdSerialUseHardwareFlowControl|FALSE
|
||||||
|
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|2
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
[PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]
|
[PcdsFixedAtBuild.IA32.PEIM, PcdsFixedAtBuild.IA32.PEI_CORE, PcdsFixedAtBuild.IA32.SEC]
|
||||||
@ -848,16 +849,15 @@
|
|||||||
!if $(TPM_ENABLED) == TRUE
|
!if $(TPM_ENABLED) == TRUE
|
||||||
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
|
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
|
||||||
!endif
|
!endif
|
||||||
!if $(FTPM_ENABLE) == TRUE
|
|
||||||
gEfiSecurityPkgTokenSpaceGuid.PcdTpmInstanceGuid|{0x7b, 0x3a, 0xcd, 0x72, 0xA5, 0xFE, 0x5e, 0x4f, 0x91, 0x65, 0x4d, 0xd1, 0x21, 0x87, 0xbb, 0x13}
|
|
||||||
!endif
|
|
||||||
|
|
||||||
## This PCD defines the video horizontal resolution.
|
## This PCD defines the video horizontal resolution.
|
||||||
# This PCD could be set to 0 then video resolution could be at highest resolution.
|
# This PCD could be set to 0 then video resolution could be at highest resolution.
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
|
#gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|0
|
||||||
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoHorizontalResolution|800
|
||||||
## This PCD defines the video vertical resolution.
|
## This PCD defines the video vertical resolution.
|
||||||
# This PCD could be set to 0 then video resolution could be at highest resolution.
|
# This PCD could be set to 0 then video resolution could be at highest resolution.
|
||||||
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
|
#gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|0
|
||||||
|
gEfiMdeModulePkgTokenSpaceGuid.PcdVideoVerticalResolution|600
|
||||||
|
|
||||||
## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
|
## This PCD defines the Console output column and the default value is 25 according to UEFI spec.
|
||||||
# This PCD could be set to 0 then console output could be at max column and max row.
|
# This PCD could be set to 0 then console output could be at max column and max row.
|
||||||
@ -943,11 +943,6 @@
|
|||||||
!endif
|
!endif
|
||||||
<PcdsPatchableInModule>
|
<PcdsPatchableInModule>
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x80000046
|
||||||
!if $(TARGET) == DEBUG
|
|
||||||
<LibraryClasses>
|
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
|
||||||
SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
|
|
||||||
!endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
|
$(PLATFORM_PACKAGE)/MonoStatusCode/MonoStatusCode.inf {
|
||||||
@ -1013,7 +1008,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x803805c6
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||||
}
|
}
|
||||||
@ -1125,7 +1120,6 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
!endif
|
!endif
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
|
|
||||||
!endif
|
!endif
|
||||||
}
|
}
|
||||||
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
|
IntelFrameworkModulePkg/Universal/Acpi/AcpiS3SaveDxe/AcpiS3SaveDxe.inf {
|
||||||
@ -1135,7 +1129,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
|
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x27
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
<BuildOptions>
|
<BuildOptions>
|
||||||
ICC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
|
ICC:*_*_*_CC_FLAGS = -D MDEPKG_NDEBUG
|
||||||
@ -1152,16 +1146,19 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
|
MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
}
|
}
|
||||||
|
|
||||||
!if $(CAPSULE_ENABLE) == TRUE
|
!if $(CAPSULE_ENABLE) == TRUE
|
||||||
MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
|
MdeModulePkg/Universal/CapsulePei/CapsuleX64.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
PcdLib|MdePkg/Library/PeiPcdLib/PeiPcdLib.inf
|
||||||
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
MemoryAllocationLib|MdePkg/Library/PeiMemoryAllocationLib/PeiMemoryAllocationLib.inf
|
||||||
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
HobLib|MdePkg/Library/PeiHobLib/PeiHobLib.inf
|
||||||
|
!if $(SOURCE_DEBUG_ENABLE) == TRUE
|
||||||
|
DebugAgentLib|SourceLevelDebugPkg/Library/DebugAgent/SecPeiDebugAgentLib.inf
|
||||||
|
!endif
|
||||||
}
|
}
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
@ -1233,7 +1230,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
!endif
|
!endif
|
||||||
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
|
MdeModulePkg/Universal/CapsuleRuntimeDxe/CapsuleRuntimeDxe.inf {
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
FileHandleLib|MdePkg/Library/UefiFileHandleLib/UefiFileHandleLib.inf
|
||||||
}
|
}
|
||||||
|
|
||||||
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
MdeModulePkg/Universal/MonotonicCounterRuntimeDxe/MonotonicCounterRuntimeDxe.inf
|
||||||
@ -1292,7 +1289,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
|
Vlv2TbltDevicePkg/VlvPlatformInitDxe/VlvPlatformInitDxe.inf{
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
||||||
}
|
}
|
||||||
@ -1355,7 +1352,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
$(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
|
$(PLATFORM_PACKAGE)/PlatformSmm/PlatformSmm.inf{
|
||||||
<LibraryClasses>
|
<LibraryClasses>
|
||||||
!if $(TARGET) != RELEASE
|
!if $(TARGET) != RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
||||||
!endif
|
!endif
|
||||||
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
PcdLib|MdePkg/Library/DxePcdLib/DxePcdLib.inf
|
||||||
}
|
}
|
||||||
@ -1378,13 +1375,7 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
# SMM
|
# SMM
|
||||||
#
|
#
|
||||||
MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
|
MdeModulePkg/Core/PiSmmCore/PiSmmIpl.inf
|
||||||
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf{
|
MdeModulePkg/Core/PiSmmCore/PiSmmCore.inf
|
||||||
!if $(TARGET) != RELEASE
|
|
||||||
<LibraryClasses>
|
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibSerialPort/BaseDebugLibSerialPort.inf
|
|
||||||
SerialPortLib|$(PLATFORM_PACKAGE)/Library/SerialPortLib/SerialPortLib.inf
|
|
||||||
!endif
|
|
||||||
}
|
|
||||||
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
UefiCpuPkg/PiSmmCpuDxeSmm/PiSmmCpuDxeSmm.inf
|
||||||
UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
|
UefiCpuPkg/CpuIo2Smm/CpuIo2Smm.inf
|
||||||
MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
|
MdeModulePkg/Universal/LockBox/SmmLockBox/SmmLockBox.inf
|
||||||
@ -1674,6 +1665,10 @@ $(PLATFORM_BINARY_PACKAGE)/$(DXE_ARCHITECTURE)$(TARGET)/IA32/fTPMInitPeim.inf
|
|||||||
MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
MSFT:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||||
GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
GCC:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||||
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
INTEL:*_*_X64_GENFW_FLAGS = --keepexceptiontable
|
||||||
|
DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
|
||||||
|
!else
|
||||||
|
DEFINE SOURCE_LEVEL_DEBUG_BUILD_OPTIONS =
|
||||||
|
|
||||||
!endif
|
!endif
|
||||||
|
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user