edk2/MdeModulePkg
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
..
Application CapsuleApp: Fix proper return after capsule update 2025-03-13 02:36:57 +00:00
Bus MdeModulePkg/UsbMassStorageDxe: Remove excessive logging 2025-04-16 01:27:39 +00:00
Core MdeModulePkg: PiSmmIpl: Fix physical address dereferencing 2025-04-21 06:07:39 +00:00
Include MdeModulePkg: Update MM buffer structs alignment 2025-04-14 08:44:05 +00:00
Library MdeModulePkg: Add two new APIs in BaseHobLibNull 2025-04-18 03:48:07 +00:00
Logo MdeModulePkg/Logo: Add LoongArch64 architecture. 2022-10-14 02:16:33 +00:00
Test Add MockVariablePolicyHelperLib 2025-02-07 18:43:32 +00:00
Universal MdeModulePkg/PlatformDriOverrideDxe:Fix typos 2025-04-17 11:14:09 +08:00
MdeModulePkg.ci.yaml MdeModulePkg: Add duplicate exception for gUiAppFileGuid 2025-03-06 14:18:10 +01:00
MdeModulePkg.dec MdeModulePkg: ArmFfaLib: Move Rx/Tx hob definition to Include/Guid folder 2025-04-10 17:52:48 +00:00
MdeModulePkg.dsc ArmPkg: ArmFfaLib: Move ArmFfaLib implementation to MdeModulePkg 2025-04-10 17:52:48 +00:00
MdeModulePkg.uni MdeModulePkg/AcpiTableDxe: PCD switch to avoid using ACPI reclaim memory 2024-04-09 07:03:08 +00:00
MdeModulePkgExtra.uni MdeModulePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:08 -07:00