X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FEbc%2FSwitchStack.c;h=92cbef8d20a81f3ae141e0b48c0b90bf6c42df0f;hb=9344f0921518309295da89c221d10cbead8531aa;hp=8317aae325813d9109469fc06d49717f76632b56;hpb=373ade0eb64a522e45b1b94c15b95fb5ab417c00;p=mirror_edk2.git
diff --git a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
index 8317aae325..92cbef8d20 100644
--- a/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
+++ b/MdePkg/Library/BaseLib/Ebc/SwitchStack.c
@@ -1,14 +1,8 @@
/** @file
Switch Stack functions.
- Copyright (c) 2006 - 2008, Intel Corporation
- All rights reserved. This program and the accompanying materials
- are licensed and made available under the terms and conditions of the BSD License
- which accompanies this distribution. The full text of the license may be found at
- http://opensource.org/licenses/bsd-license.php
-
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+ Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
+ SPDX-License-Identifier: BSD-2-Clause-Patent
**/
@@ -35,7 +29,7 @@
function.
@param NewStack A pointer to the new stack to use for the EntryPoint
function.
- @param Marker VA_LIST marker for the variable argument list.
+ @param Marker A VA_LIST marker for the variable argument list.
**/
VOID
@@ -54,11 +48,5 @@ InternalSwitchStack (
// This is to support compilation of CPU types that do not support assemblers
// such as EBC
//
-
- //
- // Stack should be aligned with CPU_STACK_ALIGNMENT
- //
- ASSERT (((UINTN)NewStack & (CPU_STACK_ALIGNMENT - 1)) == 0);
-
EntryPoint (Context1, Context2);
}