2 ; Provide FSP API entry points.
4 ; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
5 ; SPDX-License-Identifier: BSD-2-Clause-Patent
11 ; Following functions will be provided in C
13 extern ASM_PFX(FspApiCommon)
15 ;----------------------------------------------------------------------------
16 ; FspApiCommonContinue API
18 ; This is the FSP API common entry point to resume the FSP execution
20 ;----------------------------------------------------------------------------
21 global ASM_PFX(FspApiCommonContinue)
22 ASM_PFX(FspApiCommonContinue):
25 ;----------------------------------------------------------------------------
28 ; This FSP API will notify the FSP about the different phases in the boot
31 ;----------------------------------------------------------------------------
32 global ASM_PFX(FspSmmInitApi)
33 ASM_PFX(FspSmmInitApi):
34 mov eax, 7 ; FSP_API_INDEX.FspSmmInitApiIndex
35 jmp ASM_PFX(FspApiCommon)
37 ;----------------------------------------------------------------------------
38 ; Module Entrypoint API
39 ;----------------------------------------------------------------------------
40 global ASM_PFX(_ModuleEntryPoint)
41 ASM_PFX(_ModuleEntryPoint):
43 ; Add reference to APIs so that it will not be optimized by compiler
44 jmp ASM_PFX(FspSmmInitApi)