diff options
| author | Sunil V L <[email protected]> | 2022-01-28 20:48:44 +0530 |
|---|---|---|
| committer | Heinrich Schuchardt <[email protected]> | 2022-01-29 10:23:40 +0100 |
| commit | 1ccf87165e38cb32f2444d8fd4b3e4d8ea13928e (patch) | |
| tree | 5d71747769a48b09f22cf17fa21d4fdd4c1c640b /include/efi_loader.h | |
| parent | 9e63786e2b4b35587da2050c180111e9bd1e3a23 (diff) | |
efi_loader: Enable RISCV_EFI_BOOT_PROTOCOL support
This adds support for new RISCV_EFI_BOOT_PROTOCOL to
communicate the boot hart ID to bootloader/kernel on RISC-V
UEFI platforms.
The specification of the protocol is hosted at:
https://github.com/riscv-non-isa/riscv-uefi
Signed-off-by: Sunil V L <[email protected]>
Reviewed-by: Heinrich Schuchardt <[email protected]>
Diffstat (limited to 'include/efi_loader.h')
| -rw-r--r-- | include/efi_loader.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/efi_loader.h b/include/efi_loader.h index 701efcd2b62..1fa75b40fea 100644 --- a/include/efi_loader.h +++ b/include/efi_loader.h @@ -527,6 +527,8 @@ efi_status_t efi_disk_register(void); efi_status_t efi_rng_register(void); /* Called by efi_init_obj_list() to install EFI_TCG2_PROTOCOL */ efi_status_t efi_tcg2_register(void); +/* Called by efi_init_obj_list() to install RISCV_EFI_BOOT_PROTOCOL */ +efi_status_t efi_riscv_register(void); /* Called by efi_init_obj_list() to do initial measurement */ efi_status_t efi_tcg2_do_initial_measurement(void); /* measure the pe-coff image, extend PCR and add Event Log */ |
