summaryrefslogtreecommitdiff
path: root/EdkModulePkg/Universal/PCD/Pei
diff options
context:
space:
mode:
authorqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-04 12:43:59 +0000
committerqwang12 <qwang12@6f19259b-4bc3-4df7-8a09-765794883524>2006-07-04 12:43:59 +0000
commit1eb73ab57aa6d49cd82eb2b3305ec39bba591d1f (patch)
tree19c89a20bac24b562c2b8b139d8889694647a1fa /EdkModulePkg/Universal/PCD/Pei
parent0d2001d31d1adf5d6abbff41c3eda82a2bd208cc (diff)
downloadedk2-platforms-1eb73ab57aa6d49cd82eb2b3305ec39bba591d1f.tar.xz
Added LibPatchPcdSetPtr.
Cleaup Pcd Database code generation routine. Fixed a few bugs. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@745 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Universal/PCD/Pei')
-rw-r--r--EdkModulePkg/Universal/PCD/Pei/Service.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/EdkModulePkg/Universal/PCD/Pei/Service.c b/EdkModulePkg/Universal/PCD/Pei/Service.c
index 011e3aa36e..a85d1d1786 100644
--- a/EdkModulePkg/Universal/PCD/Pei/Service.c
+++ b/EdkModulePkg/Universal/PCD/Pei/Service.c
@@ -16,7 +16,6 @@ Module Name: Service.c
**/
#include "Service.h"
-
/**
The function registers the CallBackOnSet fucntion
according to TokenNumber and EFI_GUID space.
@@ -496,7 +495,6 @@ GetWorker (
Status = GetHiiVariable (Guid, Name, &Data, &DataSize);
if (Status == EFI_SUCCESS) {
- ASSERT (DataSize >= (UINTN) (VariableHead->Offset + Size));
return (VOID *) ((UINT8 *) Data + VariableHead->Offset);
} else {
//