summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include/VariableFormat.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Include/VariableFormat.h')
-rw-r--r--MdeModulePkg/Include/VariableFormat.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdeModulePkg/Include/VariableFormat.h b/MdeModulePkg/Include/VariableFormat.h
index a4a3758..c660134 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