mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-06 13:24:23 +02:00
Revert previous check in. ECP is only supposed to support UEFI 2.0.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6450 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
c76a83cc63
commit
dd4a462dcb
@ -190,6 +190,8 @@ Returns:
|
|||||||
return EFI_SUCCESS;
|
return EFI_SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)
|
||||||
|
|
||||||
static
|
static
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -209,7 +211,7 @@ EventNotifySignalAllNullEvent (
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
@ -243,7 +245,7 @@ Returns:
|
|||||||
UINT32 EventType;
|
UINT32 EventType;
|
||||||
EFI_EVENT_NOTIFY WorkerNotifyFunction;
|
EFI_EVENT_NOTIFY WorkerNotifyFunction;
|
||||||
|
|
||||||
if (gST->Hdr.Revision < 0x00020000) {
|
#if (EFI_SPECIFICATION_VERSION < 0x00020000)
|
||||||
|
|
||||||
if (NotifyFunction == NULL) {
|
if (NotifyFunction == NULL) {
|
||||||
EventType = EFI_EVENT_SIGNAL_LEGACY_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL;
|
EventType = EFI_EVENT_SIGNAL_LEGACY_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL;
|
||||||
@ -262,7 +264,7 @@ Returns:
|
|||||||
NotifyContext,
|
NotifyContext,
|
||||||
LegacyBootEvent
|
LegacyBootEvent
|
||||||
);
|
);
|
||||||
} else {
|
#else
|
||||||
|
|
||||||
EventType = EFI_EVENT_NOTIFY_SIGNAL;
|
EventType = EFI_EVENT_NOTIFY_SIGNAL;
|
||||||
if (NotifyFunction == NULL) {
|
if (NotifyFunction == NULL) {
|
||||||
@ -285,8 +287,7 @@ Returns:
|
|||||||
&gEfiEventLegacyBootGuid,
|
&gEfiEventLegacyBootGuid,
|
||||||
LegacyBootEvent
|
LegacyBootEvent
|
||||||
);
|
);
|
||||||
}
|
#endif
|
||||||
|
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -323,7 +324,7 @@ Return:
|
|||||||
UINT32 EventType;
|
UINT32 EventType;
|
||||||
EFI_EVENT_NOTIFY WorkerNotifyFunction;
|
EFI_EVENT_NOTIFY WorkerNotifyFunction;
|
||||||
|
|
||||||
if (gST->Hdr.Revision < 0x00020000) {
|
#if (EFI_SPECIFICATION_VERSION < 0x00020000)
|
||||||
|
|
||||||
if (NotifyFunction == NULL) {
|
if (NotifyFunction == NULL) {
|
||||||
EventType = EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL;
|
EventType = EFI_EVENT_SIGNAL_READY_TO_BOOT | EFI_EVENT_NOTIFY_SIGNAL_ALL;
|
||||||
@ -342,7 +343,7 @@ Return:
|
|||||||
NotifyContext,
|
NotifyContext,
|
||||||
ReadyToBootEvent
|
ReadyToBootEvent
|
||||||
);
|
);
|
||||||
} else {
|
#else
|
||||||
|
|
||||||
EventType = EFI_EVENT_NOTIFY_SIGNAL;
|
EventType = EFI_EVENT_NOTIFY_SIGNAL;
|
||||||
if (NotifyFunction == NULL) {
|
if (NotifyFunction == NULL) {
|
||||||
@ -365,6 +366,6 @@ Return:
|
|||||||
&gEfiEventReadyToBootGuid,
|
&gEfiEventReadyToBootGuid,
|
||||||
ReadyToBootEvent
|
ReadyToBootEvent
|
||||||
);
|
);
|
||||||
}
|
#endif
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user