EFI_STATUS\r
EFIAPI\r
RegisterVariablePolicy (\r
- IN CONST VARIABLE_POLICY_ENTRY *NewPolicy\r
+ IN CONST VARIABLE_POLICY_ENTRY *NewPolicy\r
);\r
\r
-\r
/**\r
This API function checks to see whether the parameters to SetVariable would\r
be allowed according to the current variable policies.\r
EFI_STATUS\r
EFIAPI\r
ValidateSetVariable (\r
- IN CHAR16 *VariableName,\r
- IN EFI_GUID *VendorGuid,\r
- IN UINT32 Attributes,\r
- IN UINTN DataSize,\r
- IN VOID *Data\r
+ IN CHAR16 *VariableName,\r
+ IN EFI_GUID *VendorGuid,\r
+ IN UINT32 Attributes,\r
+ IN UINTN DataSize,\r
+ IN VOID *Data\r
);\r
\r
-\r
/**\r
This API function disables the variable policy enforcement. If it's\r
already been called once, will return EFI_ALREADY_STARTED.\r
VOID\r
);\r
\r
-\r
/**\r
This API function will dump the entire contents of the variable policy table.\r
\r
EFI_STATUS\r
EFIAPI\r
DumpVariablePolicy (\r
- OUT UINT8 *Policy,\r
- IN OUT UINT32 *Size\r
+ OUT UINT8 *Policy,\r
+ IN OUT UINT32 *Size\r
);\r
\r
-\r
/**\r
This API function returns whether or not the policy engine is\r
currently being enforced.\r
VOID\r
);\r
\r
-\r
/**\r
This API function locks the interface so that no more policy updates\r
can be performed or changes made to the enforcement until the next boot.\r
VOID\r
);\r
\r
-\r
/**\r
This API function returns whether or not the policy interface is locked\r
for the remainder of the boot.\r
VOID\r
);\r
\r
-\r
/**\r
This helper function initializes the library and sets\r
up any required internal structures or handlers.\r
EFI_STATUS\r
EFIAPI\r
InitVariablePolicyLib (\r
- IN EFI_GET_VARIABLE GetVariableHelper\r
+ IN EFI_GET_VARIABLE GetVariableHelper\r
);\r
\r
-\r
/**\r
This helper function returns whether or not the library is currently initialized.\r
\r
VOID\r
);\r
\r
-\r
/**\r
This helper function tears down the library.\r
\r
VOID\r
);\r
\r
-\r
#endif // _VARIABLE_POLICY_LIB_H_\r