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