X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkModulePkg%2FEdkModulePkg.spd;h=9a8861f838e337df37c81c0628893dc64600b0ae;hp=96af0e11db19bf83efa44d161342bc1320f8e78f;hb=3c82f1a5430e078a9d613052e64b9a9c6cb2d497;hpb=5343eab11a2dfefaef0e332dad7269a65be41e56 diff --git a/EdkModulePkg/EdkModulePkg.spd b/EdkModulePkg/EdkModulePkg.spd index 96af0e11db..9a8861f838 100644 --- a/EdkModulePkg/EdkModulePkg.spd +++ b/EdkModulePkg/EdkModulePkg.spd @@ -1,8 +1,8 @@ - - + + EdkModulePkg - B6EC423C-21D2-490D-85C6-DD5864EAA674 + 68169ab0-d41b-4009-9060-292c253ac43d 0.3 Edk Module Package Reference Implementations This Module provides standard reference information for EFI/Tiano implementations. @@ -24,10 +24,6 @@ Include/Library/CustomDecompressLib.h - - Include/Library/EdkBsDataHubStatusCodeLib.h - - Include/Library/EdkDxeSalLib.h @@ -44,10 +40,6 @@ Include/Library/EdkIfrSupportLib.h - - Include/Library/EdkMemoryStatusCodeLib.h - - Include/Library/EdkPeCoffLoaderLib.h @@ -56,14 +48,6 @@ Include/Library/EdkPeCoffLoaderX64Lib.h - - Include/Library/EdkRtMemoryStatusCodeLib.h - - - - Include/Library/EdkRtPlatformStatusCodeLib.h - - Include/Library/EdkScsiLib.h @@ -76,7 +60,305 @@ Include/Library/TianoDecompressLib.h + + Include/Library/SerialPortLib.h + + + + Include/Library/OemHookStatusCodeLib.h + + + + + Include/Common/CapsuleName.h + + + + Include/Common/DecompressLibraryHob.h + + + + Include/Common/FlashMap.h + + + + Include/Common/Variable.h + + + + Include/Common/WorkingBlockHeader.h + + + + Include/Guid/AlternateFvBlock.h + + + + Include/Guid/Bmp.h + + + + Include/Guid/BootState.h + + + + Include/Guid/CapsuleVendor.h + + + + Include/Guid/CompatibleMemoryTested.h + + + + Include/Guid/ConsoleInDevice.h + + + + Include/Guid/ConsoleOutDevice.h + + + + Include/Guid/ExtendedSalGuid.h + + + + Include/Guid/FlashMapHob.h + + + + Include/Guid/HotPlugDevice.h + + + + Include/Guid/MemoryTypeInformation.h + + + + Include/Guid/MiniShellFile.h + + + + Include/Guid/PciHotplugDevice.h + + + + Include/Guid/PciOptionRomTable.h + + + + Include/Guid/PeiPeCoffLoader.h + + + + Include/Guid/PeiPerformanceHob.h + + + + Include/Guid/PrimaryConsoleInDevice.h + + + + Include/Guid/PrimaryConsoleOutDevice.h + + + + Include/Guid/PrimaryStandardErrorDevice.h + + + + Include/Guid/ShellFile.h + + + + Include/Guid/StandardErrorDevice.h + + + + Include/Guid/StatusCode.h + + + + Include/Guid/StatusCodeCallerId.h + + + + Include/Guid/SystemNvDataGuid.h + + + + Include/Library/CustomDecompressLib.h + + + + Include/Library/EdkDxeSalLib.h + + + + Include/Library/EdkFvbServiceLib.h + + + + Include/Library/EdkGraphicsLib.h + + + + Include/Library/EdkIfrSupportLib.h + + + + Include/Library/EdkPeCoffLoaderLib.h + + + + Include/Library/EdkPeCoffLoaderX64Lib.h + + + + Include/Library/EdkScsiLib.h + + + + Include/Library/EdkUsbLib.h + + + + Include/Library/TianoDecompressLib.h + + + + Include/Ppi/BaseMemoryTest.h + + + + Include/Ppi/FlashMap.h + + + + Include/Ppi/PeiInMemory.h + + + + Include/Ppi/StatusCodeMemory.h + + + + Include/Protocol/AcpiS3Save.h + + + + Include/Protocol/Capsule.h + + + + Include/Protocol/ConsoleControl.h + + + + Include/Protocol/CustomizedDecompress.h + + + + Include/Protocol/DebugAssert.h + + + + Include/Protocol/DebugLevel.h + + + + Include/Protocol/DiskInfo.h + + + + Include/Protocol/EdkDecompress.h + + + + Include/Protocol/ExtendedSalBootService.h + + + + Include/Protocol/FaultTolerantWriteLite.h + + + + Include/Protocol/FvbExtension.h + + + + Include/Protocol/GenericMemoryTest.h + + + + Include/Protocol/IsaAcpi.h + + + + Include/Protocol/IsaIo.h + + + + Include/Protocol/LoadPe32Image.h + + + + Include/Protocol/OEMBadging.h + + + + Include/Protocol/PciHotPlugRequest.h + + + + Include/Protocol/Performance.h + + + + Include/Protocol/Print.h + + + + Include/Protocol/PxeDhcp4.h + + + + Include/Protocol/PxeDhcp4CallBack.h + + + + Include/Protocol/ScsiIo.h + + + + Include/Protocol/UgaIo.h + + + + Include/Protocol/UgaSplash.h + + + + Include/Protocol/usbatapi.h + + + + Include/EdkDxe.h + + + + Include/EdkDxeCore.h + + + + Include/EdkPeiCore.h + + + + Include/EdkPeim.h + + + Application/HelloWorld/HelloWorld.msa Bus/Pci/AtapiPassThru/Dxe/AtapiPassThru.msa @@ -84,6 +366,7 @@ Bus/Pci/IdeBus/Dxe/idebus.msa Bus/Pci/PciBus/Dxe/PciBus.msa Bus/Pci/Uhci/Dxe/Uhci.msa + Bus/Pci/Ehci/Dxe/Ehci.msa Bus/Pci/Undi/RuntimeDxe/Undi.msa Bus/Scsi/ScsiBus/Dxe/ScsiBus.msa Bus/Scsi/ScsiDisk/Dxe/ScsiDisk.msa @@ -108,29 +391,27 @@ Library/EdkDxePeCoffLoaderFromHobLib/EdkDxePeCoffLoaderFromHobLib.msa Library/DxePerformanceLib/DxePerformanceLib.msa Library/EdkDxePrintLib/EdkDxePrintLib.msa - Library/EdkDxeRuntimeDriverLib/EdkDxeRuntimeDriverLib.msa + Library/EdkUefiRuntimeLib/EdkUefiRuntimeLib.msa Library/EdkDxeSalLib/EdkDxeSalLib.msa Library/EdkFvbServiceLib/EdkFvbServiceLib.msa Library/EdkGraphicsLib/EdkGraphicsLib.msa Library/EdkIfrSupportLib/EdkIfrSupportLib.msa - Library/EdkMemoryStatusCodeLib/EdkMemoryStatusCodeLib.msa Library/EdkNullCustomizedDecompressLib/EdkNullCustomizedDecompressLib.msa Library/EdkPeCoffLoaderLib/EdkPeCoffLoaderLib.msa - Library/EdkPeCoffLoaderLibX64/EdkPeCoffLoaderLibX64.msa Library/EdkPeCoffLoaderX64Lib/EdkPeCoffLoaderX64Lib.msa Library/PeiPerformanceLib/PeiPerformanceLib.msa - Library/EdkRuntimeStatusCodeLib/BsDataHubStatusCode/BsDataHubStatusCode.msa - Library/EdkRuntimeStatusCodeLib/RtMemoryStatusCode/RtMemoryStatusCode.msa - Library/EdkRuntimeStatusCodeLib/RtPlatformStatusCode/RtPlatformStatusCode.msa Library/EdkScsiLib/EdkScsiLib.msa Library/EdkUefiDebugLibConOut/EdkUefiDebugLibConOut.msa Library/EdkUefiDebugLibStdErr/EdkUefiDebugLibStdErr.msa Library/EdkUsbLib/EdkUsbLib.msa + Library/EdkSerialPortLibNull/EdkSerialPortLibNull.msa + Library/EdkOemHookStatusCodeLibNull/EdkOemHookStatusCodeLibNull.msa Universal/Console/ConSplitter/Dxe/ConSplitter.msa Universal/Console/GraphicsConsole/Dxe/GraphicsConsole.msa Universal/Console/Terminal/Dxe/Terminal.msa Universal/DataHub/DataHub/Dxe/DataHub.msa Universal/DataHub/DataHubStdErr/Dxe/DataHubStdErr.msa + Universal/DevicePath/Dxe/DevicePath.msa Universal/Debugger/Debugport/Dxe/DebugPort.msa Universal/DebugSupport/Dxe/DebugSupport.msa Universal/Disk/DiskIo/Dxe/DiskIo.msa @@ -149,7 +430,6 @@ Universal/PCD/Dxe/Pcd.msa Universal/Runtime/RuntimeDxe/Runtime.msa Universal/Security/SecurityStub/Dxe/SecurityStub.msa - Universal/StatusCode/RuntimeDxe/StatusCode.msa Universal/UserInterface/HiiDataBase/Dxe/HiiDatabase.msa Universal/UserInterface/DriverSample/DriverSample.msa Universal/UserInterface/SetupBrowser/Dxe/SetupBrowser.msa @@ -158,6 +438,9 @@ Universal/Variable/RuntimeDxe/Variable.msa Universal/Capsule/RuntimeDxe/CapsuleRuntime.msa Universal/WatchdogTimer/Dxe/WatchDogTimer.msa + Universal/StatusCode/Pei/PeiStatusCode.msa + Universal/StatusCode/Dxe/DxeStatusCode.msa + Universal/ConPlatform/Dxe/ConPlatform.msa Include/EdkPeim.h @@ -172,11 +455,17 @@ Include/EdkPeim.h + + gEfiGenericPlatformTokenSpaceGuid + 18D15EA6-9E14-40a1-B39C-59C44DA9D891 + This is the token space GUID for platform generic PCD definitions. + Now FlashLayout and Platform CPU belong to this space. + gEfiEdkModulePkgTokenSpaceGuid 8CC4092F-F60E-46d1-B41C-1E761DF50582 All PCD define in EdkModulePkg is in this token space scope - + gPcdDataBaseHobGuid EA296D92-0B69-423C-8C28-33B4E0A91268 @@ -352,6 +641,11 @@ EC4DF5AF-4395-4CC9-94DE-77506D12C7B8 + + gMemoryStatusCodeRecordGuid + 060CC026-4C0D-4DDA-8F41-595FEF00A502 + + @@ -514,160 +808,332 @@ - PcdMaximumUnicodeStringLength - 0x00000001 - gEfiMdePkgTokenSpaceGuid + PcdMaxPeiPcdCallBackNumberPerPcdEntry + 0x0001000f + gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - 1000000 - If PcdMaximumUnicodeStringLength is not zero, the maximum - number of characters (not counting the NULL-terminator) in a - Unicode string cannot exceed it. + 0x08 + The maximum number of callback function, which will be triggered when + a PCD entry is been set, can be registered for a single PCD entry in PEI phase. - PcdMaximumAsciiStringLength - 0x00000002 - gEfiMdePkgTokenSpaceGuid + PcdVpdBaseAddress + 0x00010010 + gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - 1000000 - If PcdMaximumAsciiStringLength is not zero, the maximum number - of characters (not counting the NULL-terminator) in an ASCII - string cannot exceed it. + 0x0 + The base address of the VPD (Vital Product Data) region. It is + normally a region reserved on flash. - PcdMaximumLinkedListLength - 0x00000003 - gEfiMdePkgTokenSpaceGuid + PcdSupportUpdateCapsuleRest + 0x0001001d + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Indicate whether platform can support update capsule across a system reset + + + PcdMaxSizePopulateCapsule + 0x0001001e + gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - 1000000 - If PcdMaximumLinkedListLength is not zero, the maximum number - of nodes (not counting the list header) in a linked list - cannot exceed it. + 0x0 + Indicate the max size the platform can support in case of populated capsules - PcdSpinLockTimeout - 0x00000004 - gEfiMdePkgTokenSpaceGuid + PcdMaxSizeNonPopulateCapsule + 0x0001001f + gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - 10000000 - If PcdSpinLockTimeout is not zero, it stands for the timeout - value (unit: millisecond) for spin lock. + 0x0 + Indicate the max size the platform can support in case of non-populated capsules - PcdDebugPropertyMask - 0x00000005 - gEfiMdePkgTokenSpaceGuid - UINT8 - FIXED_AT_BUILD - 0x0f - The bitmask of flags that specify the enable/disable of Debug - Assert, Debug Print, Debug Code, Clear Memory, Assert - Breakpoint and Assert Deadloop. + PcdPeiPcdDatabaseTraverseEnabled + 0x00010020 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + This feature flag can be used to enable or disable the Pcd PEIM database + traverse capability. Disable it can reduce the size of final image generated. - PcdDebugPrintErrorLevel - 0x00000006 - gEfiMdePkgTokenSpaceGuid - UINT32 - PATCHABLE_IN_MODULE - 0x80000000 - The bitmask of flags that specify the kind of debug message - output when Debug Print is enabled. + PcdDxePcdDatabaseTraverseEnabled + 0x00010021 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + This feature flag can be used to enable or disable the Pcd DXE database + traverse capability. Disable it can reduce the size of final image generated. - PcdReportStatusCodePropertyMask - 0x00000007 - gEfiMdePkgTokenSpaceGuid - UINT8 - FIXED_AT_BUILD - 0x07 - The bitmask of flags that specify the enable/disable of - Progress Code, Error Code and Debug Code. + PcdStatusCodeUseSerial + 0x00010022 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + This feature flag can be used to enable or disable report staus code to serial I/O. Disable it can reduce the size of final image generated. - PcdDebugClearMemoryValue - 0x00000008 - gEfiMdePkgTokenSpaceGuid - UINT8 - FIXED_AT_BUILD - 0xAF - The value used by DebugClearMemory () to fill a certain range - of memory. + PcdStatusCodeUseMemory + 0x00010023 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + This feature flag can be used to enable or disable save statuc code in GUID'ed HOB. Disable it can reduce the size of final image generated. + + + PcdStatusCodeUseOEM + 0x00010024 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + This feature flag can be used to enable or disable send status code to OEM device. Disable it can reduce the size of final image generated. - PcdPerformanceLibraryPropertyMask - 0x00000009 - gEfiMdePkgTokenSpaceGuid + PcdStatusCodeMemorySize + 0x00010025 + gEfiEdkModulePkgTokenSpaceGuid + UINT16 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 1 + kbytes size of GUID'ed HOB, if the GUID'ed HOB is full, create new GUID'ed HOB with this size. + + + PcdStatusCodeUseEfiSerial + 0x00010026 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to switch on/off report status code through serial DXE. + + + PcdStatusCodeUseHardSerial + 0x00010027 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to switch on/off report status code to serial device. + + + PcdStatusCodeUseRuntimeMemory + 0x00010028 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to switch on/off save status code in runtime memory. + + + PcdStatusCodeUseDataHub + 0x00010029 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to switch on/off log status code in data hub. + + + PcdStatusCodeReplayInSerial + 0x0001002a + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial. + + + PcdStatusCodeReplayInRuntimeMemory + 0x0001002b + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial. + + + PcdStatusCodeReplayInDataHub + 0x0001002c + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial. + + + PcdStatusCodeReplayInOEM + 0x0001002d + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + Use to enable/dsable replay status code which saved in GUID'ed HOB in PEI phase to EFI serial. + + + PcdStatusCodeRuntimeMemorySize + 0x0001002e + gEfiEdkModulePkgTokenSpaceGuid + UINT16 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 4 + kbytes size of runtime memory. + + + PcdMaxPeiPerformanceLogEntries + 0x0001002f + gEfiEdkModulePkgTokenSpaceGuid UINT8 - FIXED_AT_BUILD - 0 - The bitmask of flags that specify the enable/disable of - Performance Measurement. + FIXED_AT_BUILD PATCHABLE_IN_MODULE + 28 + Maximun number of performance log entries during PEI phase. - PcdMaxPeiPcdCallBackNumberPerPcdEntry - 0x0001000f + PcdPeiPcdDatabaseSetEnabled + 0x00010030 gEfiEdkModulePkgTokenSpaceGuid - UINT32 - FIXED_AT_BUILD - The maximum number of callback function, which will be triggered when - a PCD entry is been set, can be registered for a single PCD entry in PEI phase. + BOOLEAN + FEATURE_FLAG + TRUE + This feature flag can be used to enable or disable the SET capability of PCD service PEIM. If a platform does not do PCD SET operation in PEI phase. This flag can be set to DISABLE to save size. - PcdVpdBaseAddress - 0x00010010 + PcdPeiPcdDatabaseGetSizeEnabled + 0x00010031 gEfiEdkModulePkgTokenSpaceGuid - UINT32 - FIXED_AT_BUILD - The base address of the VPD (Vital Product Data) region. It is - normally a region reserved on flash. + BOOLEAN + FEATURE_FLAG + TRUE + This feature flag can be used to enable or disable the GET size capability of PCD service PEIM. If a platform does not do PCD get size operation in PEI phase. This flag can be set to DISABLE to save size. - PcdSupportUpdateCapsuleRest - 0x00010020 + PcdPeiPcdDatabaseCallbackOnSetEnabled + 0x00010032 gEfiEdkModulePkgTokenSpaceGuid BOOLEAN FEATURE_FLAG - Indicate whether platform can support update capsule across a system reset + TRUE + This feature flag can be used to enable or disable the Callback On SET capability of PCD service PEIM. If a platform does not register any callback on set in PEI phase. This flag can be set to DISABLE to save size. - PcdMaxSizePopulateCapsule - 0x00010021 + PcdPeiPcdDatabaseExEnabled + 0x00010033 gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + This feature flag can be used to enable or disable the PCD service PEIM to handle DynamicEX PCD. If a platform has no module to use DynamicEX in PEI phase. This flag can be set to DISABLE to save size. + + + PcdFlashNvStorageVariableBase + 0x30000001 + gEfiGenericPlatformTokenSpaceGuid UINT32 - FIXED_AT_BUILD - Indicate the max size the platform can support in case of populated capsules + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Base address of the variable section in NV firmware volume. - PcdMaxSizeNonPopulateCapsule - 0x00010022 - gEfiEdkModulePkgTokenSpaceGuid + PcdFlashNvStorageVariableSize + 0x30000002 + gEfiGenericPlatformTokenSpaceGuid UINT32 - FIXED_AT_BUILD - Indicate the max size the platform can support in case of non-populated capsules - + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Size of the variable section in NV firmware volume.. + - PcdPeiPcdDatabaseTraverseEnabled - 0x00010020 + PcdFlashNvStorageFtwSpareBase + 0x30000013 + gEfiGenericPlatformTokenSpaceGuid + UINT32 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Base address of the FTW spare block section in NV firmware volume. + + + PcdFlashNvStorageFtwSpareSize + 0x30000014 + gEfiGenericPlatformTokenSpaceGuid + UINT32 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Size of the FTW spare block section in NV firmware volume. + + + PcdFlashNvStorageFtwWorkingBase + 0x30000010 + gEfiGenericPlatformTokenSpaceGuid + UINT32 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Base address of the FTW working block section in NV firmware volume. + + + PcdFlashNvStorageFtwWorkingSize + 0x30000011 + gEfiGenericPlatformTokenSpaceGuid + UINT32 + FIXED_AT_BUILD PATCHABLE_IN_MODULE DYNAMIC + 0x0 + Size of the FTW working block section in NV firmware volume. + + + PcdDxeIplSupportEfiDecompress + 0x00010034 gEfiEdkModulePkgTokenSpaceGuid BOOLEAN FEATURE_FLAG TRUE - This feature flag can be used to enable or disable the Pcd PEIM database - traverse capability. Disable it can reduce the size of final image generated. + If this feature is enabled, then the DXE IPL must support decompressing files compressed with the EFI Compression algorithm - PcdDxePcdDatabaseTraverseEnabled - 0x00010021 + PcdDxeIplSupportTianoDecompress + 0x00010035 gEfiEdkModulePkgTokenSpaceGuid BOOLEAN FEATURE_FLAG TRUE - This feature flag can be used to enable or disable the Pcd DXE database - traverse capability. Disable it can reduce the size of final image generated. + If this feature is enabled, then the DXE IPL must support decompressing files compressed with the Tiano Compression algorithm + + + PcdDxeIplSupportCustomDecompress + 0x00010036 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + If this feature is enabled, then the DXE IPL must support decompressing files compressed with the Custom Compression algorithm + + + PcdDevicePathSupportDevicePathToText + 0x00010037 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + If TRUE, then the Device Path To Text Protocol should be produced by the platform + + + PcdDevicePathSupportDevicePathFromText + 0x00010038 + gEfiEdkModulePkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + FALSE + If TRUE, then the Device Path From Text Protocol should be produced by the platform \ No newline at end of file