git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9515
6f19259b-4bc3-4df7-8a09-
765794883524
//\r
if (!IS_LOAD_OPTION_TYPE (BootOption->Attribute, LOAD_OPTION_ACTIVE)) {\r
//\r
//\r
if (!IS_LOAD_OPTION_TYPE (BootOption->Attribute, LOAD_OPTION_ACTIVE)) {\r
//\r
- // skip the header of the link list, becuase it has no boot option\r
+ // skip the header of the link list, because it has no boot option\r
//\r
Link = Link->ForwardLink;\r
continue;\r
//\r
Link = Link->ForwardLink;\r
continue;\r
PlatformBdsEnterFrontPage (Timeout, FALSE);\r
\r
//\r
PlatformBdsEnterFrontPage (Timeout, FALSE);\r
\r
//\r
- // Rescan the boot option list, avoid pertential risk of the boot\r
+ // Rescan the boot option list, avoid potential risk of the boot\r
// option change in front page\r
//\r
if (BootNextExist) {\r
// option change in front page\r
//\r
if (BootNextExist) {\r
- // Post our Boot Maint VFR binnary to the HII database.\r
+ // Post our Boot Maint VFR binary to the HII database.\r
//\r
BmmCallbackInfo->BmmHiiHandle = HiiAddPackages (\r
&mBootMaintGuid,\r
//\r
BmmCallbackInfo->BmmHiiHandle = HiiAddPackages (\r
&mBootMaintGuid,\r
- Intialize all the string depositories.\r
+ Initialize all the string depositories.\r
#define MAXIMUM_NORMAL_KEY_VALUE 0x11FF\r
\r
//\r
#define MAXIMUM_NORMAL_KEY_VALUE 0x11FF\r
\r
//\r
-// Varstore ID defined for Buffer Stoarge\r
+// Varstore ID defined for Buffer Storage\r
//\r
#define VARSTORE_ID_BOOT_MAINT 0x1000\r
#define VARSTORE_ID_FILE_EXPLORER 0x1001\r
//\r
#define VARSTORE_ID_BOOT_MAINT 0x1000\r
#define VARSTORE_ID_FILE_EXPLORER 0x1001\r
- This call back funtion is registered with Boot Manager formset.\r
+ This call back function is registered with Boot Manager formset.\r
When user selects a boot option, this call back function will\r
be triggered. The boot option is saved for later processing.\r
\r
When user selects a boot option, this call back function will\r
be triggered. The boot option is saved for later processing.\r
\r
- This funtion invokees Boot Manager. If all devices have not a chance to be connected,\r
+ This function invokes Boot Manager. If all devices have not a chance to be connected,\r
the connect all will be triggered. It then enumerate all boot options. If \r
a boot option from the Boot Manager page is selected, Boot Manager will boot\r
from this boot option.\r
the connect all will be triggered. It then enumerate all boot options. If \r
a boot option from the Boot Manager page is selected, Boot Manager will boot\r
from this boot option.\r
- //Will leave browser, check any reset required change is applied? if yes, reset system\r
+ // Will leave browser, check any reset required change is applied? if yes, reset system\r
//\r
SetupResetReminder ();\r
\r
//\r
SetupResetReminder ();\r
\r
} BOOT_MANAGER_CALLBACK_DATA;\r
\r
/**\r
} BOOT_MANAGER_CALLBACK_DATA;\r
\r
/**\r
- This call back funtion is registered with Boot Manager formset.\r
+ This call back function is registered with Boot Manager formset.\r
When user selects a boot option, this call back function will\r
be triggered. The boot option is saved for later processing.\r
\r
When user selects a boot option, this call back function will\r
be triggered. The boot option is saved for later processing.\r
\r
- This funtion invokees Boot Manager. If all devices have not a chance to be connected,\r
+ This function invokes Boot Manager. If all devices have not a chance to be connected,\r
the connect all will be triggered. It then enumerate all boot options. If \r
a boot option from the Boot Manager page is selected, Boot Manager will boot\r
from this boot option.\r
the connect all will be triggered. It then enumerate all boot options. If \r
a boot option from the Boot Manager page is selected, Boot Manager will boot\r
from this boot option.\r
&ActionRequest\r
);\r
//\r
&ActionRequest\r
);\r
//\r
- // Check whether user change any option setting which needs a reset to be effective\r
+ // Check whether user change any option setting which needs a reset to be effective\r
//\r
if (ActionRequest == EFI_BROWSER_ACTION_REQUEST_RESET) {\r
EnableResetRequired ();\r
//\r
if (ActionRequest == EFI_BROWSER_ACTION_REQUEST_RESET) {\r
EnableResetRequired ();\r
@param TimeoutDefault The fault time out value before the system continue to boot.\r
\r
@retval EFI_SUCCESS User pressed some key except "Enter"\r
@param TimeoutDefault The fault time out value before the system continue to boot.\r
\r
@retval EFI_SUCCESS User pressed some key except "Enter"\r
- @retval EFI_TIME_OUT Timout expired or user press "Enter"\r
+ @retval EFI_TIME_OUT Timeout expired or user press "Enter"\r
@param TimeoutDefault The fault time out value before the system\r
continue to boot.\r
@param ConnectAllHappened The indicater to check if the connect all have\r
@param TimeoutDefault The fault time out value before the system\r
continue to boot.\r
@param ConnectAllHappened The indicater to check if the connect all have\r
\r
//\r
// If gCallbackKey is greater than 1 and less or equal to 5,\r
\r
//\r
// If gCallbackKey is greater than 1 and less or equal to 5,\r
- // it will lauch configuration utilities.\r
+ // it will launch configuration utilities.\r
// 2 = set language\r
// 3 = boot manager\r
// 4 = device manager\r
// 2 = set language\r
// 3 = boot manager\r
// 4 = device manager\r
- // 5 = boot maintainenance manager\r
+ // 5 = boot maintenance manager\r
//\r
if (gCallbackKey != 0) {\r
REPORT_STATUS_CODE (\r
//\r
if (gCallbackKey != 0) {\r
REPORT_STATUS_CODE (\r
//\r
// User chose to run the Boot Manager\r
//\r
//\r
// User chose to run the Boot Manager\r
//\r
break;\r
\r
case FRONT_PAGE_KEY_DEVICE_MANAGER:\r
break;\r
\r
case FRONT_PAGE_KEY_DEVICE_MANAGER:\r
@param TimeoutDefault - The fault time out value before the system\r
continue to boot.\r
@param ConnectAllHappened - The indicater to check if the connect all have\r
@param TimeoutDefault - The fault time out value before the system\r
continue to boot.\r
@param ConnectAllHappened - The indicater to check if the connect all have\r