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:
Michael Kubacki
2021-12-05 14:54:02 -08:00
committed by mergify[bot]
parent 7c7184e201
commit 1436aea4d5
994 changed files with 107608 additions and 101311 deletions

View File

@@ -9,7 +9,6 @@
#ifndef _RESET_SYSTEM2_H_
#define _RESET_SYSTEM2_H_
#include <Uefi.h>
#include <PiPei.h>
@@ -26,26 +25,24 @@
#include <Library/ResetSystemLib.h>
#include <Library/ReportStatusCodeLib.h>
//
// The maximum recursion depth to ResetSystem() by reset notification handlers
//
#define MAX_RESET_NOTIFY_DEPTH 10
#define MAX_RESET_NOTIFY_DEPTH 10
//
// Data to put in GUIDed HOB
//
typedef struct {
UINT32 Signature;
UINT32 Count;
EFI_RESET_SYSTEM ResetFilters[0]; // ResetFilters[PcdGet32 (PcdMaximumResetNotifies)]
UINT32 Signature;
UINT32 Count;
EFI_RESET_SYSTEM ResetFilters[0]; // ResetFilters[PcdGet32 (PcdMaximumResetNotifies)]
} RESET_FILTER_LIST;
#define RESET_FILTER_LIST_SIGNATURE SIGNATURE_32('r', 's', 't', 'l')
#define RESET_FILTER_LIST_SIGNATURE SIGNATURE_32('r', 's', 't', 'l')
typedef struct {
EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI ResetFilter;
EFI_GUID *Guid;
EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI ResetFilter;
EFI_GUID *Guid;
} RESET_FILTER_INSTANCE;
/**
@@ -67,11 +64,12 @@ typedef struct {
VOID
EFIAPI
ResetSystem2 (
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,
IN UINTN DataSize,
IN VOID *ResetData OPTIONAL
IN EFI_RESET_TYPE ResetType,
IN EFI_STATUS ResetStatus,
IN UINTN DataSize,
IN VOID *ResetData OPTIONAL
);
/**
Register a notification function to be called when ResetSystem() is called.
@@ -93,8 +91,8 @@ ResetSystem2 (
EFI_STATUS
EFIAPI
RegisterResetNotify (
IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI *This,
IN EFI_RESET_SYSTEM ResetFunction
IN EDKII_PLATFORM_SPECIFIC_RESET_FILTER_PPI *This,
IN EFI_RESET_SYSTEM ResetFunction
);
/**
@@ -115,7 +113,8 @@ RegisterResetNotify (
EFI_STATUS
EFIAPI
UnregisterResetNotify (
IN EFI_RESET_NOTIFICATION_PROTOCOL *This,
IN EFI_RESET_SYSTEM ResetFunction
IN EFI_RESET_NOTIFICATION_PROTOCOL *This,
IN EFI_RESET_SYSTEM ResetFunction
);
#endif