]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/LoadedImage.h
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Include / Protocol / LoadedImage.h
index d6e05a90a5f4778132eec30d25541f384c549eeb..c1e65a718e0e4cbba35ec84cebcd7d24459b0928 100644 (file)
@@ -25,7 +25,7 @@
 ///\r
 /// Protocol GUID defined in EFI1.1.\r
 ///\r
-#define LOADED_IMAGE_PROTOCOL   EFI_LOADED_IMAGE_PROTOCOL_GUID\r
+#define LOADED_IMAGE_PROTOCOL  EFI_LOADED_IMAGE_PROTOCOL_GUID\r
 \r
 ///\r
 /// EFI_SYSTEM_TABLE & EFI_IMAGE_UNLOAD are defined in EfiApi.h\r
 ///\r
 /// Revision defined in EFI1.1.\r
 ///\r
-#define EFI_LOADED_IMAGE_INFORMATION_REVISION    EFI_LOADED_IMAGE_PROTOCOL_REVISION\r
+#define EFI_LOADED_IMAGE_INFORMATION_REVISION  EFI_LOADED_IMAGE_PROTOCOL_REVISION\r
 \r
 ///\r
 /// Can be used on any image handle to obtain information about the loaded image.\r
 ///\r
 typedef struct {\r
-  UINT32            Revision;       ///< Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.\r
-                                    ///< All future revisions will be backward compatible to the current revision.\r
-  EFI_HANDLE        ParentHandle;   ///< Parent image's image handle. NULL if the image is loaded directly from\r
-                                    ///< the firmware's boot manager.\r
-  EFI_SYSTEM_TABLE  *SystemTable;   ///< the image's EFI system table pointer.\r
+  UINT32                      Revision;     ///< Defines the revision of the EFI_LOADED_IMAGE_PROTOCOL structure.\r
+                                            ///< All future revisions will be backward compatible to the current revision.\r
+  EFI_HANDLE                  ParentHandle; ///< Parent image's image handle. NULL if the image is loaded directly from\r
+                                            ///< the firmware's boot manager.\r
+  EFI_SYSTEM_TABLE            *SystemTable; ///< the image's EFI system table pointer.\r
 \r
   //\r
   // Source location of image\r
   //\r
-  EFI_HANDLE        DeviceHandle;   ///< The device handle that the EFI Image was loaded from.\r
-  EFI_DEVICE_PATH_PROTOCOL  *FilePath;  ///< A pointer to the file path portion specific to DeviceHandle\r
-                                        ///< that the EFI Image was loaded from.\r
-  VOID              *Reserved;      ///< Reserved. DO NOT USE.\r
+  EFI_HANDLE                  DeviceHandle; ///< The device handle that the EFI Image was loaded from.\r
+  EFI_DEVICE_PATH_PROTOCOL    *FilePath;    ///< A pointer to the file path portion specific to DeviceHandle\r
+                                            ///< that the EFI Image was loaded from.\r
+  VOID                        *Reserved;    ///< Reserved. DO NOT USE.\r
 \r
   //\r
   // Images load options\r
   //\r
-  UINT32            LoadOptionsSize;///< The size in bytes of LoadOptions.\r
-  VOID              *LoadOptions;   ///< A pointer to the image's binary load options.\r
+  UINT32                      LoadOptionsSize; ///< The size in bytes of LoadOptions.\r
+  VOID                        *LoadOptions;    ///< A pointer to the image's binary load options.\r
 \r
   //\r
   // Location of where image was loaded\r
   //\r
-  VOID              *ImageBase;     ///< The base address at which the image was loaded.\r
-  UINT64            ImageSize;      ///< The size in bytes of the loaded image.\r
-  EFI_MEMORY_TYPE   ImageCodeType;  ///< The memory type that the code sections were loaded as.\r
-  EFI_MEMORY_TYPE   ImageDataType;  ///< The memory type that the data sections were loaded as.\r
-  EFI_IMAGE_UNLOAD  Unload;\r
+  VOID                        *ImageBase;    ///< The base address at which the image was loaded.\r
+  UINT64                      ImageSize;     ///< The size in bytes of the loaded image.\r
+  EFI_MEMORY_TYPE             ImageCodeType; ///< The memory type that the code sections were loaded as.\r
+  EFI_MEMORY_TYPE             ImageDataType; ///< The memory type that the data sections were loaded as.\r
+  EFI_IMAGE_UNLOAD            Unload;\r
 } EFI_LOADED_IMAGE_PROTOCOL;\r
 \r
 //\r
@@ -76,7 +76,7 @@ typedef struct {
 //\r
 typedef EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE;\r
 \r
-extern EFI_GUID gEfiLoadedImageProtocolGuid;\r
-extern EFI_GUID gEfiLoadedImageDevicePathProtocolGuid;\r
+extern EFI_GUID  gEfiLoadedImageProtocolGuid;\r
+extern EFI_GUID  gEfiLoadedImageDevicePathProtocolGuid;\r
 \r
 #endif\r