aboutsummaryrefslogtreecommitdiff
path: root/include/efi_api.h
diff options
context:
space:
mode:
authorSunil V L2022-01-28 20:48:44 +0530
committerHeinrich Schuchardt2022-01-29 10:23:40 +0100
commit1ccf87165e38cb32f2444d8fd4b3e4d8ea13928e (patch)
tree5d71747769a48b09f22cf17fa21d4fdd4c1c640b /include/efi_api.h
parent9e63786e2b4b35587da2050c180111e9bd1e3a23 (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 <sunilvl@ventanamicro.com> Reviewed-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Diffstat (limited to 'include/efi_api.h')
-rw-r--r--include/efi_api.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/efi_api.h b/include/efi_api.h
index 8d5d835bd01..f123d0557c6 100644
--- a/include/efi_api.h
+++ b/include/efi_api.h
@@ -438,6 +438,10 @@ struct efi_runtime_services {
EFI_GUID(0x607f766c, 0x7455, 0x42be, 0x93, \
0x0b, 0xe4, 0xd7, 0x6d, 0xb2, 0x72, 0x0f)
+#define RISCV_EFI_BOOT_PROTOCOL_GUID \
+ EFI_GUID(0xccd15fec, 0x6f73, 0x4eec, 0x83, \
+ 0x95, 0x3e, 0x69, 0xe4, 0xb9, 0x40, 0xbf)
+
/**
* struct efi_configuration_table - EFI Configuration Table
*