OvmfPkg: Remove duplicated words

In an effort to clean the documentation of the above
package, remove duplicated words.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
This commit is contained in:
Pierre Gondois 2022-08-23 18:00:22 +02:00 committed by mergify[bot]
parent 0ccf955674
commit e87ac5ef49
11 changed files with 15 additions and 15 deletions

View File

@ -813,7 +813,7 @@ CreateIdentityMappingPageTables (
{ {
// //
// Each PML5 entry points to a page of PML4 entires. // Each PML5 entry points to a page of PML4 entires.
// So lets allocate space for them and fill them in in the IndexOfPml4Entries loop. // So lets allocate space for them and fill them in the IndexOfPml4Entries loop.
// When 5-Level Paging is disabled, below allocation happens only once. // When 5-Level Paging is disabled, below allocation happens only once.
// //
PageMapLevel4Entry = (VOID *)BigPageAddress; PageMapLevel4Entry = (VOID *)BigPageAddress;
@ -835,7 +835,7 @@ CreateIdentityMappingPageTables (
{ {
// //
// Each PML4 entry points to a page of Page Directory Pointer entires. // Each PML4 entry points to a page of Page Directory Pointer entires.
// So lets allocate space for them and fill them in in the IndexOfPdpEntries loop. // So lets allocate space for them and fill them in the IndexOfPdpEntries loop.
// //
PageDirectoryPointerEntry = (VOID *)BigPageAddress; PageDirectoryPointerEntry = (VOID *)BigPageAddress;
BigPageAddress += SIZE_4KB; BigPageAddress += SIZE_4KB;
@ -875,7 +875,7 @@ CreateIdentityMappingPageTables (
{ {
// //
// Each Directory Pointer entries points to a page of Page Directory entires. // Each Directory Pointer entries points to a page of Page Directory entires.
// So allocate space for them and fill them in in the IndexOfPageDirectoryEntries loop. // So allocate space for them and fill them in the IndexOfPageDirectoryEntries loop.
// //
PageDirectoryEntry = (VOID *)BigPageAddress; PageDirectoryEntry = (VOID *)BigPageAddress;
BigPageAddress += SIZE_4KB; BigPageAddress += SIZE_4KB;

View File

@ -259,7 +259,7 @@ DebugClearMemory (
ASSERT (Buffer != NULL); ASSERT (Buffer != NULL);
// //
// SetMem() checks for the the ASSERT() condition on Length and returns Buffer // SetMem() checks for the ASSERT() condition on Length and returns Buffer
// //
return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue)); return SetMem (Buffer, Length, PcdGet8 (PcdDebugClearMemoryValue));
} }

View File

@ -108,7 +108,7 @@ LibGetTime (
@retval EFI_SUCCESS The operation completed successfully. @retval EFI_SUCCESS The operation completed successfully.
@retval EFI_INVALID_PARAMETER A time field is out of range. @retval EFI_INVALID_PARAMETER A time field is out of range.
@retval EFI_DEVICE_ERROR The time could not be set due due to hardware error. @retval EFI_DEVICE_ERROR The time could not be set due to hardware error.
**/ **/
EFI_STATUS EFI_STATUS

View File

@ -79,7 +79,7 @@ QemuFlashPtrWrite (
// Writing to flash is emulated by the hypervisor through the use of write // Writing to flash is emulated by the hypervisor through the use of write
// protection. This won't work for an SEV-ES guest because the write won't // protection. This won't work for an SEV-ES guest because the write won't
// be recognized as a true MMIO write, which would result in the required // be recognized as a true MMIO write, which would result in the required
// #VC exception. Instead, use the the VMGEXIT MMIO write support directly // #VC exception. Instead, use the VMGEXIT MMIO write support directly
// to perform the update. // to perform the update.
// //
VmgInit (Ghcb, &InterruptState); VmgInit (Ghcb, &InterruptState);

View File

@ -59,7 +59,7 @@ GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE mSataControllerControlle
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three character ISO 639-2 language identifier. @param Language A pointer to a three character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.
@ -108,7 +108,7 @@ SataControllerComponentNameGetDriverName (
that wishes to retrieve the name of a child controller. that wishes to retrieve the name of a child controller.
@param Language A pointer to a three character ISO 639-2 language @param Language A pointer to a three character ISO 639-2 language
identifier. This is the language of the controller name identifier. This is the language of the controller name
that that the caller is requesting, and it must match one that the caller is requesting, and it must match one
of the languages specified in SupportedLanguages. The of the languages specified in SupportedLanguages. The
number of languages supported by a driver is up to the number of languages supported by a driver is up to the
driver writer. driver writer.

View File

@ -465,7 +465,7 @@ IdeInitSetTiming (
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three character ISO 639-2 language identifier. @param Language A pointer to a three character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.
@ -506,7 +506,7 @@ SataControllerComponentNameGetDriverName (
that wishes to retrieve the name of a child controller. that wishes to retrieve the name of a child controller.
@param Language A pointer to a three character ISO 639-2 language @param Language A pointer to a three character ISO 639-2 language
identifier. This is the language of the controller name identifier. This is the language of the controller name
that that the caller is requesting, and it must match one that the caller is requesting, and it must match one
of the languages specified in SupportedLanguages. The of the languages specified in SupportedLanguages. The
number of languages supported by a driver is up to the number of languages supported by a driver is up to the
driver writer. driver writer.

View File

@ -52,7 +52,7 @@ EFI_UNICODE_STRING_TABLE mXenBusDxeControllerNameTable[] = {
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three-character ISO 639-2 language identifier. @param Language A pointer to a three-character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.

View File

@ -12,7 +12,7 @@
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three-character ISO 639-2 language identifier. @param Language A pointer to a three-character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.

View File

@ -88,7 +88,7 @@ XenPvBlockFree (
} }
/** /**
Wait until until the backend has reached the ExpectedState. Wait until the backend has reached the ExpectedState.
@param Dev A XEN_BLOCK_FRONT_DEVICE instance. @param Dev A XEN_BLOCK_FRONT_DEVICE instance.
@param ExpectedState The backend state expected. @param ExpectedState The backend state expected.

View File

@ -52,7 +52,7 @@ EFI_UNICODE_STRING_TABLE mXenPvBlkDxeControllerNameTable[] = {
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three-character ISO 639-2 language identifier. @param Language A pointer to a three-character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.

View File

@ -12,7 +12,7 @@
@param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance. @param This A pointer to the EFI_COMPONENT_NAME_PROTOCOL instance.
@param Language A pointer to a three-character ISO 639-2 language identifier. @param Language A pointer to a three-character ISO 639-2 language identifier.
This is the language of the driver name that that the caller This is the language of the driver name that the caller
is requesting, and it must match one of the languages specified is requesting, and it must match one of the languages specified
in SupportedLanguages. The number of languages supported by a in SupportedLanguages. The number of languages supported by a
driver is up to the driver writer. driver is up to the driver writer.