summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Universal/PCD
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-24 01:24:17 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-24 01:24:17 +0000
commit5944a83bacfe55abec4abec339c1acd76714c4dc (patch)
treea04d6dfd8228e5d75fd33ef64a9b48ab48c207ac /MdeModulePkg/Universal/PCD
parent2da292f637e506a7cfb6bce738cb5741671d8f68 (diff)
downloadedk2-platforms-5944a83bacfe55abec4abec339c1acd76714c4dc.tar.xz
Code clean for Ftw driver, remove the obsolete logic for boot block. Correct some comments in Pei Pcd driver.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7108 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Universal/PCD')
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Pcd.c4
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Service.c3
-rw-r--r--MdeModulePkg/Universal/PCD/Pei/Service.h2
3 files changed, 5 insertions, 4 deletions
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.c b/MdeModulePkg/Universal/PCD/Pei/Pcd.c
index ddf3a64195..0516bc8ab6 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Pcd.c
+++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.c
@@ -1,5 +1,5 @@
/** @file
-PCD PEIM produces PCD database to manage all dynamic PCD in PEI phase and install Pcd Ppi.
+ All Pcd Ppi services are implemented here.
Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -1207,7 +1207,7 @@ SetPtrTypeSize (
(*CurrentSize == MAX_ADDRESS)) {
*CurrentSize = MaxSize;
return FALSE;
- }
+ }
if ((LocalTokenNumber & PCD_TYPE_SKU_ENABLED) == 0) {
//
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.c b/MdeModulePkg/Universal/PCD/Pei/Service.c
index 65e7e92cfc..ce646edc7b 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Service.c
+++ b/MdeModulePkg/Universal/PCD/Pei/Service.c
@@ -1,5 +1,6 @@
/** @file
-Private functions used by PCD PEIM.
+ The driver internal functions are implmented here.
+ They build Pei PCD database, and provide access service to PCD database.
Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
diff --git a/MdeModulePkg/Universal/PCD/Pei/Service.h b/MdeModulePkg/Universal/PCD/Pei/Service.h
index 06cb24721f..ed1a14045c 100644
--- a/MdeModulePkg/Universal/PCD/Pei/Service.h
+++ b/MdeModulePkg/Universal/PCD/Pei/Service.h
@@ -1,5 +1,5 @@
/** @file
-Private functions used by PCD PEIM.
+ The internal header file declares the private functions used by PeiPcd driver.
Copyright (c) 2006 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials