EmbeddedPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the EmbeddedPkg 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: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
731c67e1d7
commit
e7108d0e96
@ -16,11 +16,8 @@
|
||||
#define PE_COFF_LOADER_PROTOCOL_GUID \
|
||||
{ 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }
|
||||
|
||||
|
||||
typedef struct _PE_COFF_LOADER_PROTOCOL PE_COFF_LOADER_PROTOCOL;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Retrieves information about a PE/COFF image.
|
||||
|
||||
@ -46,11 +43,10 @@ typedef struct _PE_COFF_LOADER_PROTOCOL PE_COFF_LOADER_PROTOCOL;
|
||||
**/
|
||||
typedef
|
||||
RETURN_STATUS
|
||||
(EFIAPI *PE_COFF_LOADER_GET_IMAGE_INFO) (
|
||||
(EFIAPI *PE_COFF_LOADER_GET_IMAGE_INFO)(
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Applies relocation fixups to a PE/COFF image that was loaded with PeCoffLoaderLoadImage().
|
||||
|
||||
@ -83,11 +79,10 @@ RETURN_STATUS
|
||||
**/
|
||||
typedef
|
||||
RETURN_STATUS
|
||||
(EFIAPI *PE_COFF_LOADER_RELOCATE_IMAGE) (
|
||||
(EFIAPI *PE_COFF_LOADER_RELOCATE_IMAGE)(
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
Loads a PE/COFF image into memory.
|
||||
|
||||
@ -121,12 +116,10 @@ RETURN_STATUS
|
||||
**/
|
||||
typedef
|
||||
RETURN_STATUS
|
||||
(EFIAPI *PE_COFF_LOADER_LOAD_IMAGE) (
|
||||
(EFIAPI *PE_COFF_LOADER_LOAD_IMAGE)(
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Reads contents of a PE/COFF image from a buffer in system memory.
|
||||
|
||||
@ -152,15 +145,13 @@ RETURN_STATUS
|
||||
**/
|
||||
typedef
|
||||
RETURN_STATUS
|
||||
(EFIAPI *PE_COFF_LOADER_READ_FROM_MEMORY) (
|
||||
(EFIAPI *PE_COFF_LOADER_READ_FROM_MEMORY)(
|
||||
IN VOID *FileHandle,
|
||||
IN UINTN FileOffset,
|
||||
IN OUT UINTN *ReadSize,
|
||||
OUT VOID *Buffer
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Reapply fixups on a fixed up PE32/PE32+ image to allow virtual calling at EFI
|
||||
runtime.
|
||||
@ -186,15 +177,13 @@ RETURN_STATUS
|
||||
**/
|
||||
typedef
|
||||
VOID
|
||||
(EFIAPI *PE_COFF_LOADER_RELOCATE_IMAGE_FOR_RUNTIME) (
|
||||
(EFIAPI *PE_COFF_LOADER_RELOCATE_IMAGE_FOR_RUNTIME)(
|
||||
IN PHYSICAL_ADDRESS ImageBase,
|
||||
IN PHYSICAL_ADDRESS VirtImageBase,
|
||||
IN UINTN ImageSize,
|
||||
IN VOID *RelocationData
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
Unloads a loaded PE/COFF image from memory and releases its taken resource.
|
||||
Releases any environment specific resources that were allocated when the image
|
||||
@ -213,23 +202,19 @@ VOID
|
||||
**/
|
||||
typedef
|
||||
RETURN_STATUS
|
||||
(EFIAPI *PE_COFF_LOADER_UNLOAD_IMAGE) (
|
||||
(EFIAPI *PE_COFF_LOADER_UNLOAD_IMAGE)(
|
||||
IN OUT PE_COFF_LOADER_IMAGE_CONTEXT *ImageContext
|
||||
);
|
||||
|
||||
|
||||
struct _PE_COFF_LOADER_PROTOCOL {
|
||||
PE_COFF_LOADER_GET_IMAGE_INFO GetImageInfo;
|
||||
PE_COFF_LOADER_LOAD_IMAGE LoadImage;
|
||||
PE_COFF_LOADER_RELOCATE_IMAGE RelocateImage;
|
||||
PE_COFF_LOADER_READ_FROM_MEMORY ReadFromMemory;
|
||||
PE_COFF_LOADER_RELOCATE_IMAGE_FOR_RUNTIME RelocateImageForRuntime;
|
||||
PE_COFF_LOADER_UNLOAD_IMAGE UnloadImage;
|
||||
PE_COFF_LOADER_GET_IMAGE_INFO GetImageInfo;
|
||||
PE_COFF_LOADER_LOAD_IMAGE LoadImage;
|
||||
PE_COFF_LOADER_RELOCATE_IMAGE RelocateImage;
|
||||
PE_COFF_LOADER_READ_FROM_MEMORY ReadFromMemory;
|
||||
PE_COFF_LOADER_RELOCATE_IMAGE_FOR_RUNTIME RelocateImageForRuntime;
|
||||
PE_COFF_LOADER_UNLOAD_IMAGE UnloadImage;
|
||||
};
|
||||
|
||||
|
||||
extern EFI_GUID gPeCoffLoaderProtocolGuid;
|
||||
|
||||
extern EFI_GUID gPeCoffLoaderProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
||||
|
Reference in New Issue
Block a user