summaryrefslogtreecommitdiffstats
path: root/IntelFsp2Pkg/Include/FspGlobalData.h
diff options
context:
space:
mode:
Diffstat (limited to 'IntelFsp2Pkg/Include/FspGlobalData.h')
-rw-r--r--IntelFsp2Pkg/Include/FspGlobalData.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/IntelFsp2Pkg/Include/FspGlobalData.h b/IntelFsp2Pkg/Include/FspGlobalData.h
index 7de26606a7..2a03129f4a 100644
--- a/IntelFsp2Pkg/Include/FspGlobalData.h
+++ b/IntelFsp2Pkg/Include/FspGlobalData.h
@@ -1,6 +1,6 @@
/** @file
- Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
are licensed and made available under the terms and conditions of the BSD License
which accompanies this distribution. The full text of the license may be found at
@@ -16,6 +16,9 @@
#include <FspEas.h>
+#define FSP_IN_API_MODE 0
+#define FSP_IN_DISPATCH_MODE 1
+
#pragma pack(1)
typedef enum {
@@ -54,7 +57,8 @@ typedef struct {
VOID *MemoryInitUpdPtr;
VOID *SiliconInitUpdPtr;
UINT8 ApiIdx;
- UINT8 Reserved3[31];
+ UINT8 FspMode; // 0: FSP in API mode; 1: FSP in DISPATCH mode
+ UINT8 Reserved3[30];
UINT32 PerfSig;
UINT16 PerfLen;
UINT16 Reserved4;