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.web09.9329.1652803265534180747 for ; Tue, 17 May 2022 09:01:05 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=BdJykUFS; 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 6A35920F722E; Tue, 17 May 2022 09:01:04 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 6A35920F722E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1652803264; bh=dyoWMM9nxm6b+9KC4HoSl5YCvKuSwAiJYpwLVT9tggQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BdJykUFSiRu0iHk/fk/UsnHlMpQZDUy2rYSFle8zNkIT8BGY26BEg2/etR3sS2oHA 4/01sgSOw8RC2QQc13L8tO0r6FA9jW8UfyRotfmn0dXpLKwvG2xWG372EBpEgHq6GL VsFh6Sx6FJU9HmsVHsYh1xhtoveRfidTpKKCgxgY= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Michael Kubacki , Nate DeSimone , Ankit Sinha Subject: [PATCH v1 1/8] PrmPkg: Fix new typos reported Date: Tue, 17 May 2022 12:00:36 -0400 Message-Id: <20220517160043.1210-2-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: Michael Kubacki Cc: Nate DeSimone Cc: Ankit Sinha Signed-off-by: Michael Kubacki --- PrmPkg/Application/PrmInfo/PrmInfo.c = | 2 +- PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c = | 2 +- PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c = | 2 +- PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiBootSe= rvicesTableLibUnitTestImage.c | 2 +- PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiBootSe= rvicesTableLibUnitTestProtocol.c | 2 +- PrmPkg/Include/Library/PrmModuleDiscoveryLib.h = | 2 +- PrmPkg/PrmLoaderDxe/PrmAcpiTable.h = | 4 ++-- PrmPkg/PrmPkg.ci.yaml = | 9 +++++++++ PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiBootSe= rvicesTableLibUnitTest.h | 4 ++-- 9 files changed, 19 insertions(+), 10 deletions(-) diff --git a/PrmPkg/Application/PrmInfo/PrmInfo.c b/PrmPkg/Application/Pr= mInfo/PrmInfo.c index 0cde2fad3b4b..178d4810f498 100644 --- a/PrmPkg/Application/PrmInfo/PrmInfo.c +++ b/PrmPkg/Application/PrmInfo/PrmInfo.c @@ -148,7 +148,7 @@ PrintMmioRuntimeRangeInfo ( Gathers the PRM handler (and by extension module) information discover= ed on this system. =20 This function must be called to build up the discovered context for ot= her functions in the application. The - function will optionally print results as determed by the value of the= PrintInformation parameter. + function will optionally print results as determined by the value of t= he PrintInformation parameter. =20 @param[in] PrintInformation Indicates whether to print infor= mation as discovered in the function. =20 diff --git a/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscover= yLib.c b/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib= .c index e6bea47bc583..34373effd4cd 100644 --- a/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c +++ b/PrmPkg/Library/DxePrmModuleDiscoveryLib/DxePrmModuleDiscoveryLib.c @@ -149,7 +149,7 @@ IsAddressInMmram ( /** Discovers all PRM Modules loaded during boot. =20 - Each PRM Module discovered is placed into a linked list so the list ca= n br processsed in the future. + Each PRM Module discovered is placed into a linked list so the list ca= n br processed in the future. =20 @param[out] ModuleCount An optional pointer parameter = that, if provided, is set to the number of PRM modules discovered. diff --git a/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c b/PrmPkg/PrmLoaderDxe/Prm= LoaderDxe.c index 5a223d783d80..7b0042f133ef 100644 --- a/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c +++ b/PrmPkg/PrmLoaderDxe/PrmLoaderDxe.c @@ -295,7 +295,7 @@ PublishPrmAcpiTable ( time of this function invocation. =20 The main responsibilities of the PRM Loader are executed from this fun= ction which include 3 phases: - 1.) Disover PRM Modules - Find all PRM modules loaded during DXE dis= patch and insert a PRM Module + 1.) Discover PRM Modules - Find all PRM modules loaded during DXE di= spatch and insert a PRM Module Context entry into a linked list to be handed off to phase 2. 2.) Process PRM Modules - Build a GUID to PRM handler mapping for ea= ch module that is described in the PRM ACPI table so the OS can resolve a PRM Handler GUID to the c= orresponding PRM Handler physical address. diff --git a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTes= t/UefiBootServicesTableLibUnitTestImage.c b/PrmPkg/Test/UnitTest/Library/= UefiBootServicesTableLibUnitTest/UefiBootServicesTableLibUnitTestImage.c index a5799ff92d0c..abc6a4f1440c 100644 --- a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTestImage.c +++ b/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTestImage.c @@ -130,7 +130,7 @@ UnitTestExit ( @retval EFI_SUCCESS The image has been unloaded. @retval EFI_UNSUPPORTED The image has been started, and does n= ot support unload. - @retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handl= e. + @retval EFI_INVALID_PARAMETER ImageHandle is not a valid image handl= e. =20 **/ EFI_STATUS diff --git a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTes= t/UefiBootServicesTableLibUnitTestProtocol.c b/PrmPkg/Test/UnitTest/Libra= ry/UefiBootServicesTableLibUnitTest/UefiBootServicesTableLibUnitTestProto= col.c index 799b153a445f..46fd263ec070 100644 --- a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTestProtocol.c +++ b/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTestProtocol.c @@ -723,7 +723,7 @@ UnitTestReinstallProtocolInterface ( } =20 /** - Uninstalls all instances of a protocol:interfacer from a handle. + Uninstalls all instances of a protocol from a handle. If the last protocol interface is remove from the handle, the handle is freed. =20 diff --git a/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h b/PrmPkg/Incl= ude/Library/PrmModuleDiscoveryLib.h index 341b9b26a0f8..9df8d4d02370 100644 --- a/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h +++ b/PrmPkg/Include/Library/PrmModuleDiscoveryLib.h @@ -34,7 +34,7 @@ GetNextPrmModuleEntry ( /** Discovers all PRM Modules loaded during boot. =20 - Each PRM Module discovered is placed into a linked list so the list ca= n br processsed in the future. + Each PRM Module discovered is placed into a linked list so the list ca= n br processed in the future. =20 @param[out] ModuleCount An optional pointer parameter = that, if provided, is set to the number of PRM modules discovered. diff --git a/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h b/PrmPkg/PrmLoaderDxe/Prm= AcpiTable.h index e2034d4738bd..fdb708c2a112 100644 --- a/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h +++ b/PrmPkg/PrmLoaderDxe/PrmAcpiTable.h @@ -72,7 +72,7 @@ typedef struct { // // Todo: Revisit whether to use; currently both macros are not used // -#define PRM_MODULE_INFORMATION_STRUCTURE(ModuleGuid, ModuleRevision, Han= dlerCount, PrmHanderInfoStructureArray) { \ +#define PRM_MODULE_INFORMATION_STRUCTURE(ModuleGuid, ModuleRevision, Han= dlerCount, PrmHandlerInfoStructureArray) { \ { = \ PRM_MODULE_INFORMATION_STRUCT_REVISION, = /* UINT16 S= tructureRevision; */ \ (OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT, HandlerInfoStructure) += (HandlerCount * sizeof (PRM_HANDLER_INFORMATION_STRUCT))) /* UINT16 S= tructureLength; */ \ @@ -80,7 +80,7 @@ typedef struct { ModuleRevision, = /* UINT16 M= oduleRevision */ \ HandlerCount, = /* UINT16 H= andlerCount */ \ OFFSET_OF (PRM_MODULE_INFORMATION_STRUCT, HandlerInfoOffset), = /* UINT32 H= andlerInfoOffset */ \ - PrmHanderInfoStructureArray = /* PRM_HANDLER= _INFORMATION_STRUCT HandlerInfoStructure */ \ + PrmHandlerInfoStructureArray = /* PRM_HANDLER= _INFORMATION_STRUCT HandlerInfoStructure */ \ } \ } =20 diff --git a/PrmPkg/PrmPkg.ci.yaml b/PrmPkg/PrmPkg.ci.yaml index babaf2214ec8..0c84e616adbf 100644 --- a/PrmPkg/PrmPkg.ci.yaml +++ b/PrmPkg/PrmPkg.ci.yaml @@ -93,10 +93,19 @@ # in matching files "ExtendWords": [ # words to extend to the dictionary = for this package "buffe", # note: appears in buffer ascii dump= in documentation + "dbgmsgid", + "devicepath", "iptor", # note: appears in buffer ascii dump= in documentation "keepoptionalheader", "odule", # note: appears in buffer ascii dump= in documentation "oemid", + "packagelist", + "pecoff", + "prmconfig", + "prmcontextbufferlib", + "prminfo", + "prmloader", + "prmmodulediscoverylib", "prmopreg", "prmpecofflib", "prmpkg", diff --git a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTes= t/UefiBootServicesTableLibUnitTest.h b/PrmPkg/Test/UnitTest/Library/UefiB= ootServicesTableLibUnitTest/UefiBootServicesTableLibUnitTest.h index 82853bb61a1c..20958589b254 100644 --- a/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTest.h +++ b/PrmPkg/Test/UnitTest/Library/UefiBootServicesTableLibUnitTest/UefiB= ootServicesTableLibUnitTest.h @@ -354,7 +354,7 @@ UnitTestReinstallProtocolInterface ( ); =20 /** - Uninstalls all instances of a protocol:interfacer from a handle. + Uninstalls all instances of a protocol from a handle. If the last protocol interface is remove from the handle, the handle is freed. =20 @@ -600,7 +600,7 @@ UnitTestExit ( @retval EFI_SUCCESS The image has been unloaded. @retval EFI_UNSUPPORTED The image has been started, and does n= ot support unload. - @retval EFI_INVALID_PARAMPETER ImageHandle is not a valid image handl= e. + @retval EFI_INVALID_PARAMETER ImageHandle is not a valid image handl= e. =20 **/ EFI_STATUS --=20 2.28.0.windows.1