From 7f22d35110e43be45a0e16a2e944feebbf51e4ed Mon Sep 17 00:00:00 2001 From: mdkinney Date: Mon, 24 Aug 2009 23:53:23 +0000 Subject: Fix file headers Move stack alignment check from CPU specific files into common SwitchStack() function and add VA_END() to SwitchStack(). Fix incorrect syntax for ASM_FUNCTION_REMOVE_IF_UNREFERENCED git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9193 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'MdePkg/Library/BaseLib/Ipf') diff --git a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c index 1f64de2630..ff11405b3d 100644 --- a/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c +++ b/MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c @@ -57,9 +57,8 @@ InternalSwitchStack ( NewBsp = VA_ARG (Marker, VOID *); // - // Stack should be aligned with CPU_STACK_ALIGNMENT + // New backing store pointer should be aligned with CPU_STACK_ALIGNMENT // - ASSERT (((UINTN)NewStack & (CPU_STACK_ALIGNMENT - 1)) == 0); ASSERT (((UINTN)NewBsp & (CPU_STACK_ALIGNMENT - 1)) == 0); AsmSwitchStackAndBackingStore (EntryPoint, Context1, Context2, NewStack, NewBsp); -- cgit v1.2.3