]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/BdsDxe/BootMaint/BBSsupport.c
Refine comments for BDS module.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BootMaint / BBSsupport.c
index 96000749c9efcff581f5eba66c8c6869d53bbd94..94261a0bef5824ed75e7e32a48fdb9a691bfb033 100644 (file)
@@ -172,14 +172,14 @@ BdsBuildLegacyDevNameString (
   order list.\r
 \r
 \r
-  @param CurrentBbsEntry Pointer to current BBS table.\r
-  @param CurrentBbsDevPath Pointer to the Device Path Protocol instance of BBS\r
-  @param Index           Index of the specified entry in BBS table.\r
-  @param BootOrderList   On input, the original boot order list.\r
-                         On output, the new boot order list attached with the\r
-                         created node.\r
-  @param BootOrderListSize On input, the original size of boot order list.\r
-                         - On output, the size of new boot order list.\r
+  @param CurrentBbsEntry    Pointer to current BBS table.\r
+  @param CurrentBbsDevPath  Pointer to the Device Path Protocol instance of BBS\r
+  @param Index              Index of the specified entry in BBS table.\r
+  @param BootOrderList      On input, the original boot order list.\r
+                            On output, the new boot order list attached with the\r
+                            created node.\r
+  @param BootOrderListSize  On input, the original size of boot order list.\r
+                            On output, the size of new boot order list.\r
 \r
   @retval  EFI_SUCCESS             Boot Option successfully created.\r
   @retval  EFI_OUT_OF_RESOURCES    Fail to allocate necessary memory.\r
@@ -1654,10 +1654,10 @@ BdsRefreshBbsTableForBoot (
   if (BootOrder != NULL) {\r
     FreePool (BootOrder);\r
   }\r
-  //\r
-  // For debug\r
-  //\r
-  PrintBbsTable (LocalBbsTable);\r
 \r
+  DEBUG_CODE_BEGIN();\r
+    PrintBbsTable (LocalBbsTable);\r
+  DEBUG_CODE_END();\r
+  \r
   return Status;\r
 }\r