/** @file
@copyright
Copyright 2013 - 2021 Intel Corporation.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include
#include
#include
/*++
Description:
This function is a hook for PlatformVariableInitPeiEntry
--*/
VOID PlatformVariableHookForEntry(
VOID
);
/*++
Description:
This function allow platform to generate variable hob base on different event.
Arguments:
IN VOID *Interface -point to EFI_PEI_READ_ONLY_VARIABLE2_PPI
IN OUT UINT8 *phobdata, -pont to hob data
IN OUT UINT16 *pDefaultId -pointer to defautlID
Returns:
TRUE:platform have its own variable hob that need be createn
FALSE:platform don;t need to create variable hob in this case
--*/
BOOLEAN PlatformVariableHookForHobGeneration(
IN VOID *Interface,
IN OUT UINT8 *phobdata,
IN OUT UINT16 *pDefaultId
);