audk/MdeModulePkg/Universal/Variable/RuntimeDxe
Michael Kubacki edf88807f7 MdeModulePkg Variable: Return GetVariable() attr if EFI_BUFFER_TOO_SMALL
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2062

The UEFI specification v2.8 Errata A Section 8.2 "GetVariable()"
"Attributes" parameter description states:

"If not NULL, a pointer to the memory location to return the
 attributes bitmask for the variable. See 'Related Definitions.'
 If not NULL, then Attributes is set on output both when
 EFI_SUCCESS and when EFI_BUFFER_TOO_SMALL is returned."

The attributes were previously only returned from the implementation
in Variable.c on EFI_SUCCESS. They are now returned on EFI_SUCCESS or
EFI_BUFFER_TOO_SMALL according to spec.

Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Hao A Wu <hao.a.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
2020-04-07 13:51:24 +00:00
..
Measurement.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
PrivilegePolymorphic.h MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Reclaim.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SpeculationBarrierDxe.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
SpeculationBarrierSmm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
TcgMorLockDxe.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
TcgMorLockSmm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VarCheck.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
Variable.c MdeModulePkg Variable: Return GetVariable() attr if EFI_BUFFER_TOO_SMALL 2020-04-07 13:51:24 +00:00
Variable.h MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableDxe.c MdeModulePkg: stop abusing EFI_EVENT for protocol notify registration 2019-10-09 09:40:09 +02:00
VariableExLib.c MdeModulePkg/Variable: Parameterize auth status in VariableParsing 2019-11-05 21:55:54 -08:00
VariableNonVolatile.c MdeModulePkg/Variable: Add a file for NV variable functions 2019-11-05 21:55:54 -08:00
VariableNonVolatile.h MdeModulePkg/Variable: Add a file for NV variable functions 2019-11-05 21:55:54 -08:00
VariableParsing.c MdeModulePkg/Variable: Initialize local variable "Variable" 2019-11-25 14:14:18 +00:00
VariableParsing.h MdeModulePkg/Variable: Parameterize auth status in VariableParsing 2019-11-05 21:55:54 -08:00
VariableRuntimeCache.c MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableRuntimeCache.h MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableRuntimeDxe.inf MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableRuntimeDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableRuntimeDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmm.c MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableSmm.inf MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableSmm.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmRuntimeDxe.c MdeModulePkg Variable: Return GetVariable() attr if EFI_BUFFER_TOO_SMALL 2020-04-07 13:51:24 +00:00
VariableSmmRuntimeDxe.inf MdeModulePkg/VariableSmmRuntimeDxe.inf: list local header "Variable.h" 2019-12-02 19:35:18 +00:00
VariableSmmRuntimeDxe.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableSmmRuntimeDxeExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableStandaloneMm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00
VariableStandaloneMm.inf MdeModulePkg/Variable: Add RT GetVariable() cache support 2019-11-05 21:55:54 -08:00
VariableTraditionalMm.c MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00