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
@@ -10,18 +10,17 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#ifndef __EVENT_H__
|
||||
#define __EVENT_H__
|
||||
|
||||
|
||||
#define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
|
||||
extern UINTN gEventPending;
|
||||
#define VALID_TPL(a) ((a) <= TPL_HIGH_LEVEL)
|
||||
extern UINTN gEventPending;
|
||||
|
||||
///
|
||||
/// Set if Event is part of an event group
|
||||
///
|
||||
#define EVT_EXFLAG_EVENT_GROUP 0x01
|
||||
#define EVT_EXFLAG_EVENT_GROUP 0x01
|
||||
///
|
||||
/// Set if Event is registered on a protocol notify
|
||||
///
|
||||
#define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
|
||||
#define EVT_EXFLAG_EVENT_PROTOCOL_NOTIFICATION 0x02
|
||||
|
||||
//
|
||||
// EFI_EVENT
|
||||
@@ -31,41 +30,40 @@ extern UINTN gEventPending;
|
||||
/// Timer event information
|
||||
///
|
||||
typedef struct {
|
||||
LIST_ENTRY Link;
|
||||
UINT64 TriggerTime;
|
||||
UINT64 Period;
|
||||
LIST_ENTRY Link;
|
||||
UINT64 TriggerTime;
|
||||
UINT64 Period;
|
||||
} TIMER_EVENT_INFO;
|
||||
|
||||
#define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
|
||||
#define EVENT_SIGNATURE SIGNATURE_32('e','v','n','t')
|
||||
typedef struct {
|
||||
UINTN Signature;
|
||||
UINT32 Type;
|
||||
UINT32 SignalCount;
|
||||
UINTN Signature;
|
||||
UINT32 Type;
|
||||
UINT32 SignalCount;
|
||||
///
|
||||
/// Entry if the event is registered to be signalled
|
||||
///
|
||||
LIST_ENTRY SignalLink;
|
||||
LIST_ENTRY SignalLink;
|
||||
///
|
||||
/// Notification information for this event
|
||||
///
|
||||
EFI_TPL NotifyTpl;
|
||||
EFI_EVENT_NOTIFY NotifyFunction;
|
||||
VOID *NotifyContext;
|
||||
EFI_GUID EventGroup;
|
||||
LIST_ENTRY NotifyLink;
|
||||
UINT8 ExFlag;
|
||||
EFI_TPL NotifyTpl;
|
||||
EFI_EVENT_NOTIFY NotifyFunction;
|
||||
VOID *NotifyContext;
|
||||
EFI_GUID EventGroup;
|
||||
LIST_ENTRY NotifyLink;
|
||||
UINT8 ExFlag;
|
||||
///
|
||||
/// A list of all runtime events
|
||||
///
|
||||
EFI_RUNTIME_EVENT_ENTRY RuntimeData;
|
||||
TIMER_EVENT_INFO Timer;
|
||||
EFI_RUNTIME_EVENT_ENTRY RuntimeData;
|
||||
TIMER_EVENT_INFO Timer;
|
||||
} IEVENT;
|
||||
|
||||
//
|
||||
// Internal prototypes
|
||||
//
|
||||
|
||||
|
||||
/**
|
||||
Dispatches all pending events.
|
||||
|
||||
@@ -75,10 +73,9 @@ typedef struct {
|
||||
**/
|
||||
VOID
|
||||
CoreDispatchEventNotifies (
|
||||
IN EFI_TPL Priority
|
||||
IN EFI_TPL Priority
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Initializes timer support.
|
||||
|
||||
|
Reference in New Issue
Block a user