]> git.proxmox.com Git - mirror_edk2.git/commit
Update SMM variable DXE driver GetNextVariable interface to comply with UEFI spec
authorczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Apr 2013 05:59:11 +0000 (05:59 +0000)
committerczhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 12 Apr 2013 05:59:11 +0000 (05:59 +0000)
commit0c55190f40bff9d286f51d42b0275324497f7461
tree55fa17ef64ce29cbc8fb9372300ea7a1d800b70b
parenta2f2c258d43f506b93b4a13a5c82d0200465df92
Update SMM variable DXE driver GetNextVariable interface to comply with UEFI spec
VariableNameSize is the returned buffer size. GetNextVariable should behavior correct if it is bigger than SMM communication buffer or less than string size of VariableName.

Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by  : Dong Guo   <guo.dong@intel.com>
Reviewed-by  : Fu Siyuan  <siyuan.fu@intel.com>
Reviewed-by  : Zeng Star  <star.zeng@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14258 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Include/Guid/SmmVariableCommon.h
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c
SecurityPkg/VariableAuthenticated/RuntimeDxe/VariableSmmRuntimeDxe.c