diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-28 03:28:13 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2007-03-28 03:28:13 +0000 |
commit | 0f6b6f755b09f5bb386bb41fa21cc75f58a624d2 (patch) | |
tree | 3136e05aa07796e08d643473594257f4d2921787 /MdePkg/Library/UefiLib | |
parent | 1f740941616eecce0e86b119799c1aaa00556080 (diff) | |
download | edk2-0f6b6f755b09f5bb386bb41fa21cc75f58a624d2.tar.gz edk2-0f6b6f755b09f5bb386bb41fa21cc75f58a624d2.tar.bz2 edk2-0f6b6f755b09f5bb386bb41fa21cc75f58a624d2.zip |
1. Removed #ifndef to enable Capsule architecture protocol on IPF.
2. Added ASSERT (FLASE) in SwitchStack ().
3. Removed unreached branch from UefiNotTiano.c.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2510 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/UefiLib')
-rw-r--r-- | MdePkg/Library/UefiLib/UefiNotTiano.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/MdePkg/Library/UefiLib/UefiNotTiano.c b/MdePkg/Library/UefiLib/UefiNotTiano.c index 33a14522a9..081e25439e 100644 --- a/MdePkg/Library/UefiLib/UefiNotTiano.c +++ b/MdePkg/Library/UefiLib/UefiNotTiano.c @@ -109,7 +109,7 @@ EfiCreateEventLegacyBootEx ( NotifyContext,
LegacyBootEvent
);
- } else if (gST->Hdr.Revision >= 0x00020000 ) {
+ } else {
//
// For UEFI 2.0 and the future use an Event Group
//
@@ -121,11 +121,6 @@ EfiCreateEventLegacyBootEx ( &gEfiEventLegacyBootGuid,
LegacyBootEvent
);
- } else {
- //
- // For EFI 1.10 with no Tiano extensions return unsupported
- //
- Status = EFI_UNSUPPORTED;
}
return Status;
@@ -204,7 +199,7 @@ EfiCreateEventReadyToBootEx ( NotifyContext,
ReadyToBootEvent
);
- } else if (gST->Hdr.Revision >= 0x00020000) {
+ } else {
//
// For UEFI 2.0 and the future use an Event Group
//
@@ -216,11 +211,6 @@ EfiCreateEventReadyToBootEx ( &gEfiEventReadyToBootGuid,
ReadyToBootEvent
);
- } else {
- //
- // For EFI 1.10 with no Tiano extensions return unsupported
- //
- Status = EFI_UNSUPPORTED;
}
return Status;
|