]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/Library/BaseFspSwitchStackLib/FspSwitchStackLib.c
IntelFspPkg&IntelFspWrapperPkg: Remove them
[mirror_edk2.git] / IntelFspPkg / Library / BaseFspSwitchStackLib / FspSwitchStackLib.c
diff --git a/IntelFspPkg/Library/BaseFspSwitchStackLib/FspSwitchStackLib.c b/IntelFspPkg/Library/BaseFspSwitchStackLib/FspSwitchStackLib.c
deleted file mode 100644 (file)
index fd553db..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-/** @file\r
-\r
-  Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
-  SPDX-License-Identifier: BSD-2-Clause-Patent\r
-\r
-**/\r
-\r
-#include <Base.h>\r
-#include <Library/BaseLib.h>\r
-#include <Library/FspCommonLib.h>\r
-\r
-/**\r
-\r
-  Switch the current stack to the previous saved stack.\r
-\r
-  @param[in]  NewStack         The new stack to be switched.\r
-\r
-  @return OldStack         After switching to the saved stack,\r
-                           this value will be saved in eax before returning.\r
-\r
-\r
-**/\r
-UINT32\r
-SwapStack (\r
-  IN  UINT32 NewStack\r
-  )\r
-{\r
-  FSP_GLOBAL_DATA  *FspData;\r
-  UINT32         OldStack;\r
-\r
-  FspData  = GetFspGlobalDataPointer ();\r
-  OldStack = FspData->CoreStack;\r
-  FspData->CoreStack = NewStack;\r
-  return OldStack;\r
-}\r
-\r