From: Star Zeng <star.zeng@intel.com>
To: edk2-devel@lists.01.org
Cc: Star Zeng <star.zeng@intel.com>,
Kelly Steele <kelly.steele@intel.com>,
Liming Gao <liming.gao@intel.com>,
Michael Kinney <michael.d.kinney@intel.com>
Subject: [PATCH 6/7] QuarkPlatformPkg: Use EfiEventGroupSignal from UefiLib
Date: Tue, 17 Jan 2017 15:08:39 +0800 [thread overview]
Message-ID: <1484636920-180432-7-git-send-email-star.zeng@intel.com> (raw)
In-Reply-To: <1484636920-180432-1-git-send-email-star.zeng@intel.com>
Use EfiEventGroupSignal from UefiLib and remove
InternalBdsEmptyCallbackFuntion.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=298
Cc: Kelly Steele <kelly.steele@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
---
.../PlatformBootManagerLib/PlatformBootManager.c | 25 ++--------------------
1 file changed, 2 insertions(+), 23 deletions(-)
diff --git a/QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c b/QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
index b61eb03360a2..49aa15c11f15 100644
--- a/QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
+++ b/QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootManager.c
@@ -2,7 +2,7 @@
This file include all platform action which can be customized
by IBV/OEM.
-Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2015 - 2017, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -176,16 +176,6 @@ PlatformRegisterFvBootOption (
}
}
-VOID
-EFIAPI
-InternalBdsEmptyCallbackFuntion (
- IN EFI_EVENT Event,
- IN VOID *Context
- )
-{
- return;
-}
-
/**
Do the platform specific action before the console is connected.
@@ -209,7 +199,6 @@ PlatformBootManagerBeforeConsole (
EFI_BOOT_MODE BootMode;
EFI_ACPI_S3_SAVE_PROTOCOL *AcpiS3Save;
EFI_HANDLE Handle;
- EFI_EVENT EndOfDxeEvent;
//
// Update the console variables.
@@ -294,17 +283,7 @@ PlatformBootManagerBeforeConsole (
// Inform PI SMM drivers that BDS may run 3rd party code
// Create and signal End of DXE event group
//
- Status = gBS->CreateEventEx (
- EVT_NOTIFY_SIGNAL,
- TPL_CALLBACK,
- InternalBdsEmptyCallbackFuntion,
- NULL,
- &gEfiEndOfDxeEventGroupGuid,
- &EndOfDxeEvent
- );
- ASSERT_EFI_ERROR (Status);
- gBS->SignalEvent (EndOfDxeEvent);
- gBS->CloseEvent (EndOfDxeEvent);
+ EfiEventGroupSignal (&gEfiEndOfDxeEventGroupGuid);
DEBUG((EFI_D_INFO,"All EndOfDxe callbacks have returned successfully\n"));
--
2.7.0.windows.1
next prev parent reply other threads:[~2017-01-17 7:08 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-17 7:08 [PATCH 0/7] Make the event empty function in UefiLib public Star Zeng
2017-01-17 7:08 ` [PATCH 1/7] MdePkg UefiLib: Make the event empty function public Star Zeng
2017-01-18 7:19 ` Gao, Liming
2017-01-17 7:08 ` [PATCH 2/7] IntelFrameworkPkg " Star Zeng
2017-01-20 4:42 ` Fan, Jeff
2017-01-17 7:08 ` [PATCH 3/7] MdeModulePkg: Use EfiEventEmptyFunction from UefiLib Star Zeng
2017-01-17 7:08 ` [PATCH 4/7] IntelFrameworkModulePkg: " Star Zeng
2017-01-20 4:42 ` Fan, Jeff
2017-01-17 7:08 ` [PATCH 5/7] CorebootPayloadPkg: Use EfiEventGroupSignal " Star Zeng
2017-01-20 4:12 ` Ma, Maurice
2017-01-17 7:08 ` Star Zeng [this message]
2017-01-17 7:08 ` [PATCH 7/7] ArmPlatformPkg: " Star Zeng
2017-01-17 9:33 ` Ard Biesheuvel
2017-01-19 10:27 ` [PATCH 0/7] Make the event empty function in UefiLib public Zeng, Star
2017-01-19 10:30 ` Laszlo Ersek
2017-01-20 0:42 ` Tian, Feng
2017-01-20 8:04 ` Zeng, Star
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1484636920-180432-7-git-send-email-star.zeng@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox