diff options
author | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-28 18:15:09 +0000 |
---|---|---|
committer | klu2 <klu2@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-02-28 18:15:09 +0000 |
commit | 439c34f3fe4084acb4b9141e8de71199ed7197d6 (patch) | |
tree | f8d3a831970d5da07bf10715392f978486b0bbe7 /DuetPkg/FSVariable | |
parent | 7da78b1f09f29ee6613f710dbd5175db9b9d511f (diff) | |
download | edk2-platforms-439c34f3fe4084acb4b9141e8de71199ed7197d6.tar.xz |
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
Diffstat (limited to 'DuetPkg/FSVariable')
-rw-r--r-- | DuetPkg/FSVariable/FSVariable.c | 2 | ||||
-rw-r--r-- | DuetPkg/FSVariable/FileStorage.c | 3 | ||||
-rw-r--r-- | DuetPkg/FSVariable/MemStorage.c | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/DuetPkg/FSVariable/FSVariable.c b/DuetPkg/FSVariable/FSVariable.c index d20b3a78e3..eefaf0394c 100644 --- a/DuetPkg/FSVariable/FSVariable.c +++ b/DuetPkg/FSVariable/FSVariable.c @@ -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,
diff --git a/DuetPkg/FSVariable/FileStorage.c b/DuetPkg/FSVariable/FileStorage.c index 0c25efa8c3..ce94a12433 100644 --- a/DuetPkg/FSVariable/FileStorage.c +++ b/DuetPkg/FSVariable/FileStorage.c @@ -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;
diff --git a/DuetPkg/FSVariable/MemStorage.c b/DuetPkg/FSVariable/MemStorage.c index 02582d953a..a04d65b9ef 100644 --- a/DuetPkg/FSVariable/MemStorage.c +++ b/DuetPkg/FSVariable/MemStorage.c @@ -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;
|