diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-10 13:32:19 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-10 13:32:19 +0000 |
commit | b99828832108937c999f72f6a0b78cd791df5cc9 (patch) | |
tree | 3612908addbb8cc0f29d611d6563435d9c5ae059 /MdeModulePkg/Universal/PCD | |
parent | 9e5acfd583ee88d53cb77691f0d0a882c0fc2473 (diff) | |
download | edk2-b99828832108937c999f72f6a0b78cd791df5cc9.zip edk2-b99828832108937c999f72f6a0b78cd791df5cc9.tar.gz edk2-b99828832108937c999f72f6a0b78cd791df5cc9.tar.bz2 |
Correct typo in comments, clean IfrSupportLib.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7494 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PCD')
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Pcd.c | 3 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Pcd.inf | 6 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Service.c | 3 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Service.h | 19 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Pcd.inf | 8 |
5 files changed, 9 insertions, 30 deletions
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c index e403f3d..0c44a64 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c @@ -11,9 +11,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name: Pcd.c
-
**/
#include "Service.h"
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf b/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf index 7695b84..345e9f6 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf +++ b/MdeModulePkg/Universal/PCD/Dxe/Pcd.inf @@ -3,7 +3,7 @@ # PEI phase, DXE phase and produce the implementation of PCD protocol.
# PCD database structure is generated at autogen.h/autogen.c in build time.
#
-# Copyright (c) 2006 - 2007, Intel Corporation
+# Copyright (c) 2006 - 2009, Intel Corporation
#
# All rights reserved. This program and the accompanying materials
# are licensed and made available under the terms and conditions of the BSD License
@@ -52,10 +52,10 @@ PcdLib
[Guids]
- gPcdDataBaseHobGuid # ALWAYS_CONSUMES Hob: GUID_EXTENSION
+ gPcdDataBaseHobGuid ## CONSUMES ## Hob: GUID_EXTENSION
[Protocols]
- gPcdProtocolGuid # PROTOCOL ALWAYS_PRODUCES
+ gPcdProtocolGuid ## PRODUCES
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdDxePcdDatabaseTraverseEnabled
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.c b/MdeModulePkg/Universal/PCD/Dxe/Service.c index a1f966c..71e9239 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.c @@ -1018,7 +1018,7 @@ SetHiiVariable ( space guid: token number} to local token number.
@param Guid Token space guid for dynamic-ex PCD entry.
- @param ExTokenNumber EDES_TODO: Add parameter description
+ @param ExTokenNumber Dynamic-ex PCD token number.
@return local token number for dynamic-ex PCD.
@@ -1049,7 +1049,6 @@ GetExPcdTokenNumber ( if ((ExTokenNumber == ExMap[Index].ExTokenNumber) &&
(MatchGuidIdx == ExMap[Index].ExGuidIndex)) {
return ExMap[Index].LocalTokenNumber;
-
}
}
}
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Service.h b/MdeModulePkg/Universal/PCD/Dxe/Service.h index d0e94af..67114be 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Service.h +++ b/MdeModulePkg/Universal/PCD/Dxe/Service.h @@ -10,9 +10,6 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
-
-Module Name: Service.h
-
**/
#ifndef _PCD_DXE_SERVICE_H_
@@ -32,20 +29,6 @@ Module Name: Service.h #include <Library/UefiRuntimeServicesTableLib.h>
//
-// Please make sure the PCD Service PEIM Version is consistent with
-// the version of PCD Database generation tool
-//
-#define PCD_SERVICE_DXE_DRIVER_VERSION 2
-
-//
-// PCD_DXE_DATABASE_GENTOOL_VERSION is defined in Autogen.h
-// and generated by PCD Database generation tool.
-//
-//#if (PCD_SERVICE_DXE_DRIVER_VERSION != PCD_DXE_SERVICE_DRIVER_AUTOGEN_VERSION)
-// #error "Please make sure the version of PCD Service DXE Driver and PCD DXE Database Generation Tool matches"
-//#endif
-
-//
// Protocol Interface function declaration.
//
/**
@@ -997,7 +980,7 @@ BuildPcdDxeDataBase ( space guid: token number} to local token number.
@param Guid Token space guid for dynamic-ex PCD entry.
- @param ExTokenNumber EDES_TODO: Add parameter description
+ @param ExTokenNumber Dynamic-ex PCD token number.
@return local token number for dynamic-ex PCD.
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf index 44e426e..cebcf47 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Pcd.inf +++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.inf @@ -48,12 +48,12 @@ [Guids]
gPcdPeiCallbackFnTableHobGuid ## RPIVATE ## Hob
- gPcdDataBaseHobGuid ## PRODUCED ## Hob
- gPcdDataBaseHobGuid ## CONSUMED ## Hob
+ gPcdDataBaseHobGuid ## PRODUCES ## Hob
+ gPcdDataBaseHobGuid ## CONSUMES ## Hob
[Ppis]
- gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMED
- gPcdPpiGuid ## PRODUCED
+ gEfiPeiReadOnlyVariable2PpiGuid ## CONSUMES
+ gPcdPpiGuid ## PRODUCES
[FeaturePcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdPeiPcdDatabaseSetEnabled
|