edk2/MdeModulePkg/Core
Kun Qin 003873db21 MdeModulePkg: PiSmmIpl: Fix physical address dereferencing
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>
2025-04-21 06:07:39 +00:00
..
Dxe MdeModulePkg/Core: Add Hot Pluggable type to Attribute Conversion Table 2025-03-31 07:49:33 +00:00
DxeIplPeim MdeModulePkg/DxeIplPeim: Free scratch buffer after FV extraction 2024-12-06 10:17:16 +00:00
Pei MdeModulePkg: PeiMain: fix warning about uninitialized variable 2025-01-29 17:20:57 +01:00
PiSmmCore MdeModulePkg: PiSmmIpl: Fix physical address dereferencing 2025-04-21 06:07:39 +00:00
RuntimeDxe MdeModulePkg: Align RuntimeDxe function headers with UEFI return values 2024-02-09 22:16:32 +00:00