Files
u-boot/include
Ilias Apalodimas e01aed47d6 efi_loader: Enable run-time variable support for tee based variables
We recently added functions for storing/restoring variables
from a file to a memory backed buffer marked as __efi_runtime_data
commit f1f990a8c9 ("efi_loader: memory buffer for variables")
commit 5f7dcf079d ("efi_loader: UEFI variable persistence")

Using the same idea we now can support GetVariable() and GetNextVariable()
on the OP-TEE based variables as well.

So let's re-arrange the code a bit and move the commmon code for
accessing variables out of efi_variable.c. Create common functions for
reading variables from memory that both implementations can use on
run-time. Then just use those functions in the run-time variants of the
OP-TEE based EFI variable implementation and initialize the memory
buffer on ExitBootServices()

Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2020-08-01 11:57:41 +02:00
..
2020-07-17 14:32:24 +08:00
2020-07-01 15:01:21 +08:00
2019-12-06 16:44:20 -05:00
2019-10-16 05:42:27 +02:00
2020-07-17 14:32:24 +08:00
2020-05-11 10:16:49 +05:30
2020-04-17 12:32:36 -04:00
2020-05-18 18:36:55 -04:00
2020-07-09 12:33:24 +08:00
2020-05-18 17:33:33 -04:00
2020-07-28 19:30:39 -06:00
2020-02-05 19:33:46 -07:00
2020-05-25 11:54:53 -04:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02:00
2020-05-07 09:01:42 -04:00
2020-05-18 21:19:23 -04:00
2020-05-18 17:33:33 -04:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2020-05-18 21:19:18 -04:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2020-07-27 14:24:15 +05:30
2019-11-07 18:39:16 -05:00
2020-05-18 18:36:55 -04:00
2020-04-17 12:32:36 -04:00
2020-07-09 18:57:22 -06:00
2019-12-02 18:23:11 -05:00
2020-01-25 12:04:36 -05:00
2020-06-12 13:17:23 -04:00
2020-02-05 19:33:46 -07:00
2020-07-17 14:32:24 +08:00
2020-05-18 17:33:33 -04:00
2020-07-17 10:47:19 -04:00
2020-06-14 21:07:20 +02:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-05-18 17:33:31 -04:00
2020-02-05 19:33:46 -07:00
2020-01-21 15:56:15 +01:00
2020-04-24 16:40:09 -04:00
2020-05-18 21:19:18 -04:00