mirror of
https://github.com/ipxe/ipxe
synced 2025-12-11 14:03:29 +03:00
Provide an implementation of the system memory map API based on the system device tree, excluding any memory outside the size of the accessible physical address space and defining an in-use region to cover the relocated copy of iPXE and the system device tree. Signed-off-by: Michael Brown <mcb30@ipxe.org>
39 lines
615 B
C
39 lines
615 B
C
#ifndef CONFIG_DEFAULTS_SBI_H
|
|
#define CONFIG_DEFAULTS_SBI_H
|
|
|
|
/** @file
|
|
*
|
|
* Configuration defaults for RISC-V SBI
|
|
*
|
|
*/
|
|
|
|
FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
|
|
|
#define IOAPI_RISCV
|
|
#define IOMAP_VIRT
|
|
#define DMAAPI_FLAT
|
|
#define UACCESS_OFFSET
|
|
#define TIMER_ZICNTR
|
|
#define ENTROPY_ZKR
|
|
|
|
#define CONSOLE_SBI
|
|
#define REBOOT_SBI
|
|
#define UMALLOC_SBI
|
|
#define MEMMAP_FDT
|
|
|
|
#define ACPI_NULL
|
|
#define MPAPI_NULL
|
|
#define NAP_NULL
|
|
#define PCIAPI_NULL
|
|
#define SANBOOT_NULL
|
|
#define SMBIOS_NULL
|
|
#define TIME_NULL
|
|
|
|
#define IMAGE_SCRIPT
|
|
|
|
#define REBOOT_CMD
|
|
#define POWEROFF_CMD
|
|
#define FDT_CMD
|
|
|
|
#endif /* CONFIG_DEFAULTS_SBI_H */
|