Fix build broken for variable's header modification.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7734 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
klu2 2009-02-28 18:15:09 +00:00
parent 7da78b1f09
commit 439c34f3fe
4 changed files with 5 additions and 4 deletions

View File

@ -738,7 +738,7 @@ PrepareHobNvStorage (
*/
{
STATIC VARIABLE_STORE_HEADER VarStoreHeader = {
gEfiVariableGuid,
VARIABLE_STORE_SIGNATURE,
0xffffffff, // will be fixed in Variable driver
VARIABLE_STORE_FORMATTED,
VARIABLE_STORE_HEALTHY,

View File

@ -22,7 +22,7 @@ Abstract:
#include "FSVariable.h"
VARIABLE_STORE_HEADER mStoreHeaderTemplate = {
gEfiVariableGuid,
VARIABLE_STORE_SIGNATURE,
VOLATILE_VARIABLE_STORE_SIZE,
VARIABLE_STORE_FORMATTED,
VARIABLE_STORE_HEALTHY,

View File

@ -247,7 +247,8 @@ FileStorageConstructor (
ASSERT_EFI_ERROR (Status);
ZeroMem (Dev, sizeof(VS_DEV));
CopyGuid (&Dev->Signature, &gEfiVariableGuid);
Dev->Signature = VS_DEV_SIGNATURE;
//CopyGuid (&Dev->Signature, &gEfiVariableGuid);
Dev->Size = Size;
VAR_DATA_PTR (Dev) = (UINT8 *) (UINTN) NvStorageBase;
VAR_FILE_VOLUMEID (Dev) = VolumeId;

View File

@ -59,7 +59,7 @@ MemStorageConstructor (
ZeroMem (Dev, sizeof(VS_DEV));
CopyGuid (&Dev->Signature, &gEfiVariableGuid);
Dev->Signature = VS_DEV_SIGNATURE;
Dev->Size = Size;
Dev->VarStore.Erase = MemEraseStore;