diff options
author | Michael Brown | 2024-03-25 17:24:24 +0100 |
---|---|---|
committer | Michael Brown | 2024-03-25 18:58:33 +0100 |
commit | a15ce00182a8b2e0dfd43b81a3b2936cae339838 (patch) | |
tree | 19a50d0688447247f092663b42bd26d21c2b370d /src/include/ipxe/errfile.h | |
parent | [efi] Set current working URI from our own device path URI, if present (diff) | |
download | ipxe-a15ce00182a8b2e0dfd43b81a3b2936cae339838.tar.gz ipxe-a15ce00182a8b2e0dfd43b81a3b2936cae339838.tar.xz ipxe-a15ce00182a8b2e0dfd43b81a3b2936cae339838.zip |
[efi] Match chainloaded device by uppermost matching handle
Commit 4c5b794 ("[efi] Use the SNP protocol instance to match the SNP
chainloading device") switched the chainloaded device matching logic
to use a target protocol instance rather than the loaded image's
device handle, on the basis that we want to bind to the parent SNP
device rather than to a duplicate SNP protocol instance installed onto
an IPv4 or IPv6 child device handle.
It is possible that our calls to DisconnectController() and
ConnectController() will cause the target protocol instance to be
uninstalled and reinstalled, which may change the value of the
protocol instance pointer. Allow for this by identifying and matching
against the uppermost handle that initially has this target protocol
instance installed.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/errfile.h')
0 files changed, 0 insertions, 0 deletions