]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/C/FCE/VariableCommon.h
3 The header of common Variable.c TimeBasedVariable.c and MonotonicBasedVariable.c.
5 Copyright (c) 2011-2019, Intel Corporation. All rights reserved.<BR>
6 SPDX-License-Identifier: BSD-2-Clause-Patent
10 #ifndef __VARIABLE_COMMON_H__
11 #define __VARIABLE_COMMON_H__
14 Check the store variable is no-authenticated or not
16 @param VarToList The pointer to the header of Variable Store.
18 @retval TRUE If no-authenticated, return TRUE.
19 @retval FALSE Otherwise, return FALSE.
23 CheckNormalVarStoreOrNot (
24 IN VOID
*VariableStoreHeader
27 Check the store variable is Monotonic based authenticated or not
29 @param VarToList The pointer to the header of Variable Store.
31 @retval TRUE If authenticated, return TRUE.
32 @retval FALSE Otherwise, return FALSE.
36 CheckMonotonicBasedVarStore (
37 IN VOID
*VariableStoreHeader
41 Check the store variable is Time stamp authenticated or not
43 @param VarToList The pointer to the header of Variable Store.
45 @retval TRUE If authenticated, return TRUE.
46 @retval FALSE Otherwise, return FALSE.
49 CheckTimeBasedVarStoreOrNot (
50 IN VOID
*VariableStoreHeader
55 #endif // _EFI_VARIABLE_COMMON_H_