Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 6d1bdc2b556a0082b92fbbcbf79dca35969be348
      
https://github.com/tianocore/edk2/commit/6d1bdc2b556a0082b92fbbcbf79dca35969be348
  Author: Diat Siah Yap <diat.siah....@intel.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M StandaloneMmPkg/Core/StandaloneMmCore.c
    M StandaloneMmPkg/Core/StandaloneMmCore.inf
    M StandaloneMmPkg/StandaloneMmPkg.dec

  Log Message:
  -----------
  StandaloneMmPkg: Produce StandaloneMM Entry/Exit Notify Protocol.

Produce StandaloneMM Entry/Exit Notify Protocol for PlatformHook.
This replaces the SMM core platform hook implementation in the
traditional SMM (Edk2\MdeModulePkg\Include\Library\SmmCorePlatformHookLib.h).
Unlike traditional SMM, Standalone MM prefers a more generic method to
perform platform-specific tasks before and after the SMI handler. Therefore,
it introduces the gMmEntryNotifyProtocolGuid and gMmExitNotifyProtocolGuid
protocols to notify the SMM entry and exit. This approach is more flexible
for the platform, eliminating the need to place all tasks in
PlatformHookBeforeSmmDispatch() and PlatformHookAfterSmmDispatch(), thus
platform code can depend on the protocol notification to perform
platform-specific tasks.

Signed-off-by: Diat Siah Yap <diat.siah....@intel.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

Reply via email to