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/BaseLib | |
parent | 1f740941616eecce0e86b119799c1aaa00556080 (diff) | |
download | edk2-platforms-0f6b6f755b09f5bb386bb41fa21cc75f58a624d2.tar.xz |
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/BaseLib')
-rw-r--r-- | MdePkg/Library/BaseLib/SwitchStack.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/MdePkg/Library/BaseLib/SwitchStack.c b/MdePkg/Library/BaseLib/SwitchStack.c index 6b8d7af4b6..5dc21f5479 100644 --- a/MdePkg/Library/BaseLib/SwitchStack.c +++ b/MdePkg/Library/BaseLib/SwitchStack.c @@ -58,5 +58,8 @@ SwitchStack ( InternalSwitchStack (EntryPoint, Context1, Context2, NewStack, Marker);
- VA_END (Marker);
+ //
+ // InternalSwitchStack () will never return
+ //
+ ASSERT (FALSE);
}
|