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 
10 FILE_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 CONSOLE_SBI
26 #define CONSOLE_SERIAL
27 #define REBOOT_SBI
28 #define UMALLOC_UHEAP
29 #define MEMMAP_FDT
30 #define SERIAL_FDT
31 
32 #define ACPI_NULL
33 #define MPAPI_NULL
34 #define NAP_NULL
35 #define PCIAPI_NULL
36 #define SANBOOT_NULL
37 #define SMBIOS_NULL
38 #define TIME_NULL
39 
40 #define IMAGE_SCRIPT
41 #define IMAGE_LKRN
42 #define IMAGE_GZIP
43 
44 #define REBOOT_CMD
45 #define POWEROFF_CMD
46 #define FDT_CMD
47 
48 #endif /* CONFIG_DEFAULTS_SBI_H */
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)