]> git.proxmox.com Git - mirror_edk2.git/commit - MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c
MdeModulePkg Variable: Keep the behavior of Variable Dxe and SMM drivers consistent
authorStar Zeng <star.zeng@intel.com>
Mon, 9 Mar 2015 13:03:42 +0000 (13:03 +0000)
committerlzeng14 <lzeng14@Edk2>
Mon, 9 Mar 2015 13:03:42 +0000 (13:03 +0000)
commit82e47eb22f1873835ef38e2941e266adfe1ff836
tree526a0e18530483c10c301df84e09c87dc28bb9d6
parent33f413f0d6d7620843717bbe1f22bf8d054a478f
MdeModulePkg Variable: Keep the behavior of Variable Dxe and SMM drivers consistent

to return EFI_NOT_FOUND when a specified variable doesn't exist and
Data parameter is NULL but DataSize parameter is valid in GetVariable() invocation.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17030 6f19259b-4bc3-4df7-8a09-765794883524
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c