]> git.proxmox.com Git - mirror_edk2.git/blobdiff - IntelFsp2Pkg/Include/FspGlobalData.h
IntelFsp2Pkg: Support FSP Dispatch mode
[mirror_edk2.git] / IntelFsp2Pkg / Include / FspGlobalData.h
index 7de26606a7fbca49e5d203ba057bbb260d2cd4ce..2a03129f4a19851cb80937ae2de819ba0d7f15e2 100644 (file)
@@ -1,6 +1,6 @@
 /** @file\r
 \r
-  Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -16,6 +16,9 @@
 \r
 #include <FspEas.h>\r
 \r
+#define FSP_IN_API_MODE      0\r
+#define FSP_IN_DISPATCH_MODE 1\r
+\r
 #pragma pack(1)\r
 \r
 typedef enum {\r
@@ -54,7 +57,8 @@ typedef struct  {
    VOID               *MemoryInitUpdPtr;\r
    VOID               *SiliconInitUpdPtr;\r
    UINT8              ApiIdx;\r
-   UINT8              Reserved3[31];\r
+   UINT8              FspMode; // 0: FSP in API mode; 1: FSP in DISPATCH mode\r
+   UINT8              Reserved3[30];\r
    UINT32             PerfSig;\r
    UINT16             PerfLen;\r
    UINT16             Reserved4;\r