mirror of https://github.com/acidanthera/audk.git
Fix some typos & format.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9515 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
ab4da12626
commit
baf46e70a5
|
@ -191,7 +191,7 @@ BdsBootDeviceSelect (
|
||||||
//
|
//
|
||||||
if (!IS_LOAD_OPTION_TYPE (BootOption->Attribute, LOAD_OPTION_ACTIVE)) {
|
if (!IS_LOAD_OPTION_TYPE (BootOption->Attribute, LOAD_OPTION_ACTIVE)) {
|
||||||
//
|
//
|
||||||
// skip the header of the link list, becuase it has no boot option
|
// skip the header of the link list, because it has no boot option
|
||||||
//
|
//
|
||||||
Link = Link->ForwardLink;
|
Link = Link->ForwardLink;
|
||||||
continue;
|
continue;
|
||||||
|
@ -239,7 +239,7 @@ BdsBootDeviceSelect (
|
||||||
PlatformBdsEnterFrontPage (Timeout, FALSE);
|
PlatformBdsEnterFrontPage (Timeout, FALSE);
|
||||||
|
|
||||||
//
|
//
|
||||||
// Rescan the boot option list, avoid pertential risk of the boot
|
// Rescan the boot option list, avoid potential risk of the boot
|
||||||
// option change in front page
|
// option change in front page
|
||||||
//
|
//
|
||||||
if (BootNextExist) {
|
if (BootNextExist) {
|
||||||
|
|
|
@ -929,7 +929,7 @@ InitializeBM (
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
// Post our Boot Maint VFR binnary to the HII database.
|
// Post our Boot Maint VFR binary to the HII database.
|
||||||
//
|
//
|
||||||
BmmCallbackInfo->BmmHiiHandle = HiiAddPackages (
|
BmmCallbackInfo->BmmHiiHandle = HiiAddPackages (
|
||||||
&mBootMaintGuid,
|
&mBootMaintGuid,
|
||||||
|
@ -1161,7 +1161,7 @@ FreeAllMenu (
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Intialize all the string depositories.
|
Initialize all the string depositories.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
|
|
@ -77,7 +77,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
#define MAXIMUM_NORMAL_KEY_VALUE 0x11FF
|
#define MAXIMUM_NORMAL_KEY_VALUE 0x11FF
|
||||||
|
|
||||||
//
|
//
|
||||||
// Varstore ID defined for Buffer Stoarge
|
// Varstore ID defined for Buffer Storage
|
||||||
//
|
//
|
||||||
#define VARSTORE_ID_BOOT_MAINT 0x1000
|
#define VARSTORE_ID_BOOT_MAINT 0x1000
|
||||||
#define VARSTORE_ID_FILE_EXPLORER 0x1001
|
#define VARSTORE_ID_FILE_EXPLORER 0x1001
|
||||||
|
|
|
@ -56,7 +56,7 @@ BOOT_MANAGER_CALLBACK_DATA gBootManagerPrivate = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This call back funtion is registered with Boot Manager formset.
|
This call back function is registered with Boot Manager formset.
|
||||||
When user selects a boot option, this call back function will
|
When user selects a boot option, this call back function will
|
||||||
be triggered. The boot option is saved for later processing.
|
be triggered. The boot option is saved for later processing.
|
||||||
|
|
||||||
|
@ -172,7 +172,7 @@ InitializeBootManager (
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This funtion invokees Boot Manager. If all devices have not a chance to be connected,
|
This function invokes Boot Manager. If all devices have not a chance to be connected,
|
||||||
the connect all will be triggered. It then enumerate all boot options. If
|
the connect all will be triggered. It then enumerate all boot options. If
|
||||||
a boot option from the Boot Manager page is selected, Boot Manager will boot
|
a boot option from the Boot Manager page is selected, Boot Manager will boot
|
||||||
from this boot option.
|
from this boot option.
|
||||||
|
@ -379,7 +379,7 @@ CallBootManager (
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
//Will leave browser, check any reset required change is applied? if yes, reset system
|
// Will leave browser, check any reset required change is applied? if yes, reset system
|
||||||
//
|
//
|
||||||
SetupResetReminder ();
|
SetupResetReminder ();
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ typedef struct {
|
||||||
} BOOT_MANAGER_CALLBACK_DATA;
|
} BOOT_MANAGER_CALLBACK_DATA;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This call back funtion is registered with Boot Manager formset.
|
This call back function is registered with Boot Manager formset.
|
||||||
When user selects a boot option, this call back function will
|
When user selects a boot option, this call back function will
|
||||||
be triggered. The boot option is saved for later processing.
|
be triggered. The boot option is saved for later processing.
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ InitializeBootManager (
|
||||||
);
|
);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
This funtion invokees Boot Manager. If all devices have not a chance to be connected,
|
This function invokes Boot Manager. If all devices have not a chance to be connected,
|
||||||
the connect all will be triggered. It then enumerate all boot options. If
|
the connect all will be triggered. It then enumerate all boot options. If
|
||||||
a boot option from the Boot Manager page is selected, Boot Manager will boot
|
a boot option from the Boot Manager page is selected, Boot Manager will boot
|
||||||
from this boot option.
|
from this boot option.
|
||||||
|
|
|
@ -871,7 +871,7 @@ WaitForSingleEvent (
|
||||||
@param TimeoutDefault The fault time out value before the system continue to boot.
|
@param TimeoutDefault The fault time out value before the system continue to boot.
|
||||||
|
|
||||||
@retval EFI_SUCCESS User pressed some key except "Enter"
|
@retval EFI_SUCCESS User pressed some key except "Enter"
|
||||||
@retval EFI_TIME_OUT Timout expired or user press "Enter"
|
@retval EFI_TIME_OUT Timeout expired or user press "Enter"
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
|
@ -965,7 +965,7 @@ ShowProgress (
|
||||||
@param TimeoutDefault The fault time out value before the system
|
@param TimeoutDefault The fault time out value before the system
|
||||||
continue to boot.
|
continue to boot.
|
||||||
@param ConnectAllHappened The indicater to check if the connect all have
|
@param ConnectAllHappened The indicater to check if the connect all have
|
||||||
already happended.
|
already happened.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
@ -1015,11 +1015,11 @@ PlatformBdsEnterFrontPage (
|
||||||
|
|
||||||
//
|
//
|
||||||
// If gCallbackKey is greater than 1 and less or equal to 5,
|
// If gCallbackKey is greater than 1 and less or equal to 5,
|
||||||
// it will lauch configuration utilities.
|
// it will launch configuration utilities.
|
||||||
// 2 = set language
|
// 2 = set language
|
||||||
// 3 = boot manager
|
// 3 = boot manager
|
||||||
// 4 = device manager
|
// 4 = device manager
|
||||||
// 5 = boot maintainenance manager
|
// 5 = boot maintenance manager
|
||||||
//
|
//
|
||||||
if (gCallbackKey != 0) {
|
if (gCallbackKey != 0) {
|
||||||
REPORT_STATUS_CODE (
|
REPORT_STATUS_CODE (
|
||||||
|
@ -1054,7 +1054,7 @@ PlatformBdsEnterFrontPage (
|
||||||
//
|
//
|
||||||
// User chose to run the Boot Manager
|
// User chose to run the Boot Manager
|
||||||
//
|
//
|
||||||
CallBootManager ();
|
CallBootManager();
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case FRONT_PAGE_KEY_DEVICE_MANAGER:
|
case FRONT_PAGE_KEY_DEVICE_MANAGER:
|
||||||
|
|
|
@ -232,7 +232,7 @@ TimeCompare (
|
||||||
@param TimeoutDefault - The fault time out value before the system
|
@param TimeoutDefault - The fault time out value before the system
|
||||||
continue to boot.
|
continue to boot.
|
||||||
@param ConnectAllHappened - The indicater to check if the connect all have
|
@param ConnectAllHappened - The indicater to check if the connect all have
|
||||||
already happended.
|
already happened.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
VOID
|
VOID
|
||||||
|
|
Loading…
Reference in New Issue