diff options
author | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-23 04:30:23 +0000 |
---|---|---|
committer | qwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-06-23 04:30:23 +0000 |
commit | 58f1099f3dd6d1d7606cc57046e59488d4cbf023 (patch) | |
tree | 47bfe658743b7f4d7757893c54f2432d3f272986 /EdkNt32Pkg/Dxe/WinNtThunk | |
parent | 90f7b6a81b96a112f196ff80e7cade4f951264a1 (diff) | |
download | edk2-platforms-58f1099f3dd6d1d7606cc57046e59488d4cbf023.tar.xz |
1) remove some dead code from WinNtBusDriver.c
2) change PCD_INVALID_TOKEN_NUMBER to 0 as stipulated in MWG spec and PCD spec.
3) support returning a Default Value when a read failure by variable service for PCD entry with Variable Enabled.
4) Remove a lot of unreferenced JAVA import from CollectPCDAction.java, PCDAutoGenAction.java, MemoryDatabaseManager.java, Token.java and UsageInstance.java.
5) Opimized to merge elements in all tables in PCD database for make the code compact.
6) Did a tighter check on how dynamic PCD entry is referenced in each module.
7) Update the PCD driver/PEIM and PCD database generation verion to 2.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@605 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkNt32Pkg/Dxe/WinNtThunk')
-rw-r--r-- | EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.c b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.c index eb071575e0..73a345a431 100644 --- a/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.c +++ b/EdkNt32Pkg/Dxe/WinNtThunk/Bus/WinNtBusDriver/WinNtBusDriver.c @@ -317,26 +317,6 @@ Returns: CHAR16 *PcdTempStr;
UINTN TempStrSize;
- //
- // Test Feature Set and Binary Patchable Case
- //
- if (FeaturePcdGet (PcdWinNtFeatureFlag1)) {
- TempStrSize = PatchPcdGet32(PcdWinNtBinaryPatch1) + PatchPcdGet32(PcdWinNtBinaryPatch2);
- }
-
- if (0) {
- //
- // Test Dynamic and DynamicEx
- // (Please add PcdWinNtConsole in "WinNtBusDriver.inf" before enable this code!!!)
- //
- PcdTempStr = PcdGetPtr (PcdWinNtConsole);
- }
-
- //
- // Test Dynamic Set and Dynamic Set Ex
- //
- PcdSet32 (PcdWinNtDynamicUINT32, 2006);
-
Status = EFI_UNSUPPORTED;
//
|