From f7ba35558264ed17a3b55ecc95f8520cc38e37ec Mon Sep 17 00:00:00 2001 From: klu2 Date: Wed, 12 Jul 2006 07:33:02 +0000 Subject: 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 --- .../Bus/WinNtBusDriver/WinNtBusDriver.msa | 50 +++++++++------------ EdkNt32Pkg/EdkNt32Pkg.spd | 52 +++++++++++++++++----- EdkNt32Pkg/Sec/SecMain.msa | 22 +++++++-- 3 files changed, 80 insertions(+), 44 deletions(-) (limited to 'EdkNt32Pkg') 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 -- cgit v1.2.3