X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FInclude%2FVariableFormat.h;h=c660134f0db534cf530389e27b3501879a5a7fa6;hb=b7d3c63160fae758c1d0467caeecad169c733338;hp=a4a37585ca5b35d1897126d986af767cfe13cab8;hpb=3cfb790c9499ef62eb8908255f5d7648f2de8d28;p=mirror_edk2.git diff --git a/MdeModulePkg/Include/VariableFormat.h b/MdeModulePkg/Include/VariableFormat.h index a4a37585ca..c660134f0d 100644 --- a/MdeModulePkg/Include/VariableFormat.h +++ b/MdeModulePkg/Include/VariableFormat.h @@ -17,12 +17,12 @@ #define VARIABLE_STORE_SIGNATURE EFI_SIGNATURE_32 ('$', 'V', 'S', 'S') -#define MAX_VARIABLE_SIZE 1024 +#define MAX_VARIABLE_SIZE FixedPcdGet32(PcdMaxVariableSize) // // Enlarges the hardware error record maximum variable size to 32K bytes // -#define MAX_HARDWARE_ERROR_VARIABLE_SIZE 0x8000 +#define MAX_HARDWARE_ERROR_VARIABLE_SIZE FixedPcdGet32(PcdMaxHardwareErrorVariableSize) #define VARIABLE_DATA 0x55AA