]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ipf/InternalSwitchStack.c
EmulatorPkg: Removing ipf which is no longer supported from edk2.
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ipf / InternalSwitchStack.c
index ae61541deadd0c300ca2d9d235da5347c9009fc4..35a0905aff2abe1ae2f09a0d3c7004d3eb76d3d4 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   SwitchStack() function for IPF.\r
 \r
-  Copyright (c) 2007, Intel Corporation<BR>\r
-  All rights reserved. This program and the accompanying materials\r
+  Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+  This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
-  http://opensource.org/licenses/bsd-license.php\r
+  http://opensource.org/licenses/bsd-license.php.\r
 \r
   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -47,7 +47,6 @@ InternalSwitchStack (
   IN      VOID                      *NewStack,\r
   IN      VA_LIST                   Marker\r
   )\r
-\r
 {\r
   VOID                      *NewBsp;\r
 \r
@@ -57,9 +56,8 @@ InternalSwitchStack (
   NewBsp   = VA_ARG (Marker, VOID *);\r
 \r
   //\r
-  // Stack should be aligned with CPU_STACK_ALIGNMENT\r
+  // New backing store pointer should be aligned with CPU_STACK_ALIGNMENT\r
   //\r
-  ASSERT (((UINTN)NewStack & (CPU_STACK_ALIGNMENT - 1)) == 0);\r
   ASSERT (((UINTN)NewBsp & (CPU_STACK_ALIGNMENT - 1)) == 0);\r
 \r
   AsmSwitchStackAndBackingStore (EntryPoint, Context1, Context2, NewStack, NewBsp);\r