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 "mMmMemLibInternalMmramCount" and "mMmMemLibInternalMmramRanges" was never initialized. I have a fix/change for x64 arch here: mu_basecore/StandaloneMmPkg/Library/StandaloneMmMemLib at personal/kuqin/standalone_x64 · kuqin12/mu_basecore (github.com). Please let me know how you think, otherwise I will send out patches for this library.

Regards,
Kun