From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: Re: [edk2-devel] VariablePolicy support in StandaloneMM To: Masahisa Kojima ,devel@edk2.groups.io From: "Kun Qin" X-Originating-Location: Bothell, Washington, US (50.35.88.161) X-Originating-Platform: Windows Chrome 87 User-Agent: GROUPS.IO Web Poster MIME-Version: 1.0 Date: Wed, 16 Dec 2020 09:52:21 -0800 References: In-Reply-To: Message-ID: <7951.1608141141379301226@groups.io> Content-Type: multipart/alternative; boundary="VbZdQjYJPtTmZphfp6aU" --VbZdQjYJPtTmZphfp6aU Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Masahisa, Thanks for sending the patches. A side note about " MmIsBufferOutsideMmValid ": I recently found that this= implementation will always return true for me because the " mMmMemLibInter= nalMmramCount " and " mMmMemLibInternalMmramRanges " was never initialized.= I have a fix/change for x64 arch here: mu_basecore/StandaloneMmPkg/Library= /StandaloneMmMemLib at personal/kuqin/standalone_x64 =C2=B7 kuqin12/mu_base= core (github.com) ( https://github.com/kuqin12/mu_basecore/tree/personal/ku= qin/standalone_x64/StandaloneMmPkg/Library/StandaloneMmMemLib ). Please let= me know how you think, otherwise I will send out patches for this library. Regards, Kun --VbZdQjYJPtTmZphfp6aU Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi Masahisa,

Thank= s for sending the patches.

A side note about "MmIsBufferOutsideMmValid": I recently found tha= t this implementation will always return true for me because the "mMmMemLibInterna= lMmramCount" and "mMmMemLibInternalMmramRanges" was never initialize= d. I have a fix/change for x64 arch here: mu_basecore/StandaloneMmPkg/Library/StandaloneMmM= emLib at personal/kuqin/standalone_x64 · kuqin12/mu_basecore (github= .com). Please let me know how you think, otherwise I will send out patc= hes for this library.

Regards,
Kun --VbZdQjYJPtTmZphfp6aU--