From: klu2 Date: Wed, 12 Jul 2006 07:33:02 +0000 (+0000) Subject: Fix the for PCD used by EdkNt32Pkg and EdkModulePkg. X-Git-Tag: edk2-stable201903~24965 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=f7ba35558264ed17a3b55ecc95f8520cc38e37ec Fix the for PCD used by EdkNt32Pkg and EdkModulePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@891 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/EdkModulePkg/EdkModulePkg.spd b/EdkModulePkg/EdkModulePkg.spd index 2d2b2a8e1c..fbfac34517 100644 --- a/EdkModulePkg/EdkModulePkg.spd +++ b/EdkModulePkg/EdkModulePkg.spd @@ -594,64 +594,14 @@ 0 HELP FIX ME! - - PcdMaxPcdCallBackNumber - 0x0001000f - gEfiEdkModulePkgTokenSpaceGuid - UINT32 - FIXED_AT_BUILD - 0 - HELP FIX ME! - - - PcdTestDynamicUint8 - 0x00011000 - gEfiEdkModulePkgTokenSpaceGuid - UINT8 - DYNAMIC - 0x01 - HELP FIX ME! - - - PcdTestDynamicUint16 - 0x00011001 - gEfiEdkModulePkgTokenSpaceGuid - UINT16 - DYNAMIC - 0x1234 - HELP FIX ME! - - - PcdTestDynamicUint32 - 0x00011002 - gEfiEdkModulePkgTokenSpaceGuid - UINT32 - DYNAMIC - HELP FIX ME! - - - PcdTestDynamicUint64 - 0x00011003 - gEfiEdkModulePkgTokenSpaceGuid - UINT64 - DYNAMIC - HELP FIX ME! - - - PcdTestDynamicBoolean - 0x00011004 - gEfiEdkModulePkgTokenSpaceGuid - BOOLEAN - DYNAMIC - HELP FIX ME! - PcdMaxPeiPcdCallBackNumberPerPcdEntry 0x0001000f gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - HELP FIX ME! + 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. PcdVpdBaseAddress @@ -659,7 +609,8 @@ gEfiEdkModulePkgTokenSpaceGuid UINT32 FIXED_AT_BUILD - HELP FIX ME! + The base address of the VPD (Vital Product Data) region. It is + normally a region reserved on flash. PcdSupportUpdateCapsuleRest @@ -692,7 +643,8 @@ 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. + 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. PcdDxePcdDatabaseTraverseEnabled @@ -701,7 +653,8 @@ 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. + 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. \ No newline at end of file diff --git a/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa index ed41cb85ce..c64dcf3c3d 100644 --- a/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa +++ b/EdkModulePkg/Universal/PCD/Dxe/Pcd.msa @@ -98,12 +98,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PcdVpdBaseAddress gEfiEdkModulePkgTokenSpaceGuid - + The base address of the VPD (Vital Product Data) region. It is + normally a region reserved on flash. PcdDxePcdDatabaseTraverseEnabled gEfiEdkModulePkgTokenSpaceGuid - + 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. \ No newline at end of file diff --git a/EdkModulePkg/Universal/PCD/Pei/Pcd.msa b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa index d169434fc3..1cd780170c 100644 --- a/EdkModulePkg/Universal/PCD/Pei/Pcd.msa +++ b/EdkModulePkg/Universal/PCD/Pei/Pcd.msa @@ -95,17 +95,20 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PcdMaxPeiPcdCallBackNumberPerPcdEntry gEfiEdkModulePkgTokenSpaceGuid - + 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. PcdVpdBaseAddress gEfiEdkModulePkgTokenSpaceGuid - + The base address of the VPD (Vital Product Data) region. It is + normally a region reserved on flash. PcdPeiPcdDatabaseTraverseEnabled gEfiEdkModulePkgTokenSpaceGuid - + 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. \ No newline at end of file diff --git a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa index e09323e5bf..672dc83824 100644 --- a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa +++ b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.msa @@ -128,67 +128,59 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PcdWinNtConsole gEfiEdkNt32PkgTokenSpaceGuid - + This PCD declares the title string of the text console window. + such as "My EFI Console". + The item type of this PCD can only be "DYNAMIC". PcdWinNtUga gEfiEdkNt32PkgTokenSpaceGuid - + This PCD declares the resolutions for the UGA windows. + The item type of this PCD can only be "DYNAMIC". PcdWinNtSerialPort gEfiEdkNt32PkgTokenSpaceGuid - + This Pcd declares two serial port for simulated environment. + The item type of this PCD can only be "DYNAMIC". PcdWinNtFileSystem gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the windows directory who will be mounted as + harddisk in simulator. + The item type of this PCD can only be "DYNAMIC". PcdWinNtVirtualDisk gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the file attribute which will be simulated as + a harddisk in simulator. + The item type if this PCD can only be "DYNAMIC". PcdWinNtPhysicalDisk gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines physical disk which will be simualted as a + harddisk in simulator. + The item type of this PCD can only be "DYNAMIC". PcdWinNtCpuModel gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines simulated CPU model string. + The item type of this PCD can only be "DYNAMIC". PcdWinNtCpuSpeed gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines simulated CPU speed string. PcdWinNtMemorySize gEfiEdkNt32PkgTokenSpaceGuid - - - - PcdWinNtBinaryPatch1 - gEfiEdkNt32PkgTokenSpaceGuid - - - - PcdWinNtBinaryPatch2 - gEfiEdkNt32PkgTokenSpaceGuid - - - - PcdWinNtFeatureFlag1 - gEfiEdkNt32PkgTokenSpaceGuid - - - - PcdWinNtDynamicUINT32 - gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the size of simulated memory size. + The item type of this PCD can only be "DYNAMIC". \ No newline at end of file diff --git a/EdkNt32Pkg/EdkNt32Pkg.spd b/EdkNt32Pkg/EdkNt32Pkg.spd index f52a1ac30f..13e446ee3e 100644 --- a/EdkNt32Pkg/EdkNt32Pkg.spd +++ b/EdkNt32Pkg/EdkNt32Pkg.spd @@ -266,7 +266,9 @@ VOID* DYNAMIC L"FW;40960;512" - HELP FIX ME! + This PCD defines physical disk which will be simualted as a + harddisk in simulator. + The item type of this PCD can only be "DYNAMIC". PcdWinNtVirtualDisk @@ -275,7 +277,9 @@ VOID* DYNAMIC L"FW;40960;512" - HELP FIX ME! + This PCD defines the file attribute which will be simulated as + a harddisk in simulator. + The item type if this PCD can only be "DYNAMIC". PcdWinNtSerialPort @@ -284,7 +288,8 @@ VOID* DYNAMIC L"COM1!COM2" - HELP FIX ME! + This Pcd declares two serial port for simulated environment. + The item type of this PCD can only be "DYNAMIC". PcdWinNtUga @@ -293,7 +298,8 @@ VOID* DYNAMIC L"UGA Window 1!UGA Window 2" - HELP FIX ME! + This PCD declares the resolutions for the UGA windows. + The item type of this PCD can only be "DYNAMIC". PcdWinNtFileSystem @@ -302,7 +308,9 @@ VOID* FIXED_AT_BUILD L".!C:\\D\\work\\Remodel\\mdk\\EdkShellBinPkg\\bin\\ia32\\Apps" - HELP FIX ME! + This PCD defines the windows directory who will be mounted as + harddisk in simulator. + The item type of this PCD can only be "DYNAMIC". PcdWinNtMemorySize @@ -311,7 +319,8 @@ VOID* FIXED_AT_BUILD L"64!64" - HELP FIX ME! + This PCD defines the size of simulated memory size. + The item type of this PCD can only be "DYNAMIC". PcdWinNtMemorySizeForSecMain @@ -320,7 +329,9 @@ VOID* FIXED_AT_BUILD L"64!64" - HELP FIX ME! + This PCD defines the memory size of simulated machine. Simulator will allocate + the size of PcdWinNtMemorySizeForSecMain in windows platform. + The item type of this PCD can only be "FIXED_AT_BUILD". PcdWinNtBootMode @@ -329,7 +340,20 @@ UINT32 FIXED_AT_BUILD 1 - HELP FIX ME! + This PCD defines the boot mode for simualtor. + The boot mode can be set as following value: + 0x0: Boot with full configuration. + 0x1: Boot with minimal configuration. + 0x2: Boot assume no configuration changes. + 0x3: Boot with full configuration plus diagnostics. + 0x4: Boot with default settings. + 0x5: Boot on S4 resume. + 0x6: Boot on S5 resume. + 0x10: Boot on S2 resume. + 0x11: Boot on S3 resume. + 0x12: Boot on flash update. + 0x20: Boot in reovery mode. + The item type of this PCD can only be "FIXED_AT_BUILD". PcdWinNtCpuModel @@ -338,7 +362,8 @@ VOID* FIXED_AT_BUILD L"Intel(R) Processor Model" - HELP FIX ME! + This PCD defines simulated CPU model string. + The item type of this PCD can only be "DYNAMIC". PcdWinNtCpuSpeed @@ -347,7 +372,7 @@ VOID* FIXED_AT_BUILD L"3000" - HELP FIX ME! + This PCD defines simulated CPU speed string. PcdWinNtFirmwareVolume @@ -356,7 +381,8 @@ VOID* FIXED_AT_BUILD L"..\\..\\Fv\\Fv_Recovery.fd" - HELP FIX ME! + This PCD defines the FD file windows path string. Simulator will load the FD file and execute. + The item type of this PCD can only be "FIXED_AT_BUILD". PcdWinNtConsole @@ -365,7 +391,9 @@ VOID* FIXED_AT_BUILD L"Bus Driver Console Window" - HELP FIX ME! + This PCD declares the title string of the text console window. + such as "My EFI Console". + The item type of this PCD can only be "DYNAMIC". diff --git a/EdkNt32Pkg/Sec/SecMain.msa b/EdkNt32Pkg/Sec/SecMain.msa index 1e7efe38d3..23f059511d 100644 --- a/EdkNt32Pkg/Sec/SecMain.msa +++ b/EdkNt32Pkg/Sec/SecMain.msa @@ -93,17 +93,33 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.--> PcdWinNtMemorySizeForSecMain gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the memory size of simulated machine. Simulator will allocate + the size of PcdWinNtMemorySizeForSecMain in windows platform. + The item type of this PCD can only be "FIXED_AT_BUILD". PcdWinNtFirmwareVolume gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the FD file windows path string. Simulator will load the FD file and execute. + The item type of this PCD can only be "FIXED_AT_BUILD". PcdWinNtBootMode gEfiEdkNt32PkgTokenSpaceGuid - + This PCD defines the boot mode for simualtor. + The boot mode can be set as following value: + 0x0: Boot with full configuration. + 0x1: Boot with minimal configuration. + 0x2: Boot assume no configuration changes. + 0x3: Boot with full configuration plus diagnostics. + 0x4: Boot with default settings. + 0x5: Boot on S4 resume. + 0x6: Boot on S5 resume. + 0x10: Boot on S2 resume. + 0x11: Boot on S3 resume. + 0x12: Boot on flash update. + 0x20: Boot in reovery mode. + The item type of this PCD can only be "FIXED_AT_BUILD". \ No newline at end of file