Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 003873db2133612006e4caa8e67684e7c866c550 https://github.com/tianocore/edk2/commit/003873db2133612006e4caa8e67684e7c866c550 Author: Kun Qin <ku...@microsoft.com> Date: 2025-04-21 (Mon, 21 Apr 2025)
Changed paths: M MdeModulePkg/Core/PiSmmCore/PiSmmIpl.c Log Message: ----------- 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.kin...@intel.com> Signed-off-by: Kun Qin <kun....@microsoft.com> To unsubscribe from these emails, change your notification settings at https://github.com/tianocore/edk2/settings/notifications _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits