On 22/05/2019 11:40, Tomas Pilar (tpilar) wrote:
Yeah, I just AllocateCopyPool the static struct on heap for each device. I can
honestly see how one would assume that a protocol instance would never be
installed on more than one handle, same as I assumed that using a statically
allocated struct containing nothing but boilerplate info would also be fine.
The whole NII and UNDI drivers vs. SNP drivers compatibility across OEMs/IBVs and
IHVs is a painful trash fire and this is just the last problem in a very long line of
annoyances. </rant>
Thanks for writing up the end result. I can't immediately see any more
viable way for iPXE to determine the NII corresponding to the user's
concept of "the NIC from which I booted", but I'm open to suggestions.
Thanks again,
Michael
-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#41250): https://edk2.groups.io/g/devel/message/41250
Mute This Topic: https://groups.io/mt/31686860/21656
Group Owner: devel+ow...@edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-