Convert CONFIG_SYS_MONITOR_BASE to Kconfig
[platform/kernel/u-boot.git] / include / efi_riscv.h
1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /*
3  * RISCV_EFI_BOOT_PROTOCOL
4  *
5  * Copyright (c) 2022 Ventana Micro Systems Inc
6  */
7
8 #include <efi_api.h>
9
10 #define RISCV_EFI_BOOT_PROTOCOL_REVISION 0x00010000
11
12 /**
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
16  */
17 struct riscv_efi_boot_protocol {
18         u64 revision;
19
20         efi_status_t (EFIAPI * get_boot_hartid) (struct riscv_efi_boot_protocol *this,
21                                                  efi_uintn_t *boot_hartid);
22 };
23
24 extern struct riscv_efi_boot_protocol riscv_efi_boot_prot;