mirror of https://github.com/acidanthera/audk.git
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:
parent
7da78b1f09
commit
439c34f3fe
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue