X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FResetSystemRuntimeDxe%2FResetSystem.h;fp=MdeModulePkg%2FUniversal%2FResetSystemRuntimeDxe%2FResetSystem.h;h=238d8a39adff5b9d8a1f9610b9fc19479ff5cac2;hp=87d9c572aae21d5ec4eb55fd96424054dcbd3665;hb=1436aea4d5707e672672a11bda72be2c63c936c3;hpb=7c7184e201a90a1d2376e615e55e3f4074731468 diff --git a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h index 87d9c572aa..238d8a39ad 100644 --- a/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h +++ b/MdeModulePkg/Universal/ResetSystemRuntimeDxe/ResetSystem.h @@ -9,7 +9,6 @@ #ifndef _RESET_SYSTEM_H_ #define _RESET_SYSTEM_H_ - #include #include @@ -32,22 +31,22 @@ // // The maximum recurstion depth to ResetSystem() by reset notification handlers // -#define MAX_RESET_NOTIFY_DEPTH 10 +#define MAX_RESET_NOTIFY_DEPTH 10 typedef struct { - UINT32 Signature; - LIST_ENTRY Link; - EFI_RESET_SYSTEM ResetNotify; + UINT32 Signature; + LIST_ENTRY Link; + EFI_RESET_SYSTEM ResetNotify; } RESET_NOTIFY_ENTRY; -#define RESET_NOTIFY_ENTRY_SIGNATURE SIGNATURE_32('r', 's', 't', 'n') -#define RESET_NOTIFY_ENTRY_FROM_LINK(a) CR (a, RESET_NOTIFY_ENTRY, Link, RESET_NOTIFY_ENTRY_SIGNATURE) +#define RESET_NOTIFY_ENTRY_SIGNATURE SIGNATURE_32('r', 's', 't', 'n') +#define RESET_NOTIFY_ENTRY_FROM_LINK(a) CR (a, RESET_NOTIFY_ENTRY, Link, RESET_NOTIFY_ENTRY_SIGNATURE) typedef struct { - UINT32 Signature; - EFI_RESET_NOTIFICATION_PROTOCOL ResetNotification; - LIST_ENTRY ResetNotifies; + UINT32 Signature; + EFI_RESET_NOTIFICATION_PROTOCOL ResetNotification; + LIST_ENTRY ResetNotifies; } RESET_NOTIFICATION_INSTANCE; -#define RESET_NOTIFICATION_INSTANCE_SIGNATURE SIGNATURE_32('r', 's', 't', 'i') +#define RESET_NOTIFICATION_INSTANCE_SIGNATURE SIGNATURE_32('r', 's', 't', 'i') #define RESET_NOTIFICATION_INSTANCE_FROM_THIS(a) \ CR (a, RESET_NOTIFICATION_INSTANCE, ResetNotification, RESET_NOTIFICATION_INSTANCE_SIGNATURE) @@ -89,10 +88,10 @@ InitializeResetSystem ( VOID EFIAPI RuntimeServiceResetSystem ( - 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 ); #endif