Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 8d74a37944f9c4b53d83372c4078dde40e01e6b3
https://github.com/tianocore/edk2/commit/8d74a37944f9c4b53d83372c4078dde40e01e6b3
Author: Wei6 Xu <[email protected]>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M StandaloneMmPkg/Core/StandaloneMmCore.c
Log Message:
-----------
StandaloneMmPkg/Core: Reset IsCommBufferValid to FALSE before MMI exits
In current implementation of MmCommunication, caller (StandaloneMmIplPei
or MmCommunicationDxe) sets the IsCommBufferValid to TRUE and triggers
synchronous MMI, then caller resets IsCommBufferValid to FLASE after MMI
exits.
If asynchronous MMI happens before caller resets the IsCommBufferValid
to FALSE, StandaloneMmCore will mistakenly thought there is still a
synchronous MMI and then update incorrect values into ReturnStatus and
ReturnBufferSize.
To fix the above issue, StandaloneMmCore should reset IsCommBufferValid
to FALSE before MMI exits.
Cc: Ard Biesheuvel <[email protected]>
Cc: Sami Mujawar <[email protected]>
Cc: Ray Ni <[email protected]>
Cc: Jiaxin Wu <[email protected]>
Signed-off-by: Wei6 Xu <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits