]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/BdsDxe/BootMaint/UpdatePage.c
Refine function comments for BdsDxe module.
[mirror_edk2.git] / MdeModulePkg / Universal / BdsDxe / BootMaint / UpdatePage.c
index 2ffb1ff037a7259751f37598e72dff5ade905175..486f2fdcfc52ba786da688c3878cc343475be322 100644 (file)
@@ -114,11 +114,9 @@ UpdatePageEnd (
 }\r
 \r
 /**\r
-  Clean up the dynamic opcode at label and form specified by\r
-  both LabelId. \r
+  Clean up the dynamic opcode at label and form specified by both LabelId. \r
 \r
-  @param LabelId         It is both the Form ID and Label ID for\r
-                         opcode deletion.\r
+  @param LabelId         It is both the Form ID and Label ID for opcode deletion.\r
   @param CallbackData    The BMM context data.\r
 \r
 **/\r
@@ -150,7 +148,7 @@ CleanUpPage (
                          of the file to be boot from.\r
 \r
   @retval EFI_SUCCESS    The function completed successfull.\r
-  @return                 Other value if the boot from the file fails.\r
+  @return Other value if the boot from the file fails.\r
 \r
 **/\r
 EFI_STATUS\r
@@ -163,7 +161,7 @@ BootThisFile (
   CHAR16            *ExitData;\r
   BDS_COMMON_OPTION *Option;\r
 \r
-  Status                  = gBS->AllocatePool (EfiBootServicesData, sizeof (BDS_COMMON_OPTION), (VOID **) &Option);\r
+  Option = (BDS_COMMON_OPTION *) AllocatePool (sizeof (BDS_COMMON_OPTION));\r
   Option->Description     = FileContext->FileName;\r
   Option->DevicePath      = FileContext->DevicePath;\r
   Option->LoadOptionsSize = 0;\r
@@ -562,7 +560,7 @@ UpdateOrderPage (
 \r
 /**\r
   Create the dynamic page to allow user to set\r
-  the "BootNext" vaule.\r
+  the "BootNext" value.\r
 \r
   @param CallbackData    The BMM context data.\r
 \r
@@ -633,8 +631,7 @@ UpdateBootNextPage (
 }\r
 \r
 /**\r
-  Create the dynamic page to allow user to set\r
-  the "TimeOut" vaule.\r
+  Create the dynamic page to allow user to set the "TimeOut" value.\r
 \r
   @param CallbackData    The BMM context data.\r
 \r
@@ -673,7 +670,7 @@ UpdateTimeOutPage (
 }\r
 \r
 /**\r
-  Refresh the text mode page\r
+  Refresh the text mode page.\r
 \r
   @param CallbackData    The BMM context data.\r
 \r
@@ -778,8 +775,7 @@ UpdateConModePage (
 }\r
 \r
 /**\r
-  Create the dynamic page which allows user to \r
-  set the property such as Baud Rate, Data Bits,\r
+  Create the dynamic page which allows user to set the property such as Baud Rate, Data Bits,\r
   Parity, Stop Bits, Terminal Type.\r
 \r
   @param CallbackData    The BMM context data.\r