MdeModulePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdeModulePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
7c7184e201
commit
1436aea4d5
@ -30,10 +30,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
RegisterVariablePolicy (
|
||||
IN CONST VARIABLE_POLICY_ENTRY *NewPolicy
|
||||
IN CONST VARIABLE_POLICY_ENTRY *NewPolicy
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function checks to see whether the parameters to SetVariable would
|
||||
be allowed according to the current variable policies.
|
||||
@ -56,14 +55,13 @@ RegisterVariablePolicy (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
ValidateSetVariable (
|
||||
IN CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid,
|
||||
IN UINT32 Attributes,
|
||||
IN UINTN DataSize,
|
||||
IN VOID *Data
|
||||
IN CHAR16 *VariableName,
|
||||
IN EFI_GUID *VendorGuid,
|
||||
IN UINT32 Attributes,
|
||||
IN UINTN DataSize,
|
||||
IN VOID *Data
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function disables the variable policy enforcement. If it's
|
||||
already been called once, will return EFI_ALREADY_STARTED.
|
||||
@ -81,7 +79,6 @@ DisableVariablePolicy (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function will dump the entire contents of the variable policy table.
|
||||
|
||||
@ -101,11 +98,10 @@ DisableVariablePolicy (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
DumpVariablePolicy (
|
||||
OUT UINT8 *Policy,
|
||||
IN OUT UINT32 *Size
|
||||
OUT UINT8 *Policy,
|
||||
IN OUT UINT32 *Size
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function returns whether or not the policy engine is
|
||||
currently being enforced.
|
||||
@ -121,7 +117,6 @@ IsVariablePolicyEnabled (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function locks the interface so that no more policy updates
|
||||
can be performed or changes made to the enforcement until the next boot.
|
||||
@ -136,7 +131,6 @@ LockVariablePolicy (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This API function returns whether or not the policy interface is locked
|
||||
for the remainder of the boot.
|
||||
@ -152,7 +146,6 @@ IsVariablePolicyInterfaceLocked (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This helper function initializes the library and sets
|
||||
up any required internal structures or handlers.
|
||||
@ -170,10 +163,9 @@ IsVariablePolicyInterfaceLocked (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
InitVariablePolicyLib (
|
||||
IN EFI_GET_VARIABLE GetVariableHelper
|
||||
IN EFI_GET_VARIABLE GetVariableHelper
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This helper function returns whether or not the library is currently initialized.
|
||||
|
||||
@ -187,7 +179,6 @@ IsVariablePolicyLibInitialized (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
This helper function tears down the library.
|
||||
|
||||
@ -203,5 +194,4 @@ DeinitVariablePolicyLib (
|
||||
VOID
|
||||
);
|
||||
|
||||
|
||||
#endif // _VARIABLE_POLICY_LIB_H_
|
||||
|
Reference in New Issue
Block a user