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
@@ -37,16 +37,17 @@ SMI_HANDLER_PROFILE_PROTOCOL *mSmiHandlerProfile;
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
SmiHandlerProfileRegisterHandler (
|
||||
IN EFI_GUID *HandlerGuid,
|
||||
IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
|
||||
IN PHYSICAL_ADDRESS CallerAddress,
|
||||
IN VOID *Context OPTIONAL,
|
||||
IN UINTN ContextSize OPTIONAL
|
||||
IN EFI_GUID *HandlerGuid,
|
||||
IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
|
||||
IN PHYSICAL_ADDRESS CallerAddress,
|
||||
IN VOID *Context OPTIONAL,
|
||||
IN UINTN ContextSize OPTIONAL
|
||||
)
|
||||
{
|
||||
if (mSmiHandlerProfile != NULL) {
|
||||
return mSmiHandlerProfile->RegisterHandler (mSmiHandlerProfile, HandlerGuid, Handler, CallerAddress, Context, ContextSize);
|
||||
}
|
||||
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
@@ -70,15 +71,16 @@ SmiHandlerProfileRegisterHandler (
|
||||
EFI_STATUS
|
||||
EFIAPI
|
||||
SmiHandlerProfileUnregisterHandler (
|
||||
IN EFI_GUID *HandlerGuid,
|
||||
IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
|
||||
IN VOID *Context OPTIONAL,
|
||||
IN UINTN ContextSize OPTIONAL
|
||||
IN EFI_GUID *HandlerGuid,
|
||||
IN EFI_SMM_HANDLER_ENTRY_POINT2 Handler,
|
||||
IN VOID *Context OPTIONAL,
|
||||
IN UINTN ContextSize OPTIONAL
|
||||
)
|
||||
{
|
||||
if (mSmiHandlerProfile != NULL) {
|
||||
return mSmiHandlerProfile->UnregisterHandler (mSmiHandlerProfile, HandlerGuid, Handler, Context, ContextSize);
|
||||
}
|
||||
|
||||
return EFI_UNSUPPORTED;
|
||||
}
|
||||
|
||||
@@ -95,7 +97,7 @@ MmSmiHandlerProfileLibInitialization (
|
||||
gMmst->MmLocateProtocol (
|
||||
&gSmiHandlerProfileGuid,
|
||||
NULL,
|
||||
(VOID **) &mSmiHandlerProfile
|
||||
(VOID **)&mSmiHandlerProfile
|
||||
);
|
||||
return EFI_SUCCESS;
|
||||
}
|
||||
|
Reference in New Issue
Block a user