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
2015-05-05 20:58:20 -06: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
2016-01-20 19:06:23 -07:00
2020-02-05 19:33:46 -07:00
2020-05-25 11:54:53 -04:00
2019-04-23 20:26:43 -06: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
2019-02-20 15:27:09 +08: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
2018-12-05 06:01:35 -07:00
2017-07-23 09:24:47 -04:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2020-05-18 18:36:55 -04:00
2019-08-11 16:43:41 -04:00
2001-11-03 22:15:16 +00: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
2008-10-18 21:54:03 +02: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
2008-05-21 00:14:08 +02:00
2020-05-18 17:33:31 -04:00
2016-08-17 10:25:35 +09:00
2018-07-19 16:31:37 -04:00
2020-02-05 19:33:46 -07:00
2019-02-01 16:59:12 +01:00
2019-05-21 17:33:23 -06:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06:00
2020-01-21 15:56:15 +01:00
2020-04-24 16:40:09 -04:00
2018-09-28 18:26:32 +02:00
2020-05-18 21:19:18 -04:00