BaseTools/FCE: Add a tool FCE
FCE is a tool to retrieve and change HII configuration data in Firmware Device(*.fd) files. https://bugzilla.tianocore.org/show_bug.cgi?id=1848 Cc: Bob Feng <bob.c.feng@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com> Reviewed-by: Bob Feng <bob.c.feng@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
dc7b0dc8d6
commit
3c59d94637
55
BaseTools/Source/C/FCE/VariableCommon.h
Normal file
55
BaseTools/Source/C/FCE/VariableCommon.h
Normal file
@ -0,0 +1,55 @@
|
||||
/** @file
|
||||
|
||||
The header of common Variable.c TimeBasedVariable.c and MonotonicBasedVariable.c.
|
||||
|
||||
Copyright (c) 2011-2019, Intel Corporation. All rights reserved.<BR>
|
||||
SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
|
||||
**/
|
||||
|
||||
#ifndef __VARIABLE_COMMON_H__
|
||||
#define __VARIABLE_COMMON_H__
|
||||
|
||||
/**
|
||||
Check the store variable is no-authenticated or not
|
||||
|
||||
@param VarToList The pointer to the header of Variable Store.
|
||||
|
||||
@retval TRUE If no-authenticated, return TRUE.
|
||||
@retval FALSE Otherwise, return FALSE.
|
||||
**/
|
||||
|
||||
BOOLEAN
|
||||
CheckNormalVarStoreOrNot (
|
||||
IN VOID *VariableStoreHeader
|
||||
);
|
||||
/**
|
||||
Check the store variable is Monotonic based authenticated or not
|
||||
|
||||
@param VarToList The pointer to the header of Variable Store.
|
||||
|
||||
@retval TRUE If authenticated, return TRUE.
|
||||
@retval FALSE Otherwise, return FALSE.
|
||||
**/
|
||||
|
||||
BOOLEAN
|
||||
CheckMonotonicBasedVarStore (
|
||||
IN VOID *VariableStoreHeader
|
||||
);
|
||||
|
||||
/**
|
||||
Check the store variable is Time stamp authenticated or not
|
||||
|
||||
@param VarToList The pointer to the header of Variable Store.
|
||||
|
||||
@retval TRUE If authenticated, return TRUE.
|
||||
@retval FALSE Otherwise, return FALSE.
|
||||
**/
|
||||
BOOLEAN
|
||||
CheckTimeBasedVarStoreOrNot (
|
||||
IN VOID *VariableStoreHeader
|
||||
);
|
||||
|
||||
|
||||
|
||||
#endif // _EFI_VARIABLE_COMMON_H_
|
Reference in New Issue
Block a user