]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFspPkg/FspSecCore/Ia32/FspHelper.s
IntelFspPkg&IntelFspWrapperPkg: Remove them
[mirror_edk2.git] / IntelFspPkg / FspSecCore / Ia32 / FspHelper.s
diff --git a/IntelFspPkg/FspSecCore/Ia32/FspHelper.s b/IntelFspPkg/FspSecCore/Ia32/FspHelper.s
deleted file mode 100644 (file)
index 4fac9d1..0000000
+++ /dev/null
@@ -1,65 +0,0 @@
-#------------------------------------------------------------------------------\r
-#\r
-# Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>\r
-# SPDX-License-Identifier: BSD-2-Clause-Patent\r
-#\r
-# Abstract:\r
-#\r
-#   Provide FSP helper function.\r
-#\r
-#------------------------------------------------------------------------------\r
-\r
-#\r
-# FspInfoHeaderRelativeOff is patched during build process and initialized to offset of the  AsmGetFspBaseAddress \r
-# from the FSP Info header. \r
-#\r
-ASM_GLOBAL ASM_PFX(FspInfoHeaderRelativeOff)\r
-ASM_PFX(FspInfoHeaderRelativeOff):\r
-   #\r
-   # This value will be pached by the build script\r
-   #\r
-   .long    0x012345678\r
-\r
-#\r
-# Returns FSP Base Address. \r
-#\r
-# This function gets the FSP Info Header using relative addressing and returns the FSP Base from the header structure\r
-#\r
-ASM_GLOBAL ASM_PFX(AsmGetFspBaseAddress)\r
-ASM_PFX(AsmGetFspBaseAddress):\r
-   mov    $AsmGetFspBaseAddress, %eax\r
-   sub    FspInfoHeaderRelativeOff, %eax\r
-   add    $0x01C, %eax\r
-   mov    (%eax), %eax\r
-   ret\r
-\r
-#\r
-# No stack counter part of AsmGetFspBaseAddress. Return address is in edi.\r
-#\r
-ASM_GLOBAL ASM_PFX(AsmGetFspBaseAddressNoStack)\r
-ASM_PFX(AsmGetFspBaseAddressNoStack):\r
-   mov    $AsmGetFspBaseAddress, %eax\r
-   sub    FspInfoHeaderRelativeOff, %eax\r
-   add    $0x01C, %eax \r
-   mov    (%eax), %eax\r
-   jmp    *%edi\r
-\r
-#\r
-# Returns FSP Info Header. \r
-#\r
-# This function gets the FSP Info Header using relative addressing and returns it\r
-#\r
-ASM_GLOBAL ASM_PFX(AsmGetFspInfoHeader)\r
-ASM_PFX(AsmGetFspInfoHeader):\r
-   mov    $AsmGetFspBaseAddress, %eax\r
-   sub    FspInfoHeaderRelativeOff, %eax\r
-   ret\r
-   \r
-#\r
-# No stack counter part of AsmGetFspInfoHeader. Return address is in edi.\r
-#\r
-ASM_GLOBAL ASM_PFX(AsmGetFspInfoHeaderNoStack)\r
-ASM_PFX(AsmGetFspInfoHeaderNoStack):\r
-   mov    $AsmGetFspBaseAddress, %eax\r
-   sub    FspInfoHeaderRelativeOff, %eax\r
-   jmp    *%edi\r