From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 93FA181CB2 for ; Mon, 16 Jan 2017 23:08:45 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga105.jf.intel.com with ESMTP; 16 Jan 2017 23:08:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,243,1477983600"; d="scan'208";a="1083871611" Received: from shwdeopenpsi068.ccr.corp.intel.com ([10.239.9.9]) by orsmga001.jf.intel.com with ESMTP; 16 Jan 2017 23:08:43 -0800 From: Star Zeng To: edk2-devel@lists.01.org Cc: Star Zeng , Liming Gao , Michael Kinney , Jeff Fan , Feng Tian , Ruiyu Ni , Maurice Ma , Prince Agyeman , Kelly Steele , Leif Lindholm , Ard Biesheuvel , Laszlo Ersek Date: Tue, 17 Jan 2017 15:08:33 +0800 Message-Id: <1484636920-180432-1-git-send-email-star.zeng@intel.com> X-Mailer: git-send-email 2.7.0.windows.1 Subject: [PATCH 0/7] Make the event empty function in UefiLib public X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2017 07:08:45 -0000 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 Cc: Michael Kinney Cc: Jeff Fan Cc: Feng Tian Cc: Ruiyu Ni Cc: Maurice Ma Cc: Prince Agyeman Cc: Kelly Steele Cc: Leif Lindholm Cc: Ard Biesheuvel Cc: Laszlo Ersek 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