TianoCore EDK2 master
Loading...
Searching...
No Matches
VariablePolicyHelperLib.h
1
10#ifndef _EDKII_VARIABLE_POLICY_HELPER_LIB_H_
11#define _EDKII_VARIABLE_POLICY_HELPER_LIB_H_
12
13#include <Protocol/VariablePolicy.h>
14
41EFIAPI
42CreateBasicVariablePolicy (
43 IN CONST EFI_GUID *Namespace,
44 IN CONST CHAR16 *Name OPTIONAL,
45 IN UINT32 MinSize,
46 IN UINT32 MaxSize,
47 IN UINT32 AttributesMustHave,
48 IN UINT32 AttributesCantHave,
49 IN UINT8 LockPolicyType,
50 OUT VARIABLE_POLICY_ENTRY **NewEntry
51 );
52
79EFIAPI
80CreateVarStateVariablePolicy (
81 IN CONST EFI_GUID *Namespace,
82 IN CONST CHAR16 *Name OPTIONAL,
83 IN UINT32 MinSize,
84 IN UINT32 MaxSize,
85 IN UINT32 AttributesMustHave,
86 IN UINT32 AttributesCantHave,
87 IN CONST EFI_GUID *VarStateNamespace,
88 IN UINT8 VarStateValue,
89 IN CONST CHAR16 *VarStateName,
90 OUT VARIABLE_POLICY_ENTRY **NewEntry
91 );
92
113EFIAPI
114RegisterBasicVariablePolicy (
115 IN EDKII_VARIABLE_POLICY_PROTOCOL *VariablePolicy,
116 IN CONST EFI_GUID *Namespace,
117 IN CONST CHAR16 *Name OPTIONAL,
118 IN UINT32 MinSize,
119 IN UINT32 MaxSize,
120 IN UINT32 AttributesMustHave,
121 IN UINT32 AttributesCantHave,
122 IN UINT8 LockPolicyType
123 );
124
147EFIAPI
148RegisterVarStateVariablePolicy (
149 IN EDKII_VARIABLE_POLICY_PROTOCOL *VariablePolicy,
150 IN CONST EFI_GUID *Namespace,
151 IN CONST CHAR16 *Name OPTIONAL,
152 IN UINT32 MinSize,
153 IN UINT32 MaxSize,
154 IN UINT32 AttributesMustHave,
155 IN UINT32 AttributesCantHave,
156 IN CONST EFI_GUID *VarStateNamespace,
157 IN CONST CHAR16 *VarStateName,
158 IN UINT8 VarStateValue
159 );
160
161#endif // _EDKII_VARIABLE_POLICY_HELPER_LIB_H_
#define CONST
Definition: Base.h:259
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
Definition: Base.h:213