Browse Source

Silicon/Intel/FitGen:FitGen Supporting MultiFIT 2 rc

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4155

With new implementation, FITGEN will populate info needed
for the PROT assisted BootGuard solution and TXT on servers
using FIT 4 Entry. FitGen based on the CPU FMS FITGEN will
decide to call one of the two Type 2 FIT entry.

Signed-off-by: Rahul R Kumar <rahul.r.kumar@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
Kumar, Rahul R 1 year ago
parent
commit
1e1e35bb3b
2 changed files with 381 additions and 255 deletions
  1. 375 254
      Silicon/Intel/Tools/FitGen/FitGen.c
  2. 6 1
      Silicon/Intel/Tools/FitGen/FitGen.h

File diff suppressed because it is too large
+ 375 - 254
Silicon/Intel/Tools/FitGen/FitGen.c


+ 6 - 1
Silicon/Intel/Tools/FitGen/FitGen.h

@@ -36,7 +36,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 #define FIT_SPEC_VERSION_MAJOR 1
 #define FIT_SPEC_VERSION_MINOR 4
-
 //
 // The minimum number of arguments accepted from the command line.
 //
@@ -50,4 +49,10 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 
 #define ROUNDUP(Size, Alignment) (((Size) + (Alignment) - 1) / (Alignment) * (Alignment))
 
+UINT32
+GetFvAcmSizeFromFd(
+IN UINT8                       *FdBuffer,
+IN UINT32                      FdFileSize
+);
+
 #endif

Some files were not shown because too many files changed in this diff