public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] Provide UEFILib functions for protocol uninstallation.
@ 2019-01-04 22:15 Ashish Singhal
  2019-01-04 22:15 ` [PATCH 1/4] MdePkg/UefiLib: Abstract driver model " Ashish Singhal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Ashish Singhal @ 2019-01-04 22:15 UTC (permalink / raw)
  To: edk2-devel; +Cc: Ashish Singhal

An issue was seen in IScsiDxe in NetworkPkg where driver cleanup after
initialization failure was not done right. Bug 1428 was filed in this regard.
As per discussions with Mike, it was also discussed that having UEFILib
provide protocol uninstallation abstraction would help to avoid these
issues in the future. Bug 1429 was found to track this. The first 2 patches
take care of this.

Patch number 3 simplifies the UEFILib protocol installation and
uninstallation abstraction by adding a helper function doing operations
instead of every public function.

Patch set 4 uses the updated uninstallation interfaces as a result of patch 3.

Ashish Singhal (4):
  MdePkg/UefiLib: Abstract driver model protocol uninstallation
  NetworkPkg/IScsiDxe: Use UEFILib APIs to uninstall protocols.
  MdePkg/UefiLib: Simplify protocol un/installation abstraction
  NetworkPkg/IScsiDxe: Update UEFILib Usage

 MdePkg/Include/Library/UefiLib.h         |  127 ++++
 MdePkg/Library/UefiLib/UefiDriverModel.c | 1205 +++++++++---------------------
 NetworkPkg/IScsiDxe/IScsiDriver.c        |   37 +-
 3 files changed, 484 insertions(+), 885 deletions(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-01-04 22:16 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-04 22:15 [PATCH 0/4] Provide UEFILib functions for protocol uninstallation Ashish Singhal
2019-01-04 22:15 ` [PATCH 1/4] MdePkg/UefiLib: Abstract driver model " Ashish Singhal
2019-01-04 22:15 ` [PATCH 2/4] NetworkPkg/IScsiDxe: Use UEFILib APIs to uninstall protocols Ashish Singhal
2019-01-04 22:15 ` [PATCH 3/4] MdePkg/UefiLib: Simplify protocol un/installation abstraction Ashish Singhal
2019-01-04 22:16 ` [PATCH 4/4] NetworkPkg/IScsiDxe: Update UEFILib Usage Ashish Singhal

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox