Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 89d413731dc99a509d4dc6e942e519ebdb0c3487
      
https://github.com/tianocore/edk2/commit/89d413731dc99a509d4dc6e942e519ebdb0c3487
  Author: joe <37425738+joelopez...@users.noreply.github.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M NetworkPkg/SnpDxe/Snp.c
    M NetworkPkg/SnpDxe/SnpDxe.inf

  Log Message:
  -----------
  NetworkPkg/SnpDxe: Shutdown SnpDxe on BeforeExitBootServices Event.

SnpDxe registers for an ExitBootServices callback and runs the
PXE_OPCODE_SHUTDOWN and PXE_OPCODE_STOP commands for any network
controllers that the driver is attached to.

Register the SnpDxe callback for gEfiEventBeforeExitBootServicesGuid
instead of gEfiEventExitBootServicesGuid to ensure the correct ordering:

1. ExitBootServices event
2. Network card shutdown sequence is completed

Also, close the event to prevent rerunning the shutdown if multiple
ExitBootServices events need to be called by the OS.

Signed-off-by: Aaron Pop <aaron...@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

Reply via email to