Add some definitions for efi event in Uefi/UefiSpec.h to follow spec.
Changed old event definitions reference to these new event definitions. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2729 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -113,7 +113,7 @@ EfiCreateProtocolNotifyEvent(
|
||||
//
|
||||
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
NotifyTpl,
|
||||
NotifyFunction,
|
||||
NotifyContext,
|
||||
@@ -175,7 +175,7 @@ EfiNamedEventListen (
|
||||
// Create event
|
||||
//
|
||||
Status = gBS->CreateEvent (
|
||||
EFI_EVENT_NOTIFY_SIGNAL,
|
||||
EVT_NOTIFY_SIGNAL,
|
||||
NotifyTpl,
|
||||
NotifyFunction,
|
||||
(VOID *) NotifyContext,
|
||||
@@ -267,7 +267,7 @@ EfiGetCurrentTpl (
|
||||
{
|
||||
EFI_TPL Tpl;
|
||||
|
||||
Tpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL);
|
||||
Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
|
||||
gBS->RestoreTPL (Tpl);
|
||||
|
||||
return Tpl;
|
||||
@@ -294,10 +294,10 @@ EfiInitializeLock (
|
||||
)
|
||||
{
|
||||
ASSERT (Lock != NULL);
|
||||
ASSERT (Priority <= EFI_TPL_HIGH_LEVEL);
|
||||
ASSERT (Priority <= TPL_HIGH_LEVEL);
|
||||
|
||||
Lock->Tpl = Priority;
|
||||
Lock->OwnerTpl = EFI_TPL_APPLICATION;
|
||||
Lock->OwnerTpl = TPL_APPLICATION;
|
||||
Lock->Lock = EfiLockReleased ;
|
||||
return Lock;
|
||||
}
|
||||
|
Reference in New Issue
Block a user