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) ( https://github.com/kuqin12/mu_basecore/tree/personal/kuqin/standalone_x64/StandaloneMmPkg/Library/StandaloneMmMemLib ). Please let me know how you think, otherwise I will send out patches for this library. Regards, Kun