summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYao, Jiewen <Jiewen.Yao@intel.com>2015-04-30 01:57:25 +0000
committerjyao1 <jyao1@Edk2>2015-04-30 01:57:25 +0000
commit1f17c7f71b14307ff5e0f9694ee800364c865374 (patch)
tree2d6e50a5fd796d732b79638003d006f3b7b87cb6
parent16b7e82c2ba9465e87d634e1da6e3b322279f5f7 (diff)
downloadedk2-platforms-1f17c7f71b14307ff5e0f9694ee800364c865374.tar.xz
Add FSP_FSPP_SIGNATURE in 1.1.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com> Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17273 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--IntelFspPkg/Include/FspInfoHeader.h6
-rw-r--r--IntelFspPkg/Include/Private/FspPatchTable.h2
2 files changed, 7 insertions, 1 deletions
diff --git a/IntelFspPkg/Include/FspInfoHeader.h b/IntelFspPkg/Include/FspInfoHeader.h
index 951bc38507..1ee2fa5185 100644
--- a/IntelFspPkg/Include/FspInfoHeader.h
+++ b/IntelFspPkg/Include/FspInfoHeader.h
@@ -163,6 +163,12 @@ typedef struct {
} FSP_INFO_EXTENDED_HEADER;
+//
+// A generic table search algorithm for additional tables can be implemented with a
+// signature search algorithm until a terminator signature 'FSPP' is found.
+//
+#define FSP_FSPP_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'P')
+
#pragma pack()
#endif
diff --git a/IntelFspPkg/Include/Private/FspPatchTable.h b/IntelFspPkg/Include/Private/FspPatchTable.h
index 7f672c66b4..47a8b2101b 100644
--- a/IntelFspPkg/Include/Private/FspPatchTable.h
+++ b/IntelFspPkg/Include/Private/FspPatchTable.h
@@ -16,7 +16,7 @@
#pragma pack(1)
-#define FSP_PATCH_TABLE_SIGNATURE SIGNATURE_32 ('F', 'S', 'P', 'P')
+#define FSP_PATCH_TABLE_SIGNATURE FSP_FSPP_SIGNATURE
typedef struct {
UINT32 Signature;