mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: add RuntimeServicesSupported variable
This variable is defined in UEFI specification 2.8, section 8.1. Its value should be updated whenever we add any usable runtime services function. Currently we only support SetVirtualAddress() for all systems and ResetSystem() for some. Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
c77d8e9d89
commit
e771b4b39e
4 changed files with 47 additions and 0 deletions
|
@ -573,6 +573,9 @@ static inline int guidcmp(const efi_guid_t *g1, const efi_guid_t *g2)
|
|||
#define __efi_runtime_data __attribute__ ((section (".data.efi_runtime")))
|
||||
#define __efi_runtime __attribute__ ((section (".text.efi_runtime")))
|
||||
|
||||
/* Indicate supported runtime services */
|
||||
efi_status_t efi_init_runtime_supported(void);
|
||||
|
||||
/* Update CRC32 in table header */
|
||||
void __efi_runtime efi_update_table_header_crc32(struct efi_table_hdr *table);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue