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 ;----------------------------------------------------------------------------
18 ; This FSP API will notify the FSP about the different phases in the boot
21 ;----------------------------------------------------------------------------
22 global ASM_PFX(NotifyPhaseApi)
23 ASM_PFX(NotifyPhaseApi):
24 mov eax, 2 ; FSP_API_INDEX.NotifyPhaseApiIndex
25 jmp ASM_PFX(FspApiCommon)
27 ;----------------------------------------------------------------------------
30 ; This FSP API initializes the CPU and the chipset including the IO
31 ; controllers in the chipset to enable normal operation of these devices.
33 ;----------------------------------------------------------------------------
34 global ASM_PFX(FspSiliconInitApi)
35 ASM_PFX(FspSiliconInitApi):
36 mov eax, 5 ; FSP_API_INDEX.FspSiliconInitApiIndex
37 jmp ASM_PFX(FspApiCommon)
39 ;----------------------------------------------------------------------------
40 ; FspApiCommonContinue API
42 ; This is the FSP API common entry point to resume the FSP execution
44 ;----------------------------------------------------------------------------
45 global ASM_PFX(FspApiCommonContinue)
46 ASM_PFX(FspApiCommonContinue):
50 ;----------------------------------------------------------------------------
53 ; Empty function for WHOLEARCHIVE build option
55 ;----------------------------------------------------------------------------
56 global ASM_PFX(TempRamInitApi)
57 ASM_PFX(TempRamInitApi):
61 ;----------------------------------------------------------------------------
62 ; Module Entrypoint API
63 ;----------------------------------------------------------------------------
64 global ASM_PFX(_ModuleEntryPoint)
65 ASM_PFX(_ModuleEntryPoint):