1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * RISCV_EFI_BOOT_PROTOCOL
5 * Copyright (c) 2022 Ventana Micro Systems Inc
10 #define RISCV_EFI_BOOT_PROTOCOL_REVISION 0x00010000
13 * struct riscv_efi_boot_protocol - RISCV_EFI_BOOT_PROTOCOL
14 * @revision: Version of the protocol implemented
15 * @get_boot_hartid: Get the boot hart ID
17 struct riscv_efi_boot_protocol
{
20 efi_status_t (EFIAPI
* get_boot_hartid
) (struct riscv_efi_boot_protocol
*this,
21 efi_uintn_t
*boot_hartid
);
24 extern struct riscv_efi_boot_protocol riscv_efi_boot_prot
;