diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2020-03-28 05:55:34 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-07 13:51:24 +0000 |
commit | edf88807f79c6064a22ec44428eade5f72179fb8 (patch) | |
tree | b6869eddb7e177de077e8630f567256e9a8c15ff /BaseTools | |
parent | e1fbff3ded87704fb0086f9b5fb368080eb4db51 (diff) | |
download | edk2-edf88807f79c6064a22ec44428eade5f72179fb8.zip edk2-edf88807f79c6064a22ec44428eade5f72179fb8.tar.gz edk2-edf88807f79c6064a22ec44428eade5f72179fb8.tar.bz2 |
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>
Diffstat (limited to 'BaseTools')
0 files changed, 0 insertions, 0 deletions