public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 0/1] Remove UNDI calls from SNP during ExitBootServices
@ 2019-10-14 12:37 Rabeda, Maciej
  2019-10-14 12:37 ` [PATCH v2 1/1] NetworkPkg/SnpDxe: Remove ExitBootServices event Rabeda, Maciej
  0 siblings, 1 reply; 4+ messages in thread
From: Rabeda, Maciej @ 2019-10-14 12:37 UTC (permalink / raw)
  To: devel; +Cc: Siyuan Fu, Jiaxin Wu

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1974

Removing calls to UNDI->Shutdown() and Stop() functions in ExitBootServices
event notification function. Since SNP event reacting to ExitBootServices
is only calling those two functions, there is no need to create that 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.

Cc: Siyuan Fu <siyuan.fu@intel.com>
Cc: Jiaxin Wu <jiaxin.wu@intel.com>

Maciej Rabeda (1):
  NetworkPkg/SnpDxe: Remove ExitBootServices event

 NetworkPkg/SnpDxe/Snp.c      | 38 +++++++++++---------
 NetworkPkg/NetworkPkg.dec    |  7 ++++
 NetworkPkg/SnpDxe/Snp.h      |  1 +
 NetworkPkg/SnpDxe/SnpDxe.inf |  3 ++
 4 files changed, 32 insertions(+), 17 deletions(-)

-- 
2.17.0.windows.1

--------------------------------------------------------------------

Intel Technology Poland sp. z o.o.
ul. Slowackiego 173 | 80-298 Gdansk | Sad Rejonowy Gdansk Polnoc | VII Wydzial Gospodarczy Krajowego Rejestru Sadowego - KRS 101882 | NIP 957-07-52-316 | Kapital zakladowy 200.000 PLN.

Ta wiadomosc wraz z zalacznikami jest przeznaczona dla okreslonego adresata i moze zawierac informacje poufne. W razie przypadkowego otrzymania tej wiadomosci, prosimy o powiadomienie nadawcy oraz trwale jej usuniecie; jakiekolwiek
przegladanie lub rozpowszechnianie jest zabronione.
This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). If you are not the intended recipient, please contact the sender and delete all copies; any review or distribution by
others is strictly prohibited.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-10-21 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-14 12:37 [PATCH v2 0/1] Remove UNDI calls from SNP during ExitBootServices Rabeda, Maciej
2019-10-14 12:37 ` [PATCH v2 1/1] NetworkPkg/SnpDxe: Remove ExitBootServices event Rabeda, Maciej
2019-10-21  2:41   ` Siyuan, Fu
2019-10-21 16:42     ` [edk2-devel] " Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox