From 0f6b6f755b09f5bb386bb41fa21cc75f58a624d2 Mon Sep 17 00:00:00 2001 From: vanjeff Date: Wed, 28 Mar 2007 03:28:13 +0000 Subject: 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 --- MdePkg/Library/BaseLib/SwitchStack.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'MdePkg/Library/BaseLib') 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); } -- cgit v1.2.3