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
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