From 43cefa3419efab3235543bb4685e891b2280e145 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Wed, 15 Oct 2008 04:21:40 +0000 Subject: [PATCH] Minor update for EfiVariable.h git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6115 6f19259b-4bc3-4df7-8a09-765794883524 --- EdkCompatibilityPkg/Foundation/Include/EfiVariable.h | 4 ++++ 1 file changed, 4 insertions(+) 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