summaryrefslogtreecommitdiff
path: root/IntelFrameworkPkg
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r--IntelFrameworkPkg/Library/UefiLibFramework/UefiLib.c10
-rw-r--r--IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c10
2 files changed, 10 insertions, 10 deletions
diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLib.c b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLib.c
index 732ac6c8f7..9dd79af0cb 100644
--- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiLib.c
+++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiLib.c
@@ -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;
}
diff --git a/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c b/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
index 35539936ed..ee679e6ba6 100644
--- a/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
+++ b/IntelFrameworkPkg/Library/UefiLibFramework/UefiNotTiano.c
@@ -60,7 +60,7 @@ EfiCreateEventLegacyBoot (
)
{
return EfiCreateEventLegacyBootEx (
- EFI_TPL_CALLBACK,
+ TPL_CALLBACK,
InternalEmptyFuntion,
NULL,
LegacyBootEvent
@@ -104,7 +104,7 @@ EfiCreateEventLegacyBootEx (
// prior to UEFI 2.0 use Tiano extension to EFI
//
Status = gBS->CreateEvent (
- EFI_EVENT_SIGNAL_LEGACY_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL,
+ EFI_EVENT_SIGNAL_LEGACY_BOOT | EVT_NOTIFY_SIGNAL,
NotifyTpl,
NotifyFunction,
NotifyContext,
@@ -115,7 +115,7 @@ EfiCreateEventLegacyBootEx (
// For UEFI 2.0 and the future use an Event Group
//
Status = gBS->CreateEventEx (
- EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
NotifyTpl,
NotifyFunction,
NotifyContext,
@@ -150,7 +150,7 @@ EfiCreateEventReadyToBoot (
)
{
return EfiCreateEventReadyToBootEx (
- EFI_TPL_CALLBACK,
+ TPL_CALLBACK,
InternalEmptyFuntion,
NULL,
ReadyToBootEvent
@@ -205,7 +205,7 @@ EfiCreateEventReadyToBootEx (
// For UEFI 2.0 and the future use an Event Group
//
Status = gBS->CreateEventEx (
- EVENT_NOTIFY_SIGNAL,
+ EVT_NOTIFY_SIGNAL,
NotifyTpl,
NotifyFunction,
NotifyContext,