mirror of https://github.com/acidanthera/audk.git
remove EFI_EVENT_ alias, replace them with EVT_
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5813 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
9eb7382f73
commit
e53a6ea90e
|
@ -266,7 +266,7 @@ FileStorageConstructor (
|
|||
// add notify on SFS's installation.
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_CALLBACK,
|
||||
OnSimpleFileSystemInstall,
|
||||
Dev,
|
||||
|
|
|
@ -1511,7 +1511,7 @@ FvbInstallSfsNotify (
|
|||
EFI_EVENT Event;
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_CALLBACK,
|
||||
OnSimpleFileSystemInstall,
|
||||
NULL,
|
||||
|
|
|
@ -1189,7 +1189,7 @@ Returns:
|
|||
// Create a 300ms duration event to ensure user has enough input time to enter Setup
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_TIMER,
|
||||
EVT_TIMER,
|
||||
0,
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
/**
|
||||
An empty function to pass error checking of CreateEventEx ().
|
||||
|
||||
This empty function ensures that EFI_EVENT_NOTIFY_SIGNAL_ALL is error
|
||||
This empty function ensures that EVT_NOTIFY_SIGNAL_ALL is error
|
||||
checked correctly since it is now mapped into CreateEventEx() in UEFI 2.0.
|
||||
|
||||
**/
|
||||
|
@ -104,7 +104,7 @@ EfiCreateEventLegacyBootEx (
|
|||
// prior to UEFI 2.0 use Tiano extension to EFI
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
|
||||
EVT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
|
||||
NotifyTpl,
|
||||
NotifyFunction,
|
||||
NotifyContext,
|
||||
|
@ -194,7 +194,7 @@ EfiCreateEventReadyToBootEx (
|
|||
// prior to UEFI 2.0 use Tiano extension to EFI
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL,
|
||||
EVT_SIGNAL_READY_TO_BOOT | EVT_NOTIFY_SIGNAL_ALL,
|
||||
NotifyTpl,
|
||||
NotifyFunction,
|
||||
NotifyContext,
|
||||
|
|
|
@ -696,7 +696,7 @@ InitKeyboardLayout (
|
|||
// Register SET_KEYBOARD_LAYOUT_EVENT notification
|
||||
//
|
||||
Status = gBS->CreateEventEx (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
SetKeyboardLayoutEvent,
|
||||
UsbKeyboardDevice,
|
||||
|
|
|
@ -120,8 +120,8 @@ BdsLibBootViaBootOption (
|
|||
|
||||
//
|
||||
// Notes: this code can be remove after the s3 script table
|
||||
// hook on the event EFI_EVENT_SIGNAL_READY_TO_BOOT or
|
||||
// EFI_EVENT_SIGNAL_LEGACY_BOOT
|
||||
// hook on the event EVT_SIGNAL_READY_TO_BOOT or
|
||||
// EVT_SIGNAL_LEGACY_BOOT
|
||||
//
|
||||
Status = gBS->LocateProtocol (&gEfiAcpiS3SaveProtocolGuid, NULL, (VOID **) &AcpiS3Save);
|
||||
if (!EFI_ERROR (Status)) {
|
||||
|
@ -142,7 +142,7 @@ BdsLibBootViaBootOption (
|
|||
}
|
||||
}
|
||||
//
|
||||
// Signal the EFI_EVENT_SIGNAL_READY_TO_BOOT event
|
||||
// Signal the EVT_SIGNAL_READY_TO_BOOT event
|
||||
//
|
||||
EfiSignalEventReadyToBoot();
|
||||
|
||||
|
|
|
@ -174,7 +174,7 @@ InitializeHiiDatabase (
|
|||
// Create a event with EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID group type.
|
||||
//
|
||||
Status = gBS->CreateEventEx (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
KeyboardLayoutChangeNullEvent,
|
||||
NULL,
|
||||
|
|
|
@ -581,7 +581,7 @@ IScsiCreateDriverData (
|
|||
// as to abort the iSCSI session.
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||
EVT_SIGNAL_EXIT_BOOT_SERVICES,
|
||||
TPL_CALLBACK,
|
||||
IScsiOnExitBootService,
|
||||
Private,
|
||||
|
|
|
@ -235,7 +235,7 @@ IScsiCreateConnection (
|
|||
Conn->CID = Session->NextCID++;
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_TIMER,
|
||||
EVT_TIMER,
|
||||
TPL_CALLBACK,
|
||||
NULL,
|
||||
NULL,
|
||||
|
|
|
@ -162,7 +162,7 @@ Tcp4IoCreateSocket (
|
|||
// Create events for variuos asynchronous operations.
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
Tcp4IoCommonNotify,
|
||||
&Tcp4Io->IsConnDone,
|
||||
|
@ -173,7 +173,7 @@ Tcp4IoCreateSocket (
|
|||
}
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
Tcp4IoCommonNotify,
|
||||
&Tcp4Io->IsTxDone,
|
||||
|
@ -184,7 +184,7 @@ Tcp4IoCreateSocket (
|
|||
}
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
Tcp4IoCommonNotify,
|
||||
&Tcp4Io->IsRxDone,
|
||||
|
@ -195,7 +195,7 @@ Tcp4IoCreateSocket (
|
|||
}
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
TPL_NOTIFY,
|
||||
Tcp4IoCommonNotify,
|
||||
&Tcp4Io->IsCloseDone,
|
||||
|
|
Loading…
Reference in New Issue