]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryI.nasm
IntelFsp2Pkg: Fix FspSecCoreI build failure.
[mirror_edk2.git] / IntelFsp2Pkg / FspSecCore / Ia32 / FspApiEntryI.nasm
CommitLineData
48249243
HZ
1;; @file\r
2; Provide FSP API entry points.\r
3;\r
4; Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>\r
5; SPDX-License-Identifier: BSD-2-Clause-Patent\r
6;;\r
7\r
8 SECTION .text\r
9\r
10;\r
11; Following functions will be provided in C\r
12;\r
13extern ASM_PFX(FspApiCommon)\r
14\r
15;----------------------------------------------------------------------------\r
16; FspApiCommonContinue API\r
17;\r
18; This is the FSP API common entry point to resume the FSP execution\r
19;\r
20;----------------------------------------------------------------------------\r
21global ASM_PFX(FspApiCommonContinue)\r
22ASM_PFX(FspApiCommonContinue):\r
23 jmp $\r
24\r
f46c7d1e
CC
25;----------------------------------------------------------------------------\r
26; TempRamInit API\r
27;\r
28; Empty function for WHOLEARCHIVE build option\r
29;\r
30;----------------------------------------------------------------------------\r
31global ASM_PFX(TempRamInitApi)\r
32ASM_PFX(TempRamInitApi):\r
33 jmp $\r
34 ret\r
35\r
48249243
HZ
36;----------------------------------------------------------------------------\r
37; FspSmmInit API\r
38;\r
39; This FSP API will notify the FSP about the different phases in the boot\r
40; process\r
41;\r
42;----------------------------------------------------------------------------\r
43global ASM_PFX(FspSmmInitApi)\r
44ASM_PFX(FspSmmInitApi):\r
45 mov eax, 7 ; FSP_API_INDEX.FspSmmInitApiIndex\r
46 jmp ASM_PFX(FspApiCommon)\r
47\r
48;----------------------------------------------------------------------------\r
49; Module Entrypoint API\r
50;----------------------------------------------------------------------------\r
51global ASM_PFX(_ModuleEntryPoint)\r
52ASM_PFX(_ModuleEntryPoint):\r
53 jmp $\r
54 ; Add reference to APIs so that it will not be optimized by compiler\r
55 jmp ASM_PFX(FspSmmInitApi)\r