OvmfPkg/PeilessStartupLib: Delete TdxValidateCfv
TdxValidateCfv is used to validate the integrity of FlashNvVarStore (PcdOvmfFlashNvStorageVariableBase) and it is not Tdx specific. So it will be moved to PlatformInitLib and be renamed to PlatformValidateNvVarStore in the following patch. And it will be called before EmuVaribleNvStore is initialized with the content in FlashNvVarStore. Cc: Erdem Aktas <erdemaktas@google.com> Cc: James Bottomley <jejb@linux.ibm.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Tom Lendacky <thomas.lendacky@amd.com> Cc: Gerd Hoffmann <kraxel@redhat.com> Acked-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Min Xu <min.m.xu@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
@@ -52,23 +52,6 @@ EFIAPI
|
||||
ConstructSecHobList (
|
||||
);
|
||||
|
||||
/**
|
||||
Check the integrity of CFV data.
|
||||
|
||||
@param[in] TdxCfvBase - A pointer to CFV header
|
||||
@param[in] TdxCfvSize - CFV data size
|
||||
|
||||
@retval TRUE - The CFV data is valid.
|
||||
@retval FALSE - The CFV data is invalid.
|
||||
|
||||
**/
|
||||
BOOLEAN
|
||||
EFIAPI
|
||||
TdxValidateCfv (
|
||||
IN UINT8 *TdxCfvBase,
|
||||
IN UINT32 TdxCfvSize
|
||||
);
|
||||
|
||||
/**
|
||||
Measure the Hoblist passed from the VMM.
|
||||
|
||||
|
Reference in New Issue
Block a user