summaryrefslogtreecommitdiff
path: root/EdkCompatibilityPkg/Foundation/Include/EfiVariable.h
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-15 04:21:40 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-15 04:21:40 +0000
commit43cefa3419efab3235543bb4685e891b2280e145 (patch)
treefbf6beec6f1ec45663b843fbde153751892f1838 /EdkCompatibilityPkg/Foundation/Include/EfiVariable.h
parent71f36e0f758503804d6992855347c6d99f3945a2 (diff)
downloadedk2-platforms-43cefa3419efab3235543bb4685e891b2280e145.tar.xz
Minor update for EfiVariable.h
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6115 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkCompatibilityPkg/Foundation/Include/EfiVariable.h')
-rw-r--r--EdkCompatibilityPkg/Foundation/Include/EfiVariable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/EdkCompatibilityPkg/Foundation/Include/EfiVariable.h b/EdkCompatibilityPkg/Foundation/Include/EfiVariable.h
index b2a96f4a48..a463cac75a 100644
--- a/EdkCompatibilityPkg/Foundation/Include/EfiVariable.h
+++ b/EdkCompatibilityPkg/Foundation/Include/EfiVariable.h
@@ -24,14 +24,18 @@ Abstract:
#define VARIABLE_STORE_SIGNATURE EFI_SIGNATURE_32 ('$', 'V', 'S', 'S')
+#ifndef MAX_VARIABLE_SIZE
#define MAX_VARIABLE_SIZE 1024
+#endif
//
// Enlarges the hardware error record maximum variable size to 32K bytes
//
#if (EFI_SPECIFICATION_VERSION >= 0x0002000A)
+#ifndef MAX_HARDWARE_ERROR_VARIABLE_SIZE
#define MAX_HARDWARE_ERROR_VARIABLE_SIZE 0x8000
#endif
+#endif
#define VARIABLE_DATA 0x55AA