<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Verdana;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Jeff,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This just needs to be pushed by a maintainer.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Edhaya, Barton, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can you please push the commit?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">--Samer<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Jeff Brasen <jbrasen@nvidia.com> <br>
<b>Sent:</b> Monday, October 5, 2020 5:26 PM<br>
<b>To:</b> Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>; devel@edk2.groups.io; Laszlo Ersek <lersek@redhat.com><br>
<b>Cc:</b> eric.jin@intel.com; G Edhaya Chandran <Edhaya.Chandran@arm.com><br>
<b>Subject:</b> RE: [edk2-devel] [PATCH] uefi-sct/SctPkg: Correct issue with memory protection enabled.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Are we looking for any other reviews on this?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Jeff<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> Samer El-Haj-Mahmoud <<a href="mailto:Samer.El-Haj-Mahmoud@arm.com">Samer.El-Haj-Mahmoud@arm.com</a>>
<br>
<b>Sent:</b> Tuesday, September 29, 2020 8:05 AM<br>
<b>To:</b> <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>; Jeff Brasen <<a href="mailto:jbrasen@nvidia.com">jbrasen@nvidia.com</a>>; Laszlo Ersek <<a href="mailto:lersek@redhat.com">lersek@redhat.com</a>><br>
<b>Cc:</b> <a href="mailto:eric.jin@intel.com">eric.jin@intel.com</a>; G Edhaya Chandran <<a href="mailto:Edhaya.Chandran@arm.com">Edhaya.Chandran@arm.com</a>>; Samer El-Haj-Mahmoud <<a href="mailto:Samer.El-Haj-Mahmoud@arm.com">Samer.El-Haj-Mahmoud@arm.com</a>><br>
<b>Subject:</b> RE: [edk2-devel] [PATCH] uefi-sct/SctPkg: Correct issue with memory protection enabled.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<table class="MsoNormalTable" border="1" cellpadding="0" style="background:#FFEB9C">
<tbody>
<tr>
<td style="padding:.75pt .75pt .75pt .75pt">
<p class="MsoNormal"><b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">External email: Use caution opening links or attachments</span></b><span style="font-size:7.5pt;font-family:"Verdana",sans-serif;color:black">
</span><o:p></o:p></p>
</td>
</tr>
</tbody>
</table>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Jeff,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks for the patch. I will send a patch to move the Maintainers.txt one level up for consistency with other TianoCore repos.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Reviewed-By Samer El-Haj-Mahmoud <<a href="mailto:Samer.El-Haj-Mahmoud@arm.com">Samer.El-Haj-Mahmoud@arm.com</a>><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a> <<a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>>
<b>On Behalf Of </b>Jeff Brasen via groups.io<br>
<b>Sent:</b> Wednesday, September 23, 2020 11:56 AM<br>
<b>To:</b> Laszlo Ersek <<a href="mailto:lersek@redhat.com">lersek@redhat.com</a>>;
<a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a><br>
<b>Cc:</b> <a href="mailto:eric.jin@intel.com">eric.jin@intel.com</a>; G Edhaya Chandran <<a href="mailto:Edhaya.Chandran@arm.com">Edhaya.Chandran@arm.com</a>><br>
<b>Subject:</b> Re: [edk2-devel] [PATCH] uefi-sct/SctPkg: Correct issue with memory protection enabled.<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black">Didn't see it at first as it was not at the top of edk2-test but under uefi-sct. CC'd maintainers<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div id="Signature">
<div>
<p>Thanks,<o:p></o:p></p>
<p>Jeff<o:p></o:p></p>
</div>
</div>
</div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="98%" align="center">
</div>
<div id="divRplyFwdMsg">
<p class="MsoNormal"><b><span style="color:black">From:</span></b><span style="color:black"> Laszlo Ersek <<a href="mailto:lersek@redhat.com">lersek@redhat.com</a>><br>
<b>Sent:</b> Wednesday, September 23, 2020 2:59 AM<br>
<b>To:</b> <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a> <<a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>>; Jeff Brasen <<a href="mailto:jbrasen@nvidia.com">jbrasen@nvidia.com</a>><br>
<b>Subject:</b> Re: [edk2-devel] [PATCH] uefi-sct/SctPkg: Correct issue with memory protection enabled.</span>
<o:p></o:p></p>
<div>
<p class="MsoNormal"> <o:p></o:p></p>
</div>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">External email: Use caution opening links or attachments<br>
<br>
<br>
On 09/23/20 00:13, Jeff Brasen wrote:<br>
> Any comments on this change?<br>
<br>
I suggest CC'ing the maintainers responsible for reviewing this change.<br>
(I don't know who they are, unfortunately -- is there a Maintainers.txt<br>
file in the uefi-sct tree?)<br>
<br>
Thanks<br>
Laszlo<br>
<br>
><br>
><br>
> Thanks,<br>
><br>
> Jeff<br>
><br>
> ________________________________<br>
> From: Jeff Brasen <<a href="mailto:jbrasen@nvidia.com">jbrasen@nvidia.com</a>><br>
> Sent: Friday, September 11, 2020 11:23 AM<br>
> To: <a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a> <<a href="mailto:devel@edk2.groups.io">devel@edk2.groups.io</a>><br>
> Cc: Jeff Brasen <<a href="mailto:jbrasen@nvidia.com">jbrasen@nvidia.com</a>><br>
> Subject: [PATCH] uefi-sct/SctPkg: Correct issue with memory protection enabled.<br>
><br>
> On systems with memory protection enabled the modification of local<br>
> function initialization data results in permission issue. Make a copy of<br>
> data prior to modification.<br>
><br>
> Signed-off-by: Jeff Brasen <<a href="mailto:jbrasen@nvidia.com">jbrasen@nvidia.com</a>><br>
> ---<br>
>  .../UnicodeCollationBBTestFunction.c          | 38 ++++++++++---------<br>
>  .../UnicodeCollation2BBTestFunction.c         | 38 ++++++++++---------<br>
>  2 files changed, 42 insertions(+), 34 deletions(-)<br>
><br>
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation/BlackBoxTest/UnicodeCollationBBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation/BlackBoxTest/UnicodeCollationBBTestFunction.c<br>
> index 6fa11e6c..e0b4c1d9 100644<br>
> --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation/BlackBoxTest/UnicodeCollationBBTestFunction.c<br>
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation/BlackBoxTest/UnicodeCollationBBTestFunction.c<br>
> @@ -25,7 +25,7 @@ Abstract:<br>
>  --*/<br>
><br>
><br>
><br>
><br>
><br>
> -#include "SctLib.h"<br>
> +#include "SctLib.h"<br>
><br>
>  #include "UnicodeCollationBBTestMain.h"<br>
><br>
><br>
><br>
><br>
><br>
> @@ -337,6 +337,7 @@ BBTestStrLwrFunctionAutoTest (<br>
>                                          };<br>
><br>
><br>
><br>
>    CHAR16                               TestDataSav[MAX_SIZE_OF_STRING + 1];<br>
><br>
> +  CHAR16                               TestDataRw[MAX_SIZE_OF_STRING + 1];<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> @@ -368,14 +369,15 @@ BBTestStrLwrFunctionAutoTest (<br>
>      //<br>
><br>
>      // Backup current test data<br>
><br>
>      //<br>
><br>
> +    CopyUnicodeString (TestDataRw, TestData[Index]);<br>
><br>
>      CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
><br>
><br>
>      //<br>
><br>
>      // For each test data, test the StrLwr functionality.<br>
><br>
>      //<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrLwr (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrLwr (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -390,15 +392,15 @@ BBTestStrLwrFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
><br>
><br>
><br>
><br>
> -    CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataSav, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrEql (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrEql (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -413,7 +415,7 @@ BBTestStrLwrFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
>    };<br>
><br>
><br>
><br>
> @@ -458,6 +460,7 @@ BBTestStrUprFunctionAutoTest (<br>
>                                          };<br>
><br>
><br>
><br>
>    CHAR16                               TestDataSav[MAX_SIZE_OF_STRING + 1];<br>
><br>
> +  CHAR16                               TestDataRw[MAX_SIZE_OF_STRING + 1];<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> @@ -490,13 +493,14 @@ BBTestStrUprFunctionAutoTest (<br>
>      // Backup current test data<br>
><br>
>      //<br>
><br>
>      CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataRw, TestData[Index]);<br>
><br>
><br>
><br>
>      //<br>
><br>
>      // For each test data, test the StrUpr functionality.<br>
><br>
>      //<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrUpr (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrUpr (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -511,14 +515,14 @@ BBTestStrUprFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
><br>
><br>
> -    CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataSav, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrEql (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrEql (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -533,7 +537,7 @@ BBTestStrUprFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
>    };<br>
><br>
><br>
><br>
> diff --git a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation2/BlackBoxTest/UnicodeCollation2BBTestFunction.c b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation2/BlackBoxTest/UnicodeCollation2BBTestFunction.c<br>
> index 653b263a..19ff6764 100644<br>
> --- a/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation2/BlackBoxTest/UnicodeCollation2BBTestFunction.c<br>
> +++ b/uefi-sct/SctPkg/TestCase/UEFI/EFI/Protocol/UnicodeCollation2/BlackBoxTest/UnicodeCollation2BBTestFunction.c<br>
> @@ -25,7 +25,7 @@ Abstract:<br>
>  --*/<br>
><br>
><br>
><br>
><br>
><br>
> -#include "SctLib.h"<br>
> +#include "SctLib.h"<br>
><br>
>  #include "UnicodeCollation2BBTestMain.h"<br>
><br>
><br>
><br>
>  STATIC CONST STRICOLL_TEST_DATA_FIELD             mStriCollTestData[] ={<br>
><br>
> @@ -335,6 +335,7 @@ BBTestStrLwrFunctionAutoTest (<br>
>                                          };<br>
><br>
><br>
><br>
>    CHAR16                               TestDataSav[MAX_SIZE_OF_STRING + 1];<br>
><br>
> +  CHAR16                               TestDataRw[MAX_SIZE_OF_STRING + 1];<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> @@ -367,13 +368,14 @@ BBTestStrLwrFunctionAutoTest (<br>
>      // Backup current test data<br>
><br>
>      //<br>
><br>
>      CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataRw, TestData[Index]);<br>
><br>
><br>
><br>
>      //<br>
><br>
>      // For each test data, test the StrLwr functionality.<br>
><br>
>      //<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrLwr (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrLwr (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -388,15 +390,15 @@ BBTestStrLwrFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
><br>
><br>
><br>
><br>
> -    CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataSav, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrEql (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrEql (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -411,7 +413,7 @@ BBTestStrLwrFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
>    };<br>
><br>
><br>
><br>
> @@ -456,6 +458,7 @@ BBTestStrUprFunctionAutoTest (<br>
>                                          };<br>
><br>
><br>
><br>
>    CHAR16                               TestDataSav[MAX_SIZE_OF_STRING + 1];<br>
><br>
> +  CHAR16                               TestDataRw[MAX_SIZE_OF_STRING + 1];<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
> @@ -488,13 +491,14 @@ BBTestStrUprFunctionAutoTest (<br>
>      // Backup current test data<br>
><br>
>      //<br>
><br>
>      CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataRw, TestData[Index]);<br>
><br>
><br>
><br>
>      //<br>
><br>
>      // For each test data, test the StrUpr functionality.<br>
><br>
>      //<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrUpr (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrUpr (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -509,14 +513,14 @@ BBTestStrUprFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
><br>
><br>
> -    CopyUnicodeString (TestDataSav, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrLwr (UnicodeCollation, TestData[Index]);<br>
><br>
> -    UnicodeCollation->StrUpr (UnicodeCollation, TestData[Index]);<br>
><br>
> +    CopyUnicodeString (TestDataSav, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrLwr (UnicodeCollation, TestDataRw);<br>
><br>
> +    UnicodeCollation->StrUpr (UnicodeCollation, TestDataRw);<br>
><br>
><br>
><br>
> -    if (CheckStrEql (TestDataSav, TestData[Index])) {<br>
><br>
> +    if (CheckStrEql (TestDataSav, TestDataRw)) {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_PASSED;<br>
><br>
>      } else {<br>
><br>
>        AssertionType = EFI_TEST_ASSERTION_FAILED;<br>
><br>
> @@ -531,7 +535,7 @@ BBTestStrUprFunctionAutoTest (<br>
>                     __FILE__,<br>
><br>
>                     (UINTN)__LINE__,<br>
><br>
>                     TestDataSav,<br>
><br>
> -                   TestData[Index]<br>
><br>
> +                   TestDataRw<br>
><br>
>                     );<br>
><br>
>    };<br>
><br>
><br>
><br>
> --<br>
> 2.25.1<br>
><br>
><br>
><br>
> <br>
><br>
><br>
><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"></o:p></span></p>
</div>
<p class="MsoNormal">IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person,
 use it for any purpose, or store or copy the information in any medium. Thank you.
<o:p></o:p></p>
</div>
</div>
</div>
IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose,
 or store or copy the information in any medium. Thank you.
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr> Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/67308">View/Reply Online (#67308)</a> |    |  <a target="_blank" href="https://groups.io/mt/76784632/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>