diff options
| author | Ilias Apalodimas <[email protected]> | 2022-10-06 16:08:44 +0300 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-10-06 22:54:58 +0200 |
| commit | a75e8355eaa561ebd6128c92a90288d5d7c1f060 (patch) | |
| tree | dd64567f7dee81a24da8d6b66daa84230d262fb9 /doc/develop | |
| parent | 05c4c9e21ae6f45ba1091917fc55f3ebc3916909 (diff) | |
cmd: replace efi_create_handle/add_protocol with InstallMultipleProtocol
In general handles should only be deleted if the last remaining protocol
is removed. Instead of explicitly calling
efi_create_handle -> efi_add_protocol -> efi_delete_handle which blindly
removes all protocols from a handle before removing it, use
InstallMultiple/UninstallMultiple which adheres to the EFI spec and only
deletes a handle if there are no additional protocols present
Signed-off-by: Ilias Apalodimas <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'doc/develop')
0 files changed, 0 insertions, 0 deletions
