audk/NetworkPkg/SnpDxe
joe 89d413731d 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 <aaronpop@microsoft.com>
2025-01-17 01:43:51 +00:00
..
Callback.c
ComponentName.c
Get_status.c NetworkPkg: Restore TPL Before Return 2024-11-22 19:45:03 +00:00
Initialize.c
Mcast_ip_to_mac.c
Nvdata.c
Receive.c
Receive_filters.c
Reset.c NetworkPkg/SnpDxe: return error for unsupported parameter 2024-09-02 22:17:12 +00:00
Shutdown.c
Snp.c NetworkPkg/SnpDxe: Shutdown SnpDxe on BeforeExitBootServices Event. 2025-01-17 01:43:51 +00:00
Snp.h
SnpDxe.inf NetworkPkg/SnpDxe: Shutdown SnpDxe on BeforeExitBootServices Event. 2025-01-17 01:43:51 +00:00
SnpDxe.uni
SnpDxeExtra.uni
Start.c
Station_address.c
Statistics.c
Stop.c
Transmit.c NetworkPkg: Restore TPL Before Return 2024-11-22 19:45:03 +00:00
WaitForPacket.c