]> git.proxmox.com Git - mirror_edk2.git/blobdiff - UefiPayloadPkg/UefiPayloadEntry/UniversalPayloadEntry.c
UefiPayloadPkg: Fix ECC reported issues
[mirror_edk2.git] / UefiPayloadPkg / UefiPayloadEntry / UniversalPayloadEntry.c
index 7e67cf0f040d32aee18d8c843b5bf1ba127c87eb..4d1096b323215fdb591a4e1588d127961a42edb6 100644 (file)
@@ -114,18 +114,19 @@ AddNewHob (
 }\r
 \r
 /**\r
-  Found the Resource Descriptor HOB that contains a range\r
+  Found the Resource Descriptor HOB that contains a range (Base, Top)\r
 \r
+  @param[in] HobList    Hob start address\r
   @param[in] Base       Memory start address\r
-  @param[in] Top        Memory Top.\r
+  @param[in] Top        Memory end address.\r
 \r
-  @return     The pointer to the Resource Descriptor HOB.\r
+  @retval     The pointer to the Resource Descriptor HOB.\r
 **/\r
 EFI_HOB_RESOURCE_DESCRIPTOR *\r
 FindResourceDescriptorByRange (\r
-  VOID                      *HobList,\r
-  EFI_PHYSICAL_ADDRESS      Base,\r
-  EFI_PHYSICAL_ADDRESS      Top\r
+  IN VOID                      *HobList,\r
+  IN EFI_PHYSICAL_ADDRESS      Base,\r
+  IN EFI_PHYSICAL_ADDRESS      Top\r
   )\r
 {\r
   EFI_PEI_HOB_POINTERS             Hob;\r
@@ -171,7 +172,7 @@ FindResourceDescriptorByRange (
   @param[in] MinimalNeededSize       Minimal needed size.\r
   @param[in] ExceptResourceHob       Ignore this Resource Descriptor.\r
 \r
-  @return     The pointer to the Resource Descriptor HOB.\r
+  @retval     The pointer to the Resource Descriptor HOB.\r
 **/\r
 EFI_HOB_RESOURCE_DESCRIPTOR *\r
 FindAnotherHighestBelow4GResourceDescriptor (\r
@@ -240,6 +241,9 @@ FindAnotherHighestBelow4GResourceDescriptor (
 /**\r
   It will build HOBs based on information from bootloaders.\r
 \r
+  @param[in]  BootloaderParameter   The starting memory address of bootloader parameter block.\r
+  @param[out] DxeFv                 The pointer to the DXE FV in memory.\r
+\r
   @retval EFI_SUCCESS        If it completed successfully.\r
   @retval Others             If it failed to build required HOBs.\r
 **/\r
@@ -376,6 +380,8 @@ BuildHobs (
 /**\r
   Entry point to the C language phase of UEFI payload.\r
 \r
+  @param[in]   BootloaderParameter    The starting address of bootloader parameter block.\r
+\r
   @retval      It will not return if SUCCESS, and return error when passing bootloader parameter.\r
 **/\r
 EFI_STATUS\r