diff options
author | Ard Biesheuvel <ard.biesheuvel@arm.com> | 2020-04-18 18:45:13 +0200 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-05-12 19:23:44 +0000 |
commit | 9ad2b981bd6469b163ec0c177c9d549bfe22147f (patch) | |
tree | 3cbc0745cee447be2c9d0808fea50e6794dd18e7 /BaseTools/Source/Python/Ecc | |
parent | c857042471c58a6e0da4959edde27dc2cd685efe (diff) | |
download | edk2-9ad2b981bd6469b163ec0c177c9d549bfe22147f.tar.gz edk2-9ad2b981bd6469b163ec0c177c9d549bfe22147f.tar.bz2 edk2-9ad2b981bd6469b163ec0c177c9d549bfe22147f.zip |
MdeModulePkg/SmmIpl: expose MM communicate 2 protocol
The MM communicate 2 protocol was introduced to factor out the mismatch
between traditional MM, which requires the physical address of the MM
buffer to be passed, and standalone MM, which copies the MM communicate
buffer data into a separate buffer, requiring the virtual address. For
this reason, MM communicate 2 carries both addresses, allowing the
implementation to decide which address it needs.
This hides this implementation detail from the callers of the protocol,
which simply passes both addresses without having to reason about what the
implementation of the protocol actually needs.
Note that the old version of the protocol is retained, in order to support
existing implementations that don't require this flexibility.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@arm.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Diffstat (limited to 'BaseTools/Source/Python/Ecc')
0 files changed, 0 insertions, 0 deletions