summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorjoe <37425738+JoeLopez333@users.noreply.github.com>2023-08-14 15:27:08 -0700
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-17 01:43:51 +0000
commit89d413731dc99a509d4dc6e942e519ebdb0c3487 (patch)
treeb25532bd8f1a1420ae33159313a61259db2a47cd /MdePkg
parentc1548908c9e0873c77a59ee647a7dd6bdf833acf (diff)
downloadedk2-89d413731dc99a509d4dc6e942e519ebdb0c3487.tar.gz
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>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions