summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown2015-04-13 13:06:59 +0200
committerMichael Brown2015-04-13 13:06:59 +0200
commit755d2b8f6be681a2e620534b237471b75f28ed8c (patch)
tree588c9462c8ba38b25a99350eb3494ba07ccc02d5 /src/tests
parent[crypto] Add SHA-512/224 algorithm (diff)
downloadipxe-755d2b8f6be681a2e620534b237471b75f28ed8c.tar.gz
ipxe-755d2b8f6be681a2e620534b237471b75f28ed8c.tar.xz
ipxe-755d2b8f6be681a2e620534b237471b75f28ed8c.zip
[efi] Ensure drivers are disconnected when ExitBootServices() is called
We hook the UEFI ExitBootServices() event and use it to trigger a call to shutdown_boot(). This does not automatically cause drivers to be disconnected from their devices, since device enumeration is now handled by the UEFI core rather than by iPXE. (Under the old and dubiously compatible device model, iPXE used to perform its own device enumeration and so the call to shutdown_boot() would indeed have caused drivers to be disconnected.) Fix by replicating parts of the dummy "EFI root device" from efiprefix.c to efidrvprefix.c, so that the call to shutdown_boot() will call efi_driver_disconnect_all(). Originally-fixed-by: Laszlo Ersek <lersek@redhat.com> Tested-by: Laszlo Ersek <lersek@redhat.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions