]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EmbeddedPkg/Include/Library/PrePiLib.h
EmbeddedPkg/PrePiLib: Correct function name
[mirror_edk2.git] / EmbeddedPkg / Include / Library / PrePiLib.h
index 9ac7f38a1f4bbf378213019129437539f8ba7160..92fbc244d7723eea7754f6e284a75046e1e38c9f 100644 (file)
@@ -101,7 +101,7 @@ FfsFindSectionData (
 **/\r
 EFI_STATUS\r
 EFIAPI\r
-FfsFindByName (\r
+FfsFindFileByName (\r
   IN CONST  EFI_GUID            *FileName,\r
   IN CONST  EFI_PEI_FV_HANDLE   VolumeHandle,\r
   OUT       EFI_PEI_FILE_HANDLE *FileHandle\r
@@ -160,11 +160,10 @@ FfsGetVolumeInfo (
 /**\r
   Get Fv image from the FV type file, then add FV & FV2 Hob.\r
 \r
-       @param FileHandle               File handle of a Fv type file.\r
+  @param FileHandle      File handle of a Fv type file.\r
 \r
-\r
-  @retval EFI_NOT_FOUND                                FV image can't be found.\r
-  @retval EFI_SUCCESS                                          Successfully to process it.\r
+  @retval EFI_NOT_FOUND  FV image can't be found.\r
+  @retval EFI_SUCCESS    Successfully to process it.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -177,12 +176,12 @@ FfsProcessFvFile (
 /**\r
   Search through every FV until you find a file of type FileType\r
 \r
-       @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
+  @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
-  @retval EFI_NOT_FOUND                                FV image can't be found.\r
-  @retval EFI_SUCCESS                                          Successfully found FileType\r
+  @retval EFI_NOT_FOUND  FV image can't be found.\r
+  @retval EFI_SUCCESS    Successfully found FileType\r
 \r
 **/\r
 EFI_STATUS\r
@@ -197,11 +196,11 @@ FfsAnyFvFindFirstFile (
 /**\r
   Get Fv image from the FV type file, then add FV & FV2 Hob.\r
 \r
-       @param FileHandle               File handle of a Fv type file.\r
+  @param FileHandle  File handle of a Fv type file.\r
 \r
 \r
-  @retval EFI_NOT_FOUND                                FV image can't be found.\r
-  @retval EFI_SUCCESS                                          Successfully to process it.\r
+  @retval EFI_NOT_FOUND  FV image can't be found.\r
+  @retval EFI_SUCCESS    Successfully to process it.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -275,24 +274,6 @@ HobConstructor (
   IN VOID   *EfiFreeMemoryTop\r
   );\r
 \r
-/**\r
-  Retrieves the magic value from the PE/COFF header.\r
-\r
-  @param  Hdr             The buffer in which to return the PE32, PE32+, or TE header.\r
-\r
-  @return EFI_IMAGE_NT_OPTIONAL_HDR32_MAGIC - Image is PE32\r
-  @return EFI_IMAGE_NT_OPTIONAL_HDR64_MAGIC - Image is PE32+\r
-\r
-**/\r
-VOID\r
-CreateHobList (\r
-  IN VOID   *MemoryBegin,\r
-  IN UINTN  MemoryLength,\r
-  IN VOID   *HobBase,\r
-  IN VOID   *StackBase\r
-  );\r
-\r
-\r
 /**\r
   This service enables PEIMs to create various types of HOBs.\r
 \r