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

We found there are many event empty functions in EDK2 code base,
these patches are to make the event empty function in UefiLib public,
then this event empty function can be used to remove
the duplication in drivers and other libraries.

In CorebootPayloadPkg/QuarkPlatformPkg/ArmPlatformPkg, EfiEventGroupSignal
from UefiLib can be used to remove the duplication of event empty function.

Cc: Liming Gao <liming....@intel.com>
Cc: Michael Kinney <michael.d.kin...@intel.com>
Cc: Jeff Fan <jeff....@intel.com>
Cc: Feng Tian <feng.t...@intel.com>
Cc: Ruiyu Ni <ruiyu...@intel.com>
Cc: Maurice Ma <maurice...@intel.com>
Cc: Prince Agyeman <prince.agye...@intel.com>
Cc: Kelly Steele <kelly.ste...@intel.com>
Cc: Leif Lindholm <leif.lindh...@linaro.org>
Cc: Ard Biesheuvel <ard.biesheu...@linaro.org>
Cc: Laszlo Ersek <ler...@redhat.com>

Star Zeng (7):
  MdePkg UefiLib: Make the event empty function public
  IntelFrameworkPkg UefiLib: Make the event empty function public
  MdeModulePkg: Use EfiEventEmptyFunction from UefiLib
  IntelFrameworkModulePkg: Use EfiEventEmptyFunction from UefiLib
  CorebootPayloadPkg: Use EfiEventGroupSignal from UefiLib
  QuarkPlatformPkg: Use EfiEventGroupSignal from UefiLib
  ArmPlatformPkg: Use EfiEventGroupSignal from UefiLib

 .../Library/PlatformIntelBdsLib/IntelBdsPlatform.c | 36 ++-----------------
 .../Library/PlatformIntelBdsLib/IntelBdsPlatform.h |  3 +-
 .../PlatformIntelBdsLib/PlatformIntelBdsLib.inf    |  3 +-
 .../PlatformBootManagerLib/PlatformBootManager.c   | 25 ++-----------
 .../Universal/BdsDxe/BdsEntry.c                    | 20 +----------
 .../Library/FrameworkUefiLib/UefiLib.c             | 42 +++++++++++-----------
 .../Library/FrameworkUefiLib/UefiLibInternal.h     | 20 +----------
 .../Library/FrameworkUefiLib/UefiNotTiano.c        |  4 +--
 MdeModulePkg/Core/Dxe/Dispatcher/Dispatcher.c      | 23 ++----------
 MdeModulePkg/Core/Dxe/DxeMain.h                    | 18 +---------
 MdeModulePkg/Core/Dxe/Event/Event.c                |  4 +--
 MdeModulePkg/Library/UefiBootManagerLib/BmHotkey.c | 19 ++--------
 .../Universal/Console/ConSplitterDxe/ConSplitter.c | 22 ++----------
 .../Universal/Console/ConSplitterDxe/ConSplitter.h | 18 +---------
 .../Universal/DriverSampleDxe/DriverSample.c       | 20 ++---------
 .../Universal/SetupBrowserDxe/Presentation.c       | 20 ++---------
 MdePkg/Include/Library/UefiLib.h                   | 18 +++++++++-
 MdePkg/Library/UefiLib/UefiLib.c                   | 42 +++++++++++-----------
 MdePkg/Library/UefiLib/UefiLibInternal.h           | 20 +----------
 MdePkg/Library/UefiLib/UefiNotTiano.c              | 10 +++---
 .../PlatformBootManagerLib/PlatformBootManager.c   | 25 ++-----------
 21 files changed, 91 insertions(+), 321 deletions(-)

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to