audk/MdeModulePkg/Universal/Variable/EmuRuntimeDxe
Star Zeng e19eab6153 MdeModulePkg Variable: return error for empty str VariableName to GetVariable
Current GetVariable implementation will return the first variable for
empty str VariableName, it is because GetVariable and GetNextVariablename
are sharing same function FindVariable.
But UEFI sepc defines SetVariable that If VariableName is an empty string,
then EFI_INVALID_PARAMETER is returned, that means an empty string variable
could never be set successfully, so GetVariable should return error for
empty string VariableName.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Feng Tian <feng.tian@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
2016-05-15 17:48:53 +08:00
..
EmuVariable.c MdeModulePkg Variable: return error for empty str VariableName to GetVariable 2016-05-15 17:48:53 +08:00
EmuVariableRuntimeDxe.inf MdeModulePkg: INF/DEC file updates to EDK II packages 2014-08-28 06:34:06 +00:00
EmuVariableRuntimeDxe.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
EmuVariableRuntimeDxeExtra.uni MdeModulePkg: Convert all .uni files to utf-8 2015-12-15 04:56:23 +00:00
InitVariable.c MdeModulePkg Variable: Minor update to the Data parameter for GetVariable() 2016-01-29 09:15:43 +00:00
Variable.h Support Variable driver (EmuRuntimeDxe) to support the default variable data stored in HOB. 2011-10-19 09:30:43 +00:00