diff options
author | gtian <gtian@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-05 16:11:50 +0000 |
---|---|---|
committer | gtian <gtian@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-11-05 16:11:50 +0000 |
commit | 518d395c3bee7dd36ae372171ea403cabfe73bfd (patch) | |
tree | 24e5d781b56c54ccf8fe72ecf503fee847dce89a /MdeModulePkg/Include/VariableFormat.h | |
parent | a4c9ede55fdd3de2c9138f45c4e1ca42947ed549 (diff) | |
download | edk2-platforms-518d395c3bee7dd36ae372171ea403cabfe73bfd.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Include/VariableFormat.h')
-rw-r--r-- | MdeModulePkg/Include/VariableFormat.h | 4 |
1 files changed, 2 insertions, 2 deletions
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
|