MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg 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
1436aea4d5
commit
2f88bd3a12
@@ -24,14 +24,14 @@
|
||||
#define EFI_RUNTIME_ARCH_PROTOCOL_GUID \
|
||||
{ 0xb7dfb4e1, 0x52f, 0x449f, {0x87, 0xbe, 0x98, 0x18, 0xfc, 0x91, 0xb7, 0x33 } }
|
||||
|
||||
typedef struct _EFI_RUNTIME_ARCH_PROTOCOL EFI_RUNTIME_ARCH_PROTOCOL;
|
||||
typedef struct _EFI_RUNTIME_ARCH_PROTOCOL EFI_RUNTIME_ARCH_PROTOCOL;
|
||||
|
||||
///
|
||||
/// LIST_ENTRY from BaseType
|
||||
///
|
||||
typedef LIST_ENTRY EFI_LIST_ENTRY;
|
||||
|
||||
typedef struct _EFI_RUNTIME_IMAGE_ENTRY EFI_RUNTIME_IMAGE_ENTRY;
|
||||
typedef struct _EFI_RUNTIME_IMAGE_ENTRY EFI_RUNTIME_IMAGE_ENTRY;
|
||||
|
||||
///
|
||||
/// EFI_RUNTIME_IMAGE_ENTRY
|
||||
@@ -41,27 +41,27 @@ struct _EFI_RUNTIME_IMAGE_ENTRY {
|
||||
/// Start of image that has been loaded in memory. It is a pointer
|
||||
/// to either the DOS header or PE header of the image.
|
||||
///
|
||||
VOID *ImageBase;
|
||||
VOID *ImageBase;
|
||||
///
|
||||
/// Size in bytes of the image represented by ImageBase.
|
||||
///
|
||||
UINT64 ImageSize;
|
||||
UINT64 ImageSize;
|
||||
///
|
||||
/// Information about the fix-ups that were performed on ImageBase when it was
|
||||
/// loaded into memory.
|
||||
///
|
||||
VOID *RelocationData;
|
||||
VOID *RelocationData;
|
||||
///
|
||||
/// The ImageHandle passed into ImageBase when it was loaded.
|
||||
///
|
||||
EFI_HANDLE Handle;
|
||||
EFI_HANDLE Handle;
|
||||
///
|
||||
/// Entry for this node in the EFI_RUNTIME_ARCHITECTURE_PROTOCOL.ImageHead list.
|
||||
///
|
||||
EFI_LIST_ENTRY Link;
|
||||
EFI_LIST_ENTRY Link;
|
||||
};
|
||||
|
||||
typedef struct _EFI_RUNTIME_EVENT_ENTRY EFI_RUNTIME_EVENT_ENTRY;
|
||||
typedef struct _EFI_RUNTIME_EVENT_ENTRY EFI_RUNTIME_EVENT_ENTRY;
|
||||
|
||||
///
|
||||
/// EFI_RUNTIME_EVENT_ENTRY
|
||||
@@ -70,28 +70,28 @@ struct _EFI_RUNTIME_EVENT_ENTRY {
|
||||
///
|
||||
/// The same as Type passed into CreateEvent().
|
||||
///
|
||||
UINT32 Type;
|
||||
UINT32 Type;
|
||||
///
|
||||
/// The same as NotifyTpl passed into CreateEvent().
|
||||
///
|
||||
EFI_TPL NotifyTpl;
|
||||
EFI_TPL NotifyTpl;
|
||||
///
|
||||
/// The same as NotifyFunction passed into CreateEvent().
|
||||
///
|
||||
EFI_EVENT_NOTIFY NotifyFunction;
|
||||
EFI_EVENT_NOTIFY NotifyFunction;
|
||||
///
|
||||
/// The same as NotifyContext passed into CreateEvent().
|
||||
///
|
||||
VOID *NotifyContext;
|
||||
VOID *NotifyContext;
|
||||
///
|
||||
/// The EFI_EVENT returned by CreateEvent(). Event must be in runtime memory.
|
||||
///
|
||||
EFI_EVENT *Event;
|
||||
EFI_EVENT *Event;
|
||||
///
|
||||
/// Entry for this node in the
|
||||
/// EFI_RUNTIME_ARCHITECTURE_PROTOCOL.EventHead list.
|
||||
///
|
||||
EFI_LIST_ENTRY Link;
|
||||
EFI_LIST_ENTRY Link;
|
||||
};
|
||||
|
||||
///
|
||||
@@ -105,18 +105,18 @@ struct _EFI_RUNTIME_EVENT_ENTRY {
|
||||
/// by a runtime DXE driver and may only be consumed by the DXE Foundation.
|
||||
///
|
||||
struct _EFI_RUNTIME_ARCH_PROTOCOL {
|
||||
EFI_LIST_ENTRY ImageHead; ///< A list of type EFI_RUNTIME_IMAGE_ENTRY.
|
||||
EFI_LIST_ENTRY EventHead; ///< A list of type EFI_RUNTIME_EVENT_ENTRY.
|
||||
UINTN MemoryDescriptorSize; ///< Size of a memory descriptor that is returned by GetMemoryMap().
|
||||
UINT32 MemoryDesciptorVersion; ///< Version of a memory descriptor that is returned by GetMemoryMap().
|
||||
UINTN MemoryMapSize;///< Size of the memory map in bytes contained in MemoryMapPhysical and MemoryMapVirtual.
|
||||
EFI_MEMORY_DESCRIPTOR *MemoryMapPhysical; ///< Pointer to a runtime buffer that contains a copy of
|
||||
///< the memory map returned via GetMemoryMap().
|
||||
EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual; ///< Pointer to MemoryMapPhysical that is updated to virtual mode after SetVirtualAddressMap().
|
||||
BOOLEAN VirtualMode; ///< Boolean that is TRUE if SetVirtualAddressMap() has been called.
|
||||
BOOLEAN AtRuntime; ///< Boolean that is TRUE if ExitBootServices () has been called.
|
||||
EFI_LIST_ENTRY ImageHead; ///< A list of type EFI_RUNTIME_IMAGE_ENTRY.
|
||||
EFI_LIST_ENTRY EventHead; ///< A list of type EFI_RUNTIME_EVENT_ENTRY.
|
||||
UINTN MemoryDescriptorSize; ///< Size of a memory descriptor that is returned by GetMemoryMap().
|
||||
UINT32 MemoryDesciptorVersion; ///< Version of a memory descriptor that is returned by GetMemoryMap().
|
||||
UINTN MemoryMapSize; ///< Size of the memory map in bytes contained in MemoryMapPhysical and MemoryMapVirtual.
|
||||
EFI_MEMORY_DESCRIPTOR *MemoryMapPhysical; ///< Pointer to a runtime buffer that contains a copy of
|
||||
///< the memory map returned via GetMemoryMap().
|
||||
EFI_MEMORY_DESCRIPTOR *MemoryMapVirtual; ///< Pointer to MemoryMapPhysical that is updated to virtual mode after SetVirtualAddressMap().
|
||||
BOOLEAN VirtualMode; ///< Boolean that is TRUE if SetVirtualAddressMap() has been called.
|
||||
BOOLEAN AtRuntime; ///< Boolean that is TRUE if ExitBootServices () has been called.
|
||||
};
|
||||
|
||||
extern EFI_GUID gEfiRuntimeArchProtocolGuid;
|
||||
extern EFI_GUID gEfiRuntimeArchProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user