iPXE
sbi.h
Go to the documentation of this file.
1#ifndef CONFIG_DEFAULTS_SBI_H
2#define CONFIG_DEFAULTS_SBI_H
3
4/** @file
5 *
6 * Configuration defaults for RISC-V SBI
7 *
8 */
9
10FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
11
12#define IOAPI_RISCV
13#define UACCESS_OFFSET
14#define TIMER_ZICNTR
15#define ENTROPY_ZKR
16
17#if __riscv_xlen == 64
18#define IOMAP_SVPAGE
19#define DMAAPI_RISCV
20#else
21#define IOMAP_VIRT
22#define DMAAPI_FLAT
23#endif
24
25#define FDT_SBI
26#define REBOOT_SBI
27#define UMALLOC_UHEAP
28#define MEMMAP_FDT
29#define SERIAL_FDT
30
31#define ACPI_NULL
32#define MPAPI_NULL
33#define NAP_NULL
34#define PCIAPI_NULL
35#define SANBOOT_NULL
36#define SMBIOS_NULL
37#define TIME_NULL
38
39#endif /* CONFIG_DEFAULTS_SBI_H */
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896