audk/NetworkPkg
Rabeda, Maciej 61bb6eeb4d NetworkPkg/SnpDxe: Add PCD to remove ExitBootServices event from SNP driver.
Patch addresses Bugzilla #1974.

During ExitBootServices stage, drivers should not call any
functions known to use Memory Allocation Services. One of such
functions (as per UEFI spec) is UNDI->Shutdown().

Since UNDI drivers during ExitBootServices phase are expected
to put the adapter to such a state that it will not perform any DMA
operations, there is no need to interface UNDI by SNP driver during
that phase.

Finally, since ExitBootServices event notification function in SNP
only calls UNDI->Shutdown() and Stop() functions, there is no need
to create this event at all. Adding PCD to control creation of event
reacting to ExitBootServices() call so that systems with UNDIs relying
on SNP to call their Shutdown() and Stop() can still work.

Change-Id: Idd76f26d2e8ff7cf88b2d75e2d524c74211f2e89
Reviewed-by: Siyuan Fu <siyuan.fu@intel.com>
Signed-off-by: Maciej Rabeda <maciej.rabeda@intel.com>
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
2019-10-21 14:50:51 +08:00
..
Application/VConfig
ArpDxe
Dhcp4Dxe
Dhcp6Dxe
DnsDxe
DpcDxe
HttpBootDxe
HttpDxe
HttpUtilitiesDxe
IScsiDxe
Include
Ip4Dxe
Ip6Dxe
Library
MnpDxe
Mtftp4Dxe
Mtftp6Dxe
SnpDxe NetworkPkg/SnpDxe: Add PCD to remove ExitBootServices event from SNP driver. 2019-10-21 14:50:51 +08:00
TcpDxe
TlsAuthConfigDxe
TlsDxe
Udp4Dxe
Udp6Dxe
UefiPxeBcDxe
VlanConfigDxe
WifiConnectionManagerDxe
Network.dsc.inc
Network.fdf.inc
NetworkComponents.dsc.inc
NetworkDefines.dsc.inc
NetworkLibs.dsc.inc
NetworkPcds.dsc.inc NetworkPkg: Add DSC/FDF include segment files to NetworkPkg. 2019-05-08 16:10:39 +08:00
NetworkPkg.dec NetworkPkg/SnpDxe: Add PCD to remove ExitBootServices event from SNP driver. 2019-10-21 14:50:51 +08:00
NetworkPkg.dsc
NetworkPkg.uni
NetworkPkgExtra.uni