]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/FspSecCore/Ia32/FspApiEntryCommon.nasm
IntelFsp2Pkg: Support Multi-Phase SiInit and debug handlers.
[mirror_edk2.git] / IntelFsp2Pkg / FspSecCore / Ia32 / FspApiEntryCommon.nasm
index bb4451b1457c3ef8217f38048c35eaf27afc4c8a..26ae7d9fd36daaeb60678fb98864f95d193ee6bb 100644 (file)
@@ -1,7 +1,7 @@
 ;; @file\r
 ;  Provide FSP API entry points.\r
 ;\r
-; Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
+; Copyright (c) 2016 - 2020, Intel Corporation. All rights reserved.<BR>\r
 ; SPDX-License-Identifier: BSD-2-Clause-Patent\r
 ;;\r
 \r
@@ -62,6 +62,9 @@ FspApiCommon2:
   cmp    eax, 3   ; FspMemoryInit API\r
   jz     FspApiCommon3\r
 \r
+  cmp    eax, 6   ; FspMultiPhaseSiInitApiIndex API\r
+  jz     FspApiCommon3\r
+\r
   call   ASM_PFX(AsmGetFspInfoHeader)\r
   jmp    ASM_PFX(Loader2PeiSwitchStack)\r
 \r