]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm
IntelFsp2Pkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / IntelFsp2Pkg / FspSecCore / Ia32 / FspApiEntryS.nasm
1 ;; @file
2 ; Provide FSP API entry points.
3 ;
4 ; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
5 ; SPDX-License-Identifier: BSD-2-Clause-Patent
6 ;;
7
8 SECTION .text
9
10 ;
11 ; Following functions will be provided in C
12 ;
13 extern ASM_PFX(FspApiCommon)
14
15 ;----------------------------------------------------------------------------
16 ; NotifyPhase API
17 ;
18 ; This FSP API will notify the FSP about the different phases in the boot
19 ; process
20 ;
21 ;----------------------------------------------------------------------------
22 global ASM_PFX(NotifyPhaseApi)
23 ASM_PFX(NotifyPhaseApi):
24 mov eax, 2 ; FSP_API_INDEX.NotifyPhaseApiIndex
25 jmp ASM_PFX(FspApiCommon)
26
27 ;----------------------------------------------------------------------------
28 ; FspSiliconInit API
29 ;
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.
32 ;
33 ;----------------------------------------------------------------------------
34 global ASM_PFX(FspSiliconInitApi)
35 ASM_PFX(FspSiliconInitApi):
36 mov eax, 5 ; FSP_API_INDEX.FspSiliconInitApiIndex
37 jmp ASM_PFX(FspApiCommon)
38
39 ;----------------------------------------------------------------------------
40 ; FspApiCommonContinue API
41 ;
42 ; This is the FSP API common entry point to resume the FSP execution
43 ;
44 ;----------------------------------------------------------------------------
45 global ASM_PFX(FspApiCommonContinue)
46 ASM_PFX(FspApiCommonContinue):
47 jmp $
48 ret
49
50 ;----------------------------------------------------------------------------
51 ; TempRamInit API
52 ;
53 ; Empty function for WHOLEARCHIVE build option
54 ;
55 ;----------------------------------------------------------------------------
56 global ASM_PFX(TempRamInitApi)
57 ASM_PFX(TempRamInitApi):
58 jmp $
59 ret
60
61 ;----------------------------------------------------------------------------
62 ; Module Entrypoint API
63 ;----------------------------------------------------------------------------
64 global ASM_PFX(_ModuleEntryPoint)
65 ASM_PFX(_ModuleEntryPoint):
66 jmp $
67