diff options
author | Michael Kubacki <michael.kubacki@microsoft.com> | 2020-04-09 11:16:20 -0700 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2020-04-17 17:34:33 +0000 |
commit | ca08f3d4533caf152170fe9ec0ce585e452d995e (patch) | |
tree | 632a52d1069ff9029c0e3fea9e549406df7c5057 /BaseTools/Source/Python/Common/VpdInfoFile.py | |
parent | c884b23ac40a1b1f56e21ebbb1f602fa2e0f05c9 (diff) | |
download | edk2-ca08f3d4533caf152170fe9ec0ce585e452d995e.tar.gz edk2-ca08f3d4533caf152170fe9ec0ce585e452d995e.tar.bz2 edk2-ca08f3d4533caf152170fe9ec0ce585e452d995e.zip |
NetworkPkg/SnpDxe: Register SnpNotifyExitBootServices at TPL_CALLBACK
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=1562
The current SnpDxe implementation registers its ExitBootServices event
notification function (SnpNotifyExitBootServices ()) at TPL_NOTIFY. This
function calls PxeShutdown() which issues an UNDI shutdown operation.
Ultimately, this may invoke Shutdown() in EFI_SIMPLE_NETWORK_PROTOCOL.
The UEFI specification 2.8A Table 27 "TPL Restrictions" restricts the
TPL
for Simple Network Protocol to <= TPL_CALLBACK. In addition, it has been
observed in some 3rd party UNDI drivers to cause an issue further down
the call stack if the TPL is higher than TPL_CALLBACK on invocation.
Therefore, this commit changes the TPL of SnpNotifyExitBootServices() to
TPL_CALLBACK.
Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Maciej Rabeda <maciej.rabeda@linux.intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/VpdInfoFile.py')
0 files changed, 0 insertions, 0 deletions