summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-15 04:20:44 +0000
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>2008-10-15 04:20:44 +0000
commit71f36e0f758503804d6992855347c6d99f3945a2 (patch)
tree9874044bb8f01ce9c9a59d175df12f6c1346f96b /MdeModulePkg/Include
parentc30050f5bbb2edf45dcf8f57eb7269a61223d59f (diff)
downloadedk2-platforms-71f36e0f758503804d6992855347c6d99f3945a2.tar.xz
Minor update for PlatOverMngr driver, VariableFormat.h and DxePcdLib.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6114 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/VariableFormat.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/MdeModulePkg/Include/VariableFormat.h b/MdeModulePkg/Include/VariableFormat.h
index 798bc411c3..ac25b0c1f6 100644
--- a/MdeModulePkg/Include/VariableFormat.h
+++ b/MdeModulePkg/Include/VariableFormat.h
@@ -17,12 +17,15 @@
#define VARIABLE_STORE_SIGNATURE EFI_SIGNATURE_32 ('$', 'V', 'S', 'S')
+#ifndef MAX_VARIABLE_SIZE
#define MAX_VARIABLE_SIZE FixedPcdGet32(PcdMaxVariableSize)
-
+#endif
//
// Enlarges the hardware error record maximum variable size to 32K bytes
//
+#ifndef MAX_HARDWARE_ERROR_VARIABLE_SIZE
#define MAX_HARDWARE_ERROR_VARIABLE_SIZE FixedPcdGet32(PcdMaxHardwareErrorVariableSize)
+#endif
#define VARIABLE_DATA 0x55AA