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.2533.1628213593657081279 for ; Thu, 05 Aug 2021 18:33:13 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=bSdM7Q0U; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [167.220.2.74]) by linux.microsoft.com (Postfix) with ESMTPSA id 0E1F720B36EA; Thu, 5 Aug 2021 18:33:13 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 0E1F720B36EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1628213593; bh=W3+ccctYPrBARsf3eg6XZYyGKBoLyttlnwiZq8o6gJY=; h=From:To:Cc:Subject:Date:From; b=bSdM7Q0UzCVMccqmmkYbZiJU75pugDRDBwquqks8srhebbMrcKXcqebcJkKj9mMl0 b1DbqFeKJLvk0HPdlPrrh5L/HcLDLgQMbebVw0JrNqlCi4jM9loxlHia78gDOTprGy BWbSlOh/JcybR4Ljvt2Fm9MUMv9d7D924GANNKsg= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Chasel Chiu , Nate DeSimone , Liming Gao , Eric Dong Subject: [edk2-platforms][PATCH v2 0/5] MinPlatformPkg: TestPointCheckLib bug fixes and improvements Date: Thu, 5 Aug 2021 21:32:45 -0400 Message-Id: <20210806013250.2928-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.28.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Michael Kubacki REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3531 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3518 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3520 REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3D3521 This patch series groups together several bug fixes and improvements to TestPointCheckLib. The first patch is required for the others since it fixes a MinPlatformPkg build issue that occurs with the current edk2/master branch. V2 changes: 1. Added Reviewed-by replies received for v1 series 2. [v1 2/5]: Added a ZeroMem() for the ProtocolCapability buffer 3. [v1 3/5]: Added a #define for the byte index 6 parameter Cc: Chasel Chiu Cc: Nate DeSimone Cc: Liming Gao Cc: Eric Dong Signed-off-by: Michael Kubacki Michael Kubacki (5): MinPlatformPkg/TestPointCheckLib: Fix MessageLength cast issue MinPlatformPkg/TestPointCheckLib: Set required size field in protocol MinPlatformPkg/TestPointCheckLib: Fix incorrect array index MinPlatformPkg/TestPointCheckLib: Improve adjacent region checking MinPlatformPkg/TestPointCheckLib: Make OutTable parameter optional Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcp= i.c | 32 +++++------ Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckSmi= HandlerInstrument.c | 4 +- Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckSmm= Info.c | 56 ++++++++++---------- Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckTcg= TrustedBoot.c | 3 ++ Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeTestPoin= tCheckLib.c | 15 +++++- Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/SmmTestPoin= tCheckLib.c | 26 +++++---- Platform/Intel/MinPlatformPkg/Test/TestPointStubDxe/TestPointStubDxe.c = | 10 ++-- Platform/Intel/MinPlatformPkg/Include/Library/TestPointCheckLib.h = | 1 + Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeTestPoin= tCheckLib.inf | 2 + 9 files changed, 87 insertions(+), 62 deletions(-) --=20 2.28.0.windows.1