SecurityPkg Variable: Remove mStorageData buffer allocation and use Scratch buffer...
authorStar Zeng <star.zeng@intel.com>
Mon, 18 Nov 2013 02:56:04 +0000 (02:56 +0000)
committerlzeng14 <lzeng14@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 18 Nov 2013 02:56:04 +0000 (02:56 +0000)
commitfddbbc661eeff8e9f94942fa2d47fb637404a040
tree2c8a83ed6f7a232d103abc55c8ddd0b2d8d88d69
parente82edcf914c188271a9f6ebca6205c7e5c6b1276
SecurityPkg Variable: Remove mStorageData buffer allocation and use Scratch buffer instead to reduce SMRAM consumption.

It can reduce MAX (PcdGet32 (PcdMaxVariableSize), PcdGet32 (PcdMaxHardwareErrorVariableSize)) size of SMRAM consumption.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Guo Dong <guo.dong@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14855 6f19259b-4bc3-4df7-8a09-765794883524
SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/AuthService.h
SecurityPkg/VariableAuthenticated/RuntimeDxe/Variable.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableDxe.c