diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-15 04:21:40 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-15 04:21:40 +0000 |
commit | 43cefa3419efab3235543bb4685e891b2280e145 (patch) | |
tree | fbf6beec6f1ec45663b843fbde153751892f1838 /EdkCompatibilityPkg | |
parent | 71f36e0f758503804d6992855347c6d99f3945a2 (diff) | |
download | edk2-43cefa3419efab3235543bb4685e891b2280e145.tar.gz edk2-43cefa3419efab3235543bb4685e891b2280e145.tar.bz2 edk2-43cefa3419efab3235543bb4685e891b2280e145.zip |
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')
-rw-r--r-- | EdkCompatibilityPkg/Foundation/Include/EfiVariable.h | 4 |
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
|