summaryrefslogtreecommitdiffstats
path: root/OvmfPkg/Library/XenPlatformLib
diff options
context:
space:
mode:
authorKun Qin <kuqin@microsoft.com>2025-04-18 11:10:23 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-04-21 06:07:39 +0000
commit003873db2133612006e4caa8e67684e7c866c550 (patch)
tree6ab62a6f3cc11c9a2376ea539ec3418672a7bd4a /OvmfPkg/Library/XenPlatformLib
parent2e85d12685b950dc8ff54130f9d623a120f852d6 (diff)
downloadedk2-master.tar.gz
edk2-master.tar.bz2
edk2-master.zip
MdeModulePkg: PiSmmIpl: Fix physical address dereferencingHEADmaster
With current implemenation, all 3 SmmCommunication* functions go through the same routine, which will dereference the incoming pointer to inspect whether this is a V3 buffer or not. However, the caller always pass in the physical addresses, which could cause the system to page fault after OS take over the runtime control. This change reverted the common routine to its previous form to handle MM communicate v1 and v2. Additionally, a specific communicate function for v3 was created to support MM communicate v3. Co-authored-by: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'OvmfPkg/Library/XenPlatformLib')
0 files changed, 0 insertions, 0 deletions