]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/VariablePolicyLib.h
MdeModulePkg: Apply uncrustify changes
[mirror_edk2.git] / MdeModulePkg / Include / Library / VariablePolicyLib.h
index efd1840112ec325df7e3b62dc1c62ed5f2e58f4d..63c49fbca1edd6714fb672efe31ebaea3615af03 100644 (file)
@@ -30,10 +30,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
 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
@@ -56,14 +55,13 @@ RegisterVariablePolicy (
 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
@@ -81,7 +79,6 @@ DisableVariablePolicy (
   VOID\r
   );\r
 \r
-\r
 /**\r
   This API function will dump the entire contents of the variable policy table.\r
 \r
@@ -101,11 +98,10 @@ DisableVariablePolicy (
 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
@@ -121,7 +117,6 @@ IsVariablePolicyEnabled (
   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
@@ -136,7 +131,6 @@ LockVariablePolicy (
   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
@@ -152,7 +146,6 @@ IsVariablePolicyInterfaceLocked (
   VOID\r
   );\r
 \r
-\r
 /**\r
   This helper function initializes the library and sets\r
   up any required internal structures or handlers.\r
@@ -170,10 +163,9 @@ IsVariablePolicyInterfaceLocked (
 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
@@ -187,7 +179,6 @@ IsVariablePolicyLibInitialized (
   VOID\r
   );\r
 \r
-\r
 /**\r
   This helper function tears down  the library.\r
 \r
@@ -203,5 +194,4 @@ DeinitVariablePolicyLib (
   VOID\r
   );\r
 \r
-\r
 #endif // _VARIABLE_POLICY_LIB_H_\r