From baf46e70a58d125b30b62fa24a59dd321b283fdc Mon Sep 17 00:00:00 2001 From: gikidy Date: Fri, 4 Dec 2009 03:35:56 +0000 Subject: [PATCH] Fix some typos & format. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9515 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c | 4 ++-- .../Universal/BdsDxe/BootMaint/BootMaint.c | 4 ++-- .../Universal/BdsDxe/BootMaint/FormGuid.h | 2 +- .../Universal/BdsDxe/BootMngr/BootManager.c | 6 +++--- .../Universal/BdsDxe/BootMngr/BootManager.h | 4 ++-- IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c | 12 ++++++------ IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h | 2 +- 7 files changed, 17 insertions(+), 17 deletions(-) diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c index d671c1ea38..58382cf5a2 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BdsEntry.c @@ -191,7 +191,7 @@ BdsBootDeviceSelect ( // 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; continue; @@ -239,7 +239,7 @@ BdsBootDeviceSelect ( 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 // if (BootNextExist) { diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c index 23e38b1cea..2f632247a8 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/BootMaint.c @@ -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 ( &mBootMaintGuid, @@ -1161,7 +1161,7 @@ FreeAllMenu ( } /** - Intialize all the string depositories. + Initialize all the string depositories. **/ VOID diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h index f177e75f5e..eff03a6626 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMaint/FormGuid.h @@ -77,7 +77,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #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_FILE_EXPLORER 0x1001 diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c index 817b2e0e0b..fdd2befe82 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.c @@ -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 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 a boot option from the Boot Manager page is selected, Boot Manager will boot 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 (); diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.h b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.h index 00307b6ba3..11a0bb92fe 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.h +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/BootMngr/BootManager.h @@ -54,7 +54,7 @@ typedef struct { } 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 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 a boot option from the Boot Manager page is selected, Boot Manager will boot from this boot option. diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c index 7513ab6d6b..b217d0a9b9 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.c @@ -534,7 +534,7 @@ CallFrontPage ( &ActionRequest ); // - // Check whether user change any option setting which needs a reset to be effective + // Check whether user change any option setting which needs a reset to be effective // if (ActionRequest == EFI_BROWSER_ACTION_REQUEST_RESET) { EnableResetRequired (); @@ -871,7 +871,7 @@ WaitForSingleEvent ( @param TimeoutDefault The fault time out value before the system continue to boot. @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 @@ -965,7 +965,7 @@ ShowProgress ( @param TimeoutDefault The fault time out value before the system continue to boot. @param ConnectAllHappened The indicater to check if the connect all have - already happended. + already happened. **/ VOID @@ -1015,11 +1015,11 @@ PlatformBdsEnterFrontPage ( // // 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 // 3 = boot manager // 4 = device manager - // 5 = boot maintainenance manager + // 5 = boot maintenance manager // if (gCallbackKey != 0) { REPORT_STATUS_CODE ( @@ -1054,7 +1054,7 @@ PlatformBdsEnterFrontPage ( // // User chose to run the Boot Manager // - CallBootManager (); + CallBootManager(); break; case FRONT_PAGE_KEY_DEVICE_MANAGER: diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h index 7ec67932fe..033655c4c1 100644 --- a/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h +++ b/IntelFrameworkModulePkg/Universal/BdsDxe/FrontPage.h @@ -232,7 +232,7 @@ TimeCompare ( @param TimeoutDefault - The fault time out value before the system continue to boot. @param ConnectAllHappened - The indicater to check if the connect all have - already happended. + already happened. **/ VOID