]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/PrePiLib.h
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / EmbeddedPkg / Include / Library / PrePiLib.h
index 6144513a86ec57d0af6b7d09df8b849fd581b2fd..9ac7f38a1f4bbf378213019129437539f8ba7160 100644 (file)
@@ -83,7 +83,7 @@ FfsFindSectionData (
 \r
 /**\r
   Find a file in the volume by name\r
-  \r
+\r
   @param FileName       A pointer to the name of the file to\r
                         find within the firmware volume.\r
 \r
@@ -117,15 +117,15 @@ FfsFindByName (
                       information.\r
 \r
   @retval EFI_SUCCESS             File information returned.\r
-  \r
+\r
   @retval EFI_INVALID_PARAMETER   If FileHandle does not\r
                                   represent a valid file.\r
-  \r
+\r
   @retval EFI_INVALID_PARAMETER   If FileInfo is NULL.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
-EFIAPI \r
+EFIAPI\r
 FfsGetFileInfo (\r
   IN CONST  EFI_PEI_FILE_HANDLE   FileHandle,\r
   OUT EFI_FV_FILE_INFO            *FileInfo\r
@@ -141,10 +141,10 @@ FfsGetFileInfo (
                         information.\r
 \r
   @retval EFI_SUCCESS             File information returned.\r
-  \r
+\r
   @retval EFI_INVALID_PARAMETER   If FileHandle does not\r
                                   represent a valid file.\r
-  \r
+\r
   @retval EFI_INVALID_PARAMETER   If FileInfo is NULL.\r
 \r
 **/\r
@@ -180,7 +180,7 @@ FfsProcessFvFile (
        @param FileType             File handle of a Fv type file.\r
   @param Volumehandle   On succes Volume Handle of the match\r
   @param FileHandle     On success File Handle of the match\r
-  \r
+\r
   @retval EFI_NOT_FOUND                                FV image can't be found.\r
   @retval EFI_SUCCESS                                          Successfully found FileType\r
 \r
@@ -212,10 +212,10 @@ FfsProcessFvFile (
 \r
 \r
 /**\r
-  This service enables PEIMs to ascertain the present value of the boot mode.  \r
+  This service enables PEIMs to ascertain the present value of the boot mode.\r
 \r
 \r
-  @retval BootMode           \r
+  @retval BootMode\r
 \r
 **/\r
 EFI_BOOT_MODE\r
@@ -226,7 +226,7 @@ GetBootMode (
 \r
 \r
 /**\r
-  This service enables PEIMs to update the boot mode variable.    \r
+  This service enables PEIMs to update the boot mode variable.\r
 \r
   @param  BootMode              The value of the boot mode to set.\r
 \r
@@ -251,7 +251,7 @@ SetBootMode (
 VOID *\r
 EFIAPI\r
 GetHobList (\r
-  VOID         \r
+  VOID\r
   );\r
 \r
 \r
@@ -259,7 +259,7 @@ GetHobList (
   Updates the pointer to the HOB list.\r
 \r
   @param  HobList       Hob list pointer to store\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -313,7 +313,7 @@ CreateHob (
 /**\r
   Returns the next instance of a HOB type from the starting HOB.\r
 \r
-  This function searches the first instance of a HOB type from the starting HOB pointer. \r
+  This function searches the first instance of a HOB type from the starting HOB pointer.\r
   If there does not exist such HOB type from the starting HOB pointer, it will return NULL.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
   unconditionally: it returns HobStart back if HobStart itself meets the requirement;\r
@@ -336,8 +336,8 @@ GetNextHob (
 /**\r
   Returns the first instance of a HOB type among the whole HOB list.\r
 \r
-  This function searches the first instance of a HOB type among the whole HOB list. \r
-  If there does not exist such HOB type in the HOB list, it will return NULL. \r
+  This function searches the first instance of a HOB type among the whole HOB list.\r
+  If there does not exist such HOB type in the HOB list, it will return NULL.\r
 \r
   @param  Type          The HOB type to return.\r
 \r
@@ -351,10 +351,10 @@ GetFirstHob (
   );\r
 \r
 /**\r
-  This function searches the first instance of a HOB from the starting HOB pointer. \r
-  Such HOB should satisfy two conditions: \r
-  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid. \r
-  If there does not exist such HOB from the starting HOB pointer, it will return NULL. \r
+  This function searches the first instance of a HOB from the starting HOB pointer.\r
+  Such HOB should satisfy two conditions:\r
+  its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
+  If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
   Caller is required to apply GET_GUID_HOB_DATA () and GET_GUID_HOB_DATA_SIZE ()\r
   to extract the data section and its size info respectively.\r
   In contrast with macro GET_NEXT_HOB(), this function does not skip the starting HOB pointer\r
@@ -377,7 +377,7 @@ GetNextGuidHob (
   );\r
 \r
 /**\r
-  This function searches the first instance of a HOB among the whole HOB list. \r
+  This function searches the first instance of a HOB among the whole HOB list.\r
   Such HOB should satisfy two conditions:\r
   its HOB type is EFI_HOB_TYPE_GUID_EXTENSION and its GUID Name equals to the input Guid.\r
   If there does not exist such HOB from the starting HOB pointer, it will return NULL.\r
@@ -447,8 +447,8 @@ BuildResourceDescriptorHob (
 /**\r
   Builds a GUID HOB with a certain data length.\r
 \r
-  This function builds a customized HOB tagged with a GUID for identification \r
-  and returns the start address of GUID HOB data so that caller can fill the customized data. \r
+  This function builds a customized HOB tagged with a GUID for identification\r
+  and returns the start address of GUID HOB data so that caller can fill the customized data.\r
   The HOB Header and Name field is already stripped.\r
   It can only be invoked during PEI phase;\r
   for DXE phase, it will ASSERT() since PEI HOB is read-only for DXE phase.\r
@@ -517,7 +517,7 @@ BuildFvHob (
   );\r
 \r
 /**\r
-  Builds a Firmware Volume HOB and a resrouce descriptor hob \r
+  Builds a Firmware Volume HOB and a resrouce descriptor hob\r
 \r
   This function builds a Firmware Volume HOB.\r
   It can only be invoked during PEI phase;\r
@@ -530,11 +530,11 @@ BuildFvHob (
 **/\r
 VOID\r
 EFIAPI\r
-BuildFvHobs (  \r
+BuildFvHobs (\r
   IN EFI_PHYSICAL_ADDRESS         PhysicalStart,\r
   IN UINT64                       NumberOfBytes,\r
   IN EFI_RESOURCE_ATTRIBUTE_TYPE  *ResourceAttribute  OPTIONAL\r
-  ); \r
+  );\r
 \r
 \r
 /**\r
@@ -549,7 +549,7 @@ BuildFvHobs (
   @param  Length        The size of the Firmware Volume in bytes.\r
   @param  FvName       The name of the Firmware Volume.\r
   @param  FileName      The name of the file.\r
-  \r
+\r
 **/\r
 VOID\r
 EFIAPI\r
@@ -702,12 +702,12 @@ BuildPeCoffLoaderHob (
   @return A pointer to the allocated buffer or NULL if allocation fails.\r
 \r
 **/\r
-VOID * \r
+VOID *\r
 EFIAPI\r
 AllocatePages (\r
   IN UINTN            Pages\r
   );\r
-  \r
+\r
 /**\r
   Allocates a buffer of type EfiBootServicesData.\r
 \r
@@ -725,8 +725,8 @@ EFIAPI
 AllocatePool (\r
   IN UINTN  AllocationSize\r
   );\r
-  \r
-  \r
+\r
+\r
 /**\r
   Allocates one or more 4KB pages of type EfiBootServicesData at a specified alignment.\r
 \r