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.web10.118982.1671058395143692053 for ; Wed, 14 Dec 2022 14:53:15 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=YtHEZ0wE; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id 1DEAD20B87D7; Wed, 14 Dec 2022 14:53:14 -0800 (PST) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 1DEAD20B87D7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1671058394; bh=75Ci5M+4vAbj6YpJ3fjSA5ek9I/X97RDJgKMrQzR41A=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YtHEZ0wE8I9biVCpceqmng59zUWxdE8U8jGTuDJqJWJV/ET01mKOYASrsa6+0bqO3 nxR+bTE170GIymi2N1edPXaQqGoVfjLPyrVmR4FqSV7PDbGX0T2z4tjK2Bj8kAs7L1 IlLiD9NAH/bktUZLPTxUT9INRuQkeeq5amuSANFI= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Ard Biesheuvel , Sami Mujawar , Jiewen Yao , Supreeth Venkatesh Subject: [PATCH v3 02/14] StandaloneMmPkg: Fix new typos reported Date: Wed, 14 Dec 2022 17:52:40 -0500 Message-Id: <20221214225252.1660-3-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 In-Reply-To: <20221214225252.1660-1-mikuback@linux.microsoft.com> References: <20221214225252.1660-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 Reviewed-by: Sami Mujawar --- StandaloneMmPkg/Core/Dependency.c | 2 +- StandaloneMmPkg/Core/Dispatcher.c | 18 +++++++++--------- StandaloneMmPkg/Core/Handle.c | 2 +- StandaloneMmPkg/Core/StandaloneMmCore.h | 2 +- StandaloneMmPkg/Include/Guid/MmCoreData.h | 2 +- StandaloneMmPkg/StandaloneMmPkg.ci.yaml | 8 ++++++++ 6 files changed, 21 insertions(+), 13 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/Core/Handle.c b/StandaloneMmPkg/Core/Handle.= c index 7df4629cf291..bd0005fcb84d 100644 --- a/StandaloneMmPkg/Core/Handle.c +++ b/StandaloneMmPkg/Core/Handle.c @@ -347,7 +347,7 @@ MmInstallProtocolInterfaceNotify ( } =20 /** - Uninstalls all instances of a protocol:interfacer from a handle. + Uninstalls all instances of a protocol interface from a handle. If the last protocol interface is remove from the handle, the handle is freed. =20 diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.h b/StandaloneMmPkg/Co= re/StandaloneMmCore.h index 822d95358c39..b5e2e4b9083b 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.h +++ b/StandaloneMmPkg/Core/StandaloneMmCore.h @@ -426,7 +426,7 @@ MmInstallProtocolInterfaceNotify ( ); =20 /** - Uninstalls all instances of a protocol:interfacer from a handle. + Uninstalls all instances of a protocol interface from a handle. If the last protocol interface is remove from the handle, the handle is freed. =20 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..c91e79f4b865 100644 --- a/StandaloneMmPkg/StandaloneMmPkg.ci.yaml +++ b/StandaloneMmPkg/StandaloneMmPkg.ci.yaml @@ -81,12 +81,20 @@ "IgnoreFiles": [], # use gitignore syntax to ignore er= rors # in matching files "ExtendWords": [ + "bootinformation", "Bsymbolic", + "bugbug", + "combineable", + "depexes", "FwVol", + "hoblist", + "imagehandle", "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