[PATCH v3 02/14] StandaloneMmPkg: Fix new typos reported


Michael Kubacki
 

From: Michael Kubacki <michael.kubacki@...>

The SpellCheck plugin began reporting new typos that were previously
missed. This change fixes those typos.

Cc: Ard Biesheuvel <ardb+tianocore@...>
Cc: Sami Mujawar <sami.mujawar@...>
Cc: Jiewen Yao <jiewen.yao@...>
Cc: Supreeth Venkatesh <supreeth.venkatesh@...>
Signed-off-by: Michael Kubacki <michael.kubacki@...>
Reviewed-by: Sami Mujawar <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