Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MdePkg: SmmMemLib: Added New Interface for Communicate Buffer Validation
Current MMI handlers would leverage SmmIsBufferOutsideSmmValid interface to validate the incoming communicate buffer. However, if/when SMM core would like to improve security level by copying the communicate buffer into TSEG before dispatching, these handlers will fail due to these changes. This change added new interface for traditional MM handlers to validate incoming communicate buffer, which should pave way for MM core to copy incoming buffer into TSEG prior to handler dispatching. The current implementation will remain to use SmmIsBufferOutsideSmmValid till Core has such functionality. The interface should be used and only used for validating communicate buffer upon dispatching. For other memory region validity check, handlers should still use SmmIsBufferOutsideSmmValid.
- Loading branch information