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:
vanjeff
2008-09-04 07:42:38 +00:00
parent 9eb7382f73
commit e53a6ea90e
10 changed files with 17 additions and 17 deletions

View File

@ -266,7 +266,7 @@ FileStorageConstructor (
// add notify on SFS's installation. // add notify on SFS's installation.
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_CALLBACK, TPL_CALLBACK,
OnSimpleFileSystemInstall, OnSimpleFileSystemInstall,
Dev, Dev,

View File

@ -1511,7 +1511,7 @@ FvbInstallSfsNotify (
EFI_EVENT Event; EFI_EVENT Event;
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_CALLBACK, TPL_CALLBACK,
OnSimpleFileSystemInstall, OnSimpleFileSystemInstall,
NULL, NULL,

View File

@ -1189,7 +1189,7 @@ Returns:
// Create a 300ms duration event to ensure user has enough input time to enter Setup // Create a 300ms duration event to ensure user has enough input time to enter Setup
// //
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_TIMER, EVT_TIMER,
0, 0,
NULL, NULL,
NULL, NULL,

View File

@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
/** /**
An empty function to pass error checking of CreateEventEx (). 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. 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 // prior to UEFI 2.0 use Tiano extension to EFI
// //
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL, EVT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
NotifyTpl, NotifyTpl,
NotifyFunction, NotifyFunction,
NotifyContext, NotifyContext,
@ -194,7 +194,7 @@ EfiCreateEventReadyToBootEx (
// prior to UEFI 2.0 use Tiano extension to EFI // prior to UEFI 2.0 use Tiano extension to EFI
// //
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL, EVT_SIGNAL_READY_TO_BOOT | EVT_NOTIFY_SIGNAL_ALL,
NotifyTpl, NotifyTpl,
NotifyFunction, NotifyFunction,
NotifyContext, NotifyContext,

View File

@ -696,7 +696,7 @@ InitKeyboardLayout (
// Register SET_KEYBOARD_LAYOUT_EVENT notification // Register SET_KEYBOARD_LAYOUT_EVENT notification
// //
Status = gBS->CreateEventEx ( Status = gBS->CreateEventEx (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
SetKeyboardLayoutEvent, SetKeyboardLayoutEvent,
UsbKeyboardDevice, UsbKeyboardDevice,

View File

@ -120,8 +120,8 @@ BdsLibBootViaBootOption (
// //
// Notes: this code can be remove after the s3 script table // Notes: this code can be remove after the s3 script table
// hook on the event EFI_EVENT_SIGNAL_READY_TO_BOOT or // hook on the event EVT_SIGNAL_READY_TO_BOOT or
// EFI_EVENT_SIGNAL_LEGACY_BOOT // EVT_SIGNAL_LEGACY_BOOT
// //
Status = gBS->LocateProtocol (&gEfiAcpiS3SaveProtocolGuid, NULL, (VOID **) &AcpiS3Save); Status = gBS->LocateProtocol (&gEfiAcpiS3SaveProtocolGuid, NULL, (VOID **) &AcpiS3Save);
if (!EFI_ERROR (Status)) { 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(); EfiSignalEventReadyToBoot();

View File

@ -174,7 +174,7 @@ InitializeHiiDatabase (
// Create a event with EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID group type. // Create a event with EFI_HII_SET_KEYBOARD_LAYOUT_EVENT_GUID group type.
// //
Status = gBS->CreateEventEx ( Status = gBS->CreateEventEx (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
KeyboardLayoutChangeNullEvent, KeyboardLayoutChangeNullEvent,
NULL, NULL,

View File

@ -581,7 +581,7 @@ IScsiCreateDriverData (
// as to abort the iSCSI session. // as to abort the iSCSI session.
// //
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_SIGNAL_EXIT_BOOT_SERVICES, EVT_SIGNAL_EXIT_BOOT_SERVICES,
TPL_CALLBACK, TPL_CALLBACK,
IScsiOnExitBootService, IScsiOnExitBootService,
Private, Private,

View File

@ -235,7 +235,7 @@ IScsiCreateConnection (
Conn->CID = Session->NextCID++; Conn->CID = Session->NextCID++;
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_TIMER, EVT_TIMER,
TPL_CALLBACK, TPL_CALLBACK,
NULL, NULL,
NULL, NULL,

View File

@ -162,7 +162,7 @@ Tcp4IoCreateSocket (
// Create events for variuos asynchronous operations. // Create events for variuos asynchronous operations.
// //
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
Tcp4IoCommonNotify, Tcp4IoCommonNotify,
&Tcp4Io->IsConnDone, &Tcp4Io->IsConnDone,
@ -173,7 +173,7 @@ Tcp4IoCreateSocket (
} }
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
Tcp4IoCommonNotify, Tcp4IoCommonNotify,
&Tcp4Io->IsTxDone, &Tcp4Io->IsTxDone,
@ -184,7 +184,7 @@ Tcp4IoCreateSocket (
} }
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
Tcp4IoCommonNotify, Tcp4IoCommonNotify,
&Tcp4Io->IsRxDone, &Tcp4Io->IsRxDone,
@ -195,7 +195,7 @@ Tcp4IoCreateSocket (
} }
Status = gBS->CreateEvent ( Status = gBS->CreateEvent (
EFI_EVENT_NOTIFY_SIGNAL, EVT_NOTIFY_SIGNAL,
TPL_NOTIFY, TPL_NOTIFY,
Tcp4IoCommonNotify, Tcp4IoCommonNotify,
&Tcp4Io->IsCloseDone, &Tcp4Io->IsCloseDone,