]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ADD EFIAPI for library function.
authorlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 9 Jul 2008 08:57:49 +0000 (08:57 +0000)
committerlgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 9 Jul 2008 08:57:49 +0000 (08:57 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5435 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/GenericBdsLib/Ipf/ShadowRom.c
MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c

index cd9f39bafad1218fe6bd388d32837ef84077d9b4..e6f46ee6676441eb40c68ba46b7f2b621d3f4a32 100644 (file)
@@ -22,6 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 UINT8 mShadowRomFlag = 0;\r
 \r
 VOID\r
+EFIAPI\r
 ShadowAllOptionRom()\r
 {\r
   EFI_STATUS                Status;\r
index 853bede9435422760df55c78bfcb34f64b670f65..b49c93c6adc415222eb0c99bd74f10fae0460586 100644 (file)
@@ -435,16 +435,18 @@ BdsIsLegacyBootOption (
 }\r
 \r
 /**\r
-  EDES_TODO: Add function description.\r
 \r
-  @param OptionNumber    EDES_TODO: Add parameter description\r
-  @param BootOrder       EDES_TODO: Add parameter description\r
-  @param BootOrderSize   EDES_TODO: Add parameter description\r
+  Delete boot option specified by OptionNumber and adjust the boot order.\r
 \r
-  @return EDES_TODO: Add description for return value\r
+  @param  OptionNumber      The boot option to be deleted.\r
+  @param  BootOrder         Boot order list to be adjusted by remove this boot option.\r
+  @param  BootOrderSize     The size of Boot order list will be modified.\r
+  \r
+  @retval EFI_SUCCESS       The boot option is deleted successfully.\r
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 BdsDeleteBootOption (\r
   IN UINTN                       OptionNumber,\r
   IN OUT UINT16                  *BootOrder,\r
@@ -486,20 +488,14 @@ BdsDeleteBootOption (
 }\r
 \r
 /**\r
-\r
   Delete all the invalid legacy boot options.\r
 \r
-\r
-  @param VOID            EDES_TODO: Add parameter description\r
-\r
-  @retval  EFI_SUCCESS             All invalide legacy boot options are deleted.\r
-  @retval  EFI_OUT_OF_RESOURCES    Fail to allocate necessary memory.\r
-  @retval  EFI_NOT_FOUND           Fail to retrive variable of boot order.\r
-  @retval  Other                   Error occurs while setting variable or locating\r
-                                   protocol.\r
-\r
+  @retval EFI_SUCCESS             All invalide legacy boot options are deleted.\r
+  @retval EFI_OUT_OF_RESOURCES    Fail to allocate necessary memory.\r
+  @retval EFI_NOT_FOUND           Fail to retrive variable of boot order.\r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 BdsDeleteAllInvalidLegacyBootOptions (\r
   VOID\r
   )\r
@@ -750,14 +746,12 @@ BdsCreateOneLegacyBootOption (
 \r
   Add the legacy boot options from BBS table if they do not exist.\r
 \r
-\r
-  @param VOID            EDES_TODO: Add parameter description\r
-\r
-  @retval  EFI_SUCCESS        The boot options are added successfully or they are already in boot options.\r
-  @retval  others             An error occurred when creating legacy boot options.\r
+  @retval EFI_SUCCESS       The boot options are added successfully \r
+                            or they are already in boot options.\r
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 BdsAddNonExistingLegacyBootOptions (\r
   VOID\r
   )\r
@@ -1029,14 +1023,15 @@ BdsCreateDevOrder (
 }\r
 \r
 /**\r
-  EDES_TODO: Add function description.\r
 \r
-  @param VOID            EDES_TODO: Add parameter description\r
+  Add the legacy boot devices from BBS table into \r
+  the legacy device boot order.\r
 \r
-  @return EDES_TODO: Add description for return value\r
+  @retval EFI_SUCCESS       The boot devices are added successfully.\r
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 BdsUpdateLegacyDevOrder (\r
   VOID\r
   )\r
@@ -1586,14 +1581,16 @@ PrintBbsTable (
 }\r
 \r
 /**\r
-  EDES_TODO: Add function description.\r
 \r
-  @param Entry           EDES_TODO: Add parameter description\r
+  Set the boot priority for BBS entries based on boot option entry and boot order.\r
 \r
-  @return EDES_TODO: Add description for return value\r
+  @param  Entry             The boot option is to be checked for refresh BBS table.\r
+  \r
+  @retval EFI_SUCCESS       The boot priority for BBS entries is refreshed successfully.\r
 \r
 **/\r
 EFI_STATUS\r
+EFIAPI\r
 BdsRefreshBbsTableForBoot (\r
   IN BDS_COMMON_OPTION        *Entry\r
   )\r