Currently, Max Authenticated variable size = Max Regular Variable Size,
and both are controlled via a single PCD:
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize.

This PCD is introduced to control the Max Size of Authenticated Variable.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.z...@intel.com>
---
 MdeModulePkg/MdeModulePkg.dec |   5 +++++
 MdeModulePkg/MdeModulePkg.uni | Bin 165808 -> 166786 bytes
 2 files changed, 5 insertions(+)

diff --git a/MdeModulePkg/MdeModulePkg.dec b/MdeModulePkg/MdeModulePkg.dec
index e3f4600..97237ca 100644
--- a/MdeModulePkg/MdeModulePkg.dec
+++ b/MdeModulePkg/MdeModulePkg.dec
@@ -717,6 +717,11 @@
   # @Prompt Maximum variable size.
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxVariableSize|0x400|UINT32|0x30000003
 
+  ## The maximum size of a single authenticated variable.
+  # The value is 0 as default for compatibility that maximum authenticated 
variable size is specified by PcdMaxVariableSize.
+  # @Prompt Maximum authenticated variable size.
+  gEfiMdeModulePkgTokenSpaceGuid.PcdMaxAuthVariableSize|0x00|UINT32|0x30000009
+
   ## The maximum size of single hardware error record variable.<BR><BR>
   # In IA32/X64 platforms, this value should be larger than 1KB.<BR>
   # In IA64 platforms, this value should be larger than 128KB.<BR>
diff --git a/MdeModulePkg/MdeModulePkg.uni b/MdeModulePkg/MdeModulePkg.uni
index 
238474def78b262d32cd92983f065d97c7050f88..b33060e79bf6ae54c18afb4feffdcf252583f5b5
 100644
GIT binary patch
delta 227
zcmdnc&($=YYr_>Yc1MO%h7yL1$&9b0CkwnZnyg?dAesmfV@PGl1IlGGBr_y3luUN?
z5ufZ}T85;<bMk`iJd?T1^zi7YbKsb4ad*??4bg0qSEPur8!#vUO)H)}@v-padntO;
zw+J%gw~%W(PX!~#^edK(LhK3*Neq<?3X@lws!kRu$e6srlx^}Ia}$`uo4w52z04W6
Kdzmw(1poj8UPFWc

delta 30
mcmZpg&b6VRYr_?@$?L35CciUrYL>BXm$7EtE@RD<761UoO$$u`

-- 
1.9.5.msysgit.0


------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to