efi_loader: check device path in InstallMultipleProtocolInterfaces
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 16 May 2019 19:54:04 +0000 (21:54 +0200)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 19 May 2019 06:10:10 +0000 (08:10 +0200)
commit226cddbe32f0bc0df92aaaa5500a5c1f4eabf8dc
tree16e087b367f0572cfc864c0003c56545653a3a72
parentb1b782d30608701d1901c1a83702ee9671a1d012
efi_loader: check device path in InstallMultipleProtocolInterfaces

According to the UEFI spec InstallMultipleProtocolInterfaces() must check
if a device path has already been installed. In this case it must return
EFI_ALREADY_STARTED.

Cf. UEFI SCT II 2.6 A (2017),
3.3.16 InstallMultipleProtocolInterfaces(), 5.1.3.16.1.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_boottime.c