From 518d395c3bee7dd36ae372171ea403cabfe73bfd Mon Sep 17 00:00:00 2001 From: gtian Date: Mon, 5 Nov 2007 16:11:50 +0000 Subject: define the variable related to PCD for supporting big variable (>32K) easily. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4268 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/VariableFormat.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdeModulePkg/Include') 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 -- cgit v1.2.3