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
This commit is contained in:
@@ -102,7 +102,6 @@ GetWorker (
|
||||
|
||||
Status = GetHiiVariable (Guid, Name, &Data, &DataSize);
|
||||
if (Status == EFI_SUCCESS) {
|
||||
ASSERT (DataSize >= (UINTN) (VariableHead->Offset + Size));
|
||||
return (UINT8 *) Data + VariableHead->Offset;
|
||||
} else {
|
||||
//
|
||||
|
@@ -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 {
|
||||
//
|
||||
|
Reference in New Issue
Block a user