]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryS.nasm
IntelFsp2Pkg: Add missing OEM status code defines.
[mirror_edk2.git] / IntelFsp2Pkg / FspSecCore / Ia32 / FspApiEntryS.nasm
CommitLineData
cf1d4549
JY
1;; @file\r
2; Provide FSP API entry points.\r
3;\r
4; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
5; This program and the accompanying materials\r
6; are licensed and made available under the terms and conditions of the BSD License\r
7; which accompanies this distribution. The full text of the license may be found at\r
8; http://opensource.org/licenses/bsd-license.php.\r
9;\r
10; THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11; WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12;;\r
13\r
14 SECTION .text\r
15\r
16;\r
17; Following functions will be provided in C\r
18;\r
19extern ASM_PFX(FspApiCommon)\r
20\r
21;----------------------------------------------------------------------------\r
22; NotifyPhase API\r
23;\r
24; This FSP API will notify the FSP about the different phases in the boot\r
25; process\r
26;\r
27;----------------------------------------------------------------------------\r
28global ASM_PFX(NotifyPhaseApi)\r
29ASM_PFX(NotifyPhaseApi):\r
30 mov eax, 2 ; FSP_API_INDEX.NotifyPhaseApiIndex\r
31 jmp ASM_PFX(FspApiCommon)\r
32\r
33;----------------------------------------------------------------------------\r
34; FspSiliconInit API\r
35;\r
36; This FSP API initializes the CPU and the chipset including the IO\r
37; controllers in the chipset to enable normal operation of these devices.\r
38;\r
39;----------------------------------------------------------------------------\r
40global ASM_PFX(FspSiliconInitApi)\r
41ASM_PFX(FspSiliconInitApi):\r
42 mov eax, 5 ; FSP_API_INDEX.FspSiliconInitApiIndex\r
43 jmp ASM_PFX(FspApiCommon)\r
44\r
45;----------------------------------------------------------------------------\r
46; FspApiCommonContinue API\r
47;\r
48; This is the FSP API common entry point to resume the FSP execution\r
49;\r
50;----------------------------------------------------------------------------\r
51global ASM_PFX(FspApiCommonContinue)\r
52ASM_PFX(FspApiCommonContinue):\r
53 jmp $\r
54 ret\r
55\r
56;----------------------------------------------------------------------------\r
57; Module Entrypoint API\r
58;----------------------------------------------------------------------------\r
59global ASM_PFX(_ModuleEntryPoint)\r
60ASM_PFX(_ModuleEntryPoint):\r
61 jmp $\r
62\r