[edk2-devel] [PATCH v3 0/3] Return GetVariable() attr if EFI_BUFFER_TOO_SMALL
Michael Kubacki
michael.kubacki at outlook.com
Fri Mar 27 21:55:33 UTC 2020
From: Michael Kubacki <michael.kubacki at microsoft.com>
This patch series updates the GetVariable() implementation
to return Attributes in the case EFI_BUFFER_TOO_SMALL is returned.
* [PATCH v3 1/3] Makes the functional change in the DXE/MM variable driver.
* [PATCH v3 2/3] Makes the functional change in the PEI variable driver.
* [PATCH v3 3/3] Removes a change made in NetworkPkg that worked around the
previous behavior when EFI_BUFFER_TOO_SMALL is returned.
V3 changes:
* Apply the same GetVariable() behavior in VariablePei so it is consistent
with the DXE/MM variable driver implementation.
V2 changes:
* Revert commit 6896efdec2 in NetworkPkg since the variable Attributes are
now returned in the case of EFI_BUFFER_TOO_SMALL.
Cc: Bret Barkelew <Bret.Barkelew at microsoft.com>
Cc: Laszlo Ersek <lersek at redhat.com>
Cc: Siyuan Fu <siyuan.fu at intel.com>
Cc: Liming Gao <liming.gao at intel.com>
Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Maciej Rabeda <maciej.rabeda at linux.intel.com>
Cc: Jian J Wang <jian.j.wang at intel.com>
Cc: Jiaxin Wu <jiaxin.wu at intel.com>
Cc: Hao A Wu <hao.a.wu at intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki at microsoft.com>
Michael Kubacki (3):
MdeModulePkg Variable: Return GetVariable() attr if
EFI_BUFFER_TOO_SMALL
MdeModulePkg VariablePei: Return GetVariable() attr if
EFI_BUFFER_TOO_SMALL
Revert "NetworkPkg/TlsAuthConfigDxe: fix TlsCaCertificate attributes
retrieval"
MdeModulePkg/Universal/Variable/Pei/Variable.c | 19 +++++++-------
MdeModulePkg/Universal/Variable/RuntimeDxe/Variable.c | 10 +++++---
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.c | 10 +++++---
NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | 27 +-------------------
4 files changed, 24 insertions(+), 42 deletions(-)
--
2.16.3.windows.1
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#56512): https://edk2.groups.io/g/devel/message/56512
Mute This Topic: https://groups.io/mt/72598883/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-
More information about the edk2-devel-archive
mailing list