From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.9374.1652803268736203764 for ; Tue, 17 May 2022 09:01:08 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=GJCO9Af1; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.195.228.134]) by linux.microsoft.com (Postfix) with ESMTPSA id B67AB20F7229; Tue, 17 May 2022 09:01:07 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com B67AB20F7229 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1652803268; bh=wstDA/anyU43xAz0C3jc1PZxc84gEOByacFtrqR0O8U=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GJCO9Af1bGUS0xpWG5AXMR0V56JFyFy3qMOPjXv7Y0ceRhTkOVt4RkvRtsj7rl2iU bZ+oRYqGybA/0EwtuFU4StuY8+vIECd0jFe8/w9IOEddRnfQ1hZzZZEQWL6PAy0l6h k6SlgjnHio031I3VfRHvTWrjcM6tfZyoR6UDYnVE= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh Subject: [PATCH v1 2/8] StandaloneMmPkg: Fix new typos reported Date: Tue, 17 May 2022 12:00:37 -0400 Message-Id: <20220517160043.1210-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20220517160043.1210-1-mikuback@linux.microsoft.com> References: <20220517160043.1210-1-mikuback@linux.microsoft.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki The SpellCheck plugin began reporting new typos that were previously missed. This change fixes those typos. Cc: Ard Biesheuvel Cc: Sami Mujawar Cc: Jiewen Yao Cc: Supreeth Venkatesh Signed-off-by: Michael Kubacki --- StandaloneMmPkg/Core/Dependency.c | 2 +- StandaloneMmPkg/Core/Dispatcher.c | 18 +++++++++--------- StandaloneMmPkg/Include/Guid/MmCoreData.h | 2 +- StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 9 +++++++++ 4 files changed, 20 insertions(+), 11 deletions(-) diff --git a/StandaloneMmPkg/Core/Dependency.c b/StandaloneMmPkg/Core/Dep= endency.c index 440fe3e45238..0e9c0e96a276 100644 --- a/StandaloneMmPkg/Core/Dependency.c +++ b/StandaloneMmPkg/Core/Dependency.c @@ -38,7 +38,7 @@ BOOLEAN *mDepexEvaluationStackPointer =3D NULL; /** Grow size of the Depex stack =20 - @retval EFI_SUCCESS Stack successfully growed. + @retval EFI_SUCCESS Stack successfully grew. @retval EFI_OUT_OF_RESOURCES There is not enough system memory to gro= w the stack. =20 **/ diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dis= patcher.c index b1ccba15b060..01da395be3c4 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -17,7 +17,7 @@ and After dependencies. This is done recursively as the call= to add to the mScheduledQueue checks for Before Depexes and recursi= vely adds all Before Depexes. It then adds the item that was pass= ed in - and then processess the After dependencies by recursively ca= lling + and then processes the After dependencies by recursively cal= ling the routine. =20 Dispatcher Rules: @@ -93,29 +93,29 @@ LIST_ENTRY mScheduledQueue =3D INITIALIZE_LIST_HEAD_= VARIABLE (mScheduledQueue); LIST_ENTRY mFwVolList =3D INITIALIZE_LIST_HEAD_VARIABLE (mFwVolList); =20 // -// Flag for the MM Dispacher. TRUE if dispatcher is executing. +// Flag for the MM Dispatcher. TRUE if dispatcher is executing. // BOOLEAN gDispatcherRunning =3D FALSE; =20 // -// Flag for the MM Dispacher. TRUE if there is one or more MM drivers r= eady to be dispatched +// Flag for the MM Dispatcher. TRUE if there is one or more MM drivers = ready to be dispatched // BOOLEAN gRequestDispatch =3D FALSE; =20 // // The global variable is defined for Loading modules at fixed address f= eature to track the MM code -// memory range usage. It is a bit mapped array in which every bit indic= ates the correspoding +// memory range usage. It is a bit mapped array in which every bit indic= ates the corresponding // memory page available or not. // GLOBAL_REMOVE_IF_UNREFERENCED UINT64 *mMmCodeMemoryRangeUsageBitMap = =3D NULL; =20 /** To check memory usage bit map array to figure out if the memory range = in which the image will be loaded - is available or not. If memory range is avaliable, the function will m= ark the corresponding bits to 1 + is available or not. If memory range is available, the function will m= ark the corresponding bits to 1 which indicates the memory range is used. The function is only invoked= when load modules at fixed address feature is enabled. =20 - @param ImageBase The base addres the image will be loa= ded at. + @param ImageBase The base address the image will be lo= aded at. @param ImageSize The size of the image =20 @retval EFI_SUCCESS The memory range the image will be lo= aded in is available @@ -194,7 +194,7 @@ CheckAndMarkFixLoadingMemoryUsageBitMap ( @param ImageContext Pointer to the image context structu= re that describes the PE/COFF image that needs to be examined by t= his function. @retval EFI_SUCCESS An fixed loading address is assigned= to this image by build tools . - @retval EFI_NOT_FOUND The image has no assigned fixed load= ding address. + @retval EFI_NOT_FOUND The image has no assigned fixed load= ing address. =20 **/ EFI_STATUS @@ -513,7 +513,7 @@ MmPreProcessDepex ( =20 @param DriverEntry Driver to work on. =20 - @retval EFI_SUCCESS Depex read and preprossesed + @retval EFI_SUCCESS Depex read and pre-processed @retval EFI_PROTOCOL_ERROR The section extraction protocol returned= an error and Depex reading needs to be retried. @retval Error DEPEX not found. @@ -851,7 +851,7 @@ FvIsBeingProcessed ( The Discovered list is never freed and contains booleans that represen= t the other possible MM driver states. =20 - @param [in] FwVolHeader Pointer to the formware volume header. + @param [in] FwVolHeader Pointer to the firmware volume header. @param [in] Pe32Data Pointer to the PE data. @param [in] Pe32DataSize Size of the PE data. @param [in] Depex Pointer to the Depex info. diff --git a/StandaloneMmPkg/Include/Guid/MmCoreData.h b/StandaloneMmPkg/= Include/Guid/MmCoreData.h index b8be92c6abfd..0f58f41d8060 100644 --- a/StandaloneMmPkg/Include/Guid/MmCoreData.h +++ b/StandaloneMmPkg/Include/Guid/MmCoreData.h @@ -70,7 +70,7 @@ typedef struct { =20 /// /// The MM Foundation Entry Point. The MM Core fills in this field wh= en the - /// MM Core is initialized. The MM IPL is responsbile for registering= this entry + /// MM Core is initialized. The MM IPL is responsible for registering= this entry /// point with the MM Configuration Protocol. The MM Configuration Pr= otocol may /// not be available at the time the MM IPL and MM Core are started, s= o the MM IPL /// sets up a protocol notification on the MM Configuration Protocol a= nd registers diff --git a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml b/StandaloneMmPkg/St= andaloneMmPkg.ci.yaml index 4777532a7ede..535e269e7891 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml +++ b/StandaloneMmPkg/StandaloneMmPkg.ci.yaml @@ -81,12 +81,21 @@ "IgnoreFiles": [], # use gitignore syntax to ignore er= rors # in matching files "ExtendWords": [ + "bootinformation", "Bsymbolic", + "bugbug", + "combineable", + "depexes", "FwVol", + "hoblist", + "imagehandle", + "interfacer", "mpidr", "mstrict", "schedulable", "StandaloneMMCore", + "systemtable", + "uncacheable" ], # words to extend to the dictionary for this packag= e "IgnoreStandardPaths": [], # Standard Plugin defined paths tha= t # should be ignore --=20 2.28.0.windows.1