Ilias Apalodimas
05c4c9e21a
efi_loader: define internal implementations of install/uninstallmultiple
...
A following patch is cleaning up the core EFI code trying to remove
sequences of efi_create_handle, efi_add_protocol.
Although this works fine there's a problem with the latter since it is
usually combined with efi_delete_handle() which blindly removes all
protocols on a handle and deletes the handle. We should try to adhere to
the EFI spec which only deletes a handle if the last instance of a protocol
has been removed. Another problem is that efi_delete_handle() never checks
for opened protocols, but the EFI spec defines that the caller is
responsible for ensuring that there are no references to a protocol
interface that is going to be removed.
So let's fix this by replacing all callsites of
efi_create_handle(), efi_add_protocol() , efi_delete_handle() with
Install/UninstallMultipleProtocol.
In order to do that redefine functions that can be used by the U-Boot
proper internally and add '_ext' variants that will be used from the
EFI API
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org >
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de >
2022-10-06 22:54:58 +02:00
..
2022-09-29 16:09:56 -04:00
2022-07-18 09:37:50 +01:00
2022-10-06 10:13:38 +02:00
2022-07-05 14:37:16 +02:00
2022-09-29 22:43:43 -04:00
2022-09-23 15:09:16 -04:00
2022-06-06 18:01:21 -04:00
2022-09-18 10:26:33 +02:00
2022-08-04 16:18:47 -04:00
2022-07-11 14:58:57 -04:00
2022-09-29 16:07:57 -04:00
2022-09-29 22:43:43 -04:00
2022-07-21 10:14:04 +02:00
2022-09-19 17:45:51 +02:00
2022-09-24 10:47:01 -04:00
2022-07-26 02:30:56 -06:00
2022-07-21 10:14:04 +02:00
2022-06-28 03:09:52 +01:00
2022-08-12 08:14:23 -04:00
2022-09-25 08:30:05 -06:00
2022-06-28 03:09:51 +01:00
2022-07-07 14:01:09 -04:00
2022-04-25 10:00:04 -04:00
2022-08-12 08:17:11 -04:00
2022-09-29 16:07:57 -04:00
2022-08-12 08:17:11 -04:00
2022-08-20 18:07:32 -06:00
2022-08-12 08:17:11 -04:00
2022-07-21 10:14:04 +02:00
2022-05-28 10:59:27 +02:00
2022-08-11 08:47:20 -04:00
2022-08-10 13:46:55 -04:00
2022-09-19 16:07:12 -04:00
2022-06-06 12:09:06 -04:00
2022-07-05 17:04:15 -04:00
2022-09-18 10:26:28 +02:00
2022-08-10 13:46:55 -04:00
2022-04-25 10:00:04 -04:00
2022-09-03 10:13:26 +02:00
2022-09-14 08:43:32 +02:00
2022-06-12 09:17:54 +02:00
2022-10-06 22:54:58 +02:00
2022-10-06 22:54:58 +02:00
2022-09-09 16:07:54 +02:00
2022-10-06 22:54:58 +02:00
2022-06-17 14:12:27 +02:00
2022-04-25 10:00:04 -04:00
2022-06-28 17:11:49 -04:00
2022-09-29 16:07:58 -04:00
2022-09-12 06:41:14 -06:00
2022-08-04 16:18:47 -04:00
2022-07-26 09:34:21 +02:00
2022-07-21 10:14:04 +02:00
2022-08-31 12:16:01 -04:00
2022-08-12 16:10:49 -04:00
2022-04-26 17:18:39 +05:30
2022-07-26 11:29:00 +02:00
2022-07-05 17:04:00 -04:00
2022-05-19 21:39:36 +02:00
2022-07-05 17:04:00 -04:00
2022-06-23 12:58:18 -04:00
2022-04-22 10:35:14 +02:00
2022-06-08 13:59:53 -04:00
2022-07-05 17:03:01 -04:00
2022-06-28 17:03:32 -04:00
2022-09-29 16:07:57 -04:00
2022-07-26 11:29:02 +02:00
2022-07-26 11:29:01 +02:00
2022-07-25 15:35:34 +02:00
2022-09-23 15:12:42 -04:00
2022-06-10 13:37:32 -04:00
2022-06-10 13:37:32 -04:00
2022-07-07 09:29:08 -04:00
2022-04-28 09:26:44 -04:00
2022-06-23 12:58:18 -04:00
2022-08-10 13:38:30 -04:00
2022-09-29 16:07:57 -04:00
2022-09-29 16:07:58 -04:00
2022-09-14 08:43:31 +02:00
2022-05-04 07:05:51 +02:00
2022-09-16 11:05:16 -04:00
2022-08-20 22:45:00 -04:00
2022-06-06 12:09:12 -04:00
2022-08-08 10:49:51 -04:00
2022-08-08 10:50:20 -04:00
2022-06-08 14:00:22 -04:00
2022-08-12 08:14:23 -04:00
2022-09-24 10:47:01 -04:00
2022-05-06 14:39:15 -04:00
2022-05-03 18:33:29 -04:00
2022-05-23 13:52:02 -04:00
2022-08-08 10:50:20 -04:00
2022-07-08 12:20:28 -04:00
2022-05-05 15:06:02 -04:00
2022-04-23 22:05:33 +02:00
2022-06-23 13:12:55 -04:00
2022-06-23 13:12:55 -04:00
2022-09-25 13:59:38 -06:00
2022-09-25 08:30:05 -06:00
2022-09-24 11:34:37 -04:00
2022-05-23 09:33:10 -04:00
2022-09-13 12:08:40 -04:00
2022-05-23 09:33:10 -04:00
2022-09-29 16:07:57 -04:00
2022-09-24 10:47:01 -04:00
2022-09-24 10:47:01 -04:00
2022-06-06 12:09:28 -04:00
2022-09-13 16:01:43 -04:00
2022-09-03 16:53:58 +03:00
2022-09-03 16:59:05 +03:00
2022-09-03 16:59:05 +03:00
2022-07-12 21:59:54 +02:00
2022-08-12 08:17:11 -04:00
2022-07-26 09:34:21 +02:00
2022-08-12 08:14:23 -04:00
2022-06-08 09:24:03 -04:00
2022-04-25 10:00:03 -04:00
2022-09-18 10:26:33 +02:00
2022-09-18 10:26:49 +02:00
2022-07-26 09:34:21 +02:00
2022-07-26 08:36:20 +02:00
2022-07-26 09:34:21 +02:00