From 58f1099f3dd6d1d7606cc57046e59488d4cbf023 Mon Sep 17 00:00:00 2001 From: qwang12 Date: Fri, 23 Jun 2006 04:30:23 +0000 Subject: 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 --- MdePkg/Include/Ppi/Pcd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MdePkg/Include/Ppi') diff --git a/MdePkg/Include/Ppi/Pcd.h b/MdePkg/Include/Ppi/Pcd.h index 13b56406dc..360eea3beb 100644 --- a/MdePkg/Include/Ppi/Pcd.h +++ b/MdePkg/Include/Ppi/Pcd.h @@ -22,7 +22,7 @@ extern EFI_GUID gPcdPpiGuid; #define PCD_PPI_GUID \ { 0x6e81c58, 0x4ad7, 0x44bc, { 0x83, 0x90, 0xf1, 0x2, 0x65, 0xf7, 0x24, 0x80 } } -#define PCD_INVALID_TOKEN_NUMBER ((UINTN) -1) +#define PCD_INVALID_TOKEN_NUMBER ((UINTN) 0) typedef VOID -- cgit v1.2.3