[edk2-devel][Patch 0/3] Add destructor to CloseEvent

Xu, Wei6 wei6.xu at intel.com
Fri Jul 26 03:10:52 UTC 2019


REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2012

This patch set adds missing destructor for following libraries:
MdePkg\Library\UefiDebugLibStdErr
MdePkg\Library\UefiDebugLibConOut
MdePkg\Library\UefiDebugLibDebugPortProtocol

When driver is unloaded, the ExitBootSerivesEvent must be closed at
the same time. Otherwise exception will occur when ExitBootServices.

Cc: Michael D Kinney <michael.d.kinney at intel.com>
Cc: Liming Gao <liming.gao at intel.com>

Wei6 Xu (3):
  MdePkg/UefiDebugLibConOut: Add destructor to CloseEvent
  MdePkg/UefiDebugLibDebugPortProtocol: Add destructor to CloseEvent
  MdePkg/UefiDebugLibStdErr: Add destructor to CloseEvent

 .../UefiDebugLibConOut/DebugLibConstructor.c       | 23 ++++++++++++++++++++++
 .../UefiDebugLibConOut/UefiDebugLibConOut.inf      |  1 +
 .../DebugLibConstructor.c                          | 23 ++++++++++++++++++++++
 .../UefiDebugLibDebugPortProtocol.inf              |  1 +
 .../UefiDebugLibStdErr/DebugLibConstructor.c       | 23 ++++++++++++++++++++++
 .../UefiDebugLibStdErr/UefiDebugLibStdErr.inf      |  1 +
 6 files changed, 72 insertions(+)

-- 
2.16.2.windows.1


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#44432): https://edk2.groups.io/g/devel/message/44432
Mute This Topic: https://groups.io/mt/32605737/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