X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=DuetPkg%2FFSVariable%2FVariableStorage.h;h=5121009695e6af05bb1510f9488005b31257b2a2;hp=3ebfaeb5db2fe692294de5d33fceef791e034b59;hb=b1f700a8593435e2bdc8f9b3dc21bced4774c80f;hpb=9071550e8697ed9df3d24b369bd30e3f0e190d1f diff --git a/DuetPkg/FSVariable/VariableStorage.h b/DuetPkg/FSVariable/VariableStorage.h index 3ebfaeb5db..5121009695 100644 --- a/DuetPkg/FSVariable/VariableStorage.h +++ b/DuetPkg/FSVariable/VariableStorage.h @@ -1,7 +1,7 @@ /*++ -Copyright (c) 2006 - 2007, Intel Corporation -All rights reserved. This program and the accompanying materials +Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.
+This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -24,8 +24,8 @@ Revision History #define _VARIABLE_STORAGE_H_ #define VAR_DEFAULT_VALUE (0xff) -#define VAR_DEFAULT_VALUE_16 EFI_SIGNATURE_16 (VAR_DEFAULT_VALUE, VAR_DEFAULT_VALUE) -#define VAR_DEFAULT_VALUE_32 EFI_SIGNATURE_32 (VAR_DEFAULT_VALUE, VAR_DEFAULT_VALUE, \ +#define VAR_DEFAULT_VALUE_16 SIGNATURE_16 (VAR_DEFAULT_VALUE, VAR_DEFAULT_VALUE) +#define VAR_DEFAULT_VALUE_32 SIGNATURE_32 (VAR_DEFAULT_VALUE, VAR_DEFAULT_VALUE, \ VAR_DEFAULT_VALUE, VAR_DEFAULT_VALUE) typedef struct _VARIABLE_STORAGE VARIABLE_STORAGE; @@ -100,7 +100,8 @@ typedef struct _VS_DEV { } VS_DEV; -#define DEV_FROM_THIS(a) CR (a, VS_DEV, VarStore, VARIABLE_STORE_SIGNATURE) +#define VS_DEV_SIGNATURE SIGNATURE_32 ('$', 'V', 'S', 'D') +#define DEV_FROM_THIS(a) CR (a, VS_DEV, VarStore, VS_DEV_SIGNATURE) #define VAR_DATA_PTR(a) ((a)->Info.Data) #define VAR_FILE_DEVICEPATH(a) ((a)->Info.FileInfo.DevicePath)