Files
ipxe/src/config/defaults/sbi.h
Michael Brown 2ce1b185b2 [serial] Allow platform to specify mechanism for identifying console
Allow the platform configuration to provide a mechanism for
identifying the serial console UART.  Provide two globally available
mechanisms: "null" (i.e. no serial console), and "fixed" (i.e. use
whatever is specified by COMCONSOLE in config/serial.h).

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2025-06-23 16:53:13 +01:00

47 lines
733 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 DMAAPI_FLAT
#define UACCESS_OFFSET
#define TIMER_ZICNTR
#define ENTROPY_ZKR
#if __riscv_xlen == 64
#define IOMAP_SVPAGE
#else
#define IOMAP_VIRT
#endif
#define CONSOLE_SBI
#define REBOOT_SBI
#define UMALLOC_UHEAP
#define MEMMAP_FDT
#define SERIAL_NULL
#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 IMAGE_LKRN
#define IMAGE_GZIP
#define REBOOT_CMD
#define POWEROFF_CMD
#define FDT_CMD
#endif /* CONFIG_DEFAULTS_SBI_H */