1 1.2 skrll # $NetBSD: GENERIC64,v 1.2 2024/01/13 17:01:58 skrll Exp $ 2 1.1 skrll # 3 1.1 skrll # GENERIC machine description file 4 1.1 skrll # 5 1.1 skrll # This machine description file is used to generate the default NetBSD 6 1.1 skrll # kernel for RV64. The generic kernel does not include all options, 7 1.1 skrll # subsystems and device drivers, but should be useful for most applications. 8 1.1 skrll # 9 1.1 skrll # The machine description file can be customised for your specific 10 1.1 skrll # machine to reduce the kernel size and improve its performance. 11 1.1 skrll # 12 1.1 skrll # For further information on compiling NetBSD kernels, see the config(8) 13 1.1 skrll # man page. 14 1.1 skrll # 15 1.1 skrll # For further information on hardware support for this architecture, see 16 1.1 skrll # the intro(4) man page. For further information about kernel options 17 1.1 skrll # for this architecture, see the options(4) man page. For an explanation 18 1.1 skrll # of each device driver in this file see the section 4 man page for the 19 1.1 skrll # device. 20 1.1 skrll 21 1.1 skrll include "arch/riscv/conf/std.riscv64" 22 1.1 skrll include "arch/riscv/conf/files.generic64" 23 1.1 skrll include "arch/riscv/conf/GENERIC.common" 24 1.1 skrll 25 1.1 skrll #options EARLYCONS=com, CONSADDR=0x10000000 # qemu virt 26 1.1 skrll options VERBOSE_INIT_RISCV 27 1.1 skrll 28 1.1 skrll # Diagnostic/debugging support options 29 1.1 skrll options DIAGNOSTIC # inexpensive kernel consistency checks 30 1.1 skrll # XXX to be commented out on release branch 31 1.1 skrll options DEBUG # expensive debugging checks/support 32 1.1 skrll #options LOCKDEBUG # expensive locking checks/support 33 1.1 skrll #options KERNHIST 34 1.1 skrll #options KERNHIST_PRINT 35 1.1 skrll #options UVMHIST 36 1.1 skrll #options UVMHIST_PRINT 37 1.1 skrll #options PMAPHIST 38 1.1 skrll #options PMAPHIST_PRINT 39 1.1 skrll #options SYSCTL_DEBUG 40 1.1 skrll #options SYSCTL_DEBUG_SETUP 41 1.1 skrll #options SYSCTL_DEBUG_CREATE 42 1.1 skrll #options PMAP_FAULTINFO 43 1.1 skrll #options RISCV_SYSCALL_DEBUG 44 1.1 skrll #options SYSCALL_DEBUG 45 1.1 skrll 46 1.1 skrll #options COMPAT_NETBSD32 47 1.1 skrll #options EXEC_ELF32 48 1.1 skrll 49 1.2 skrll # Cache controller 50 1.2 skrll ccache* at fdt? # SiFive FU[57]40 L2 Cache 51 1.2 skrll 52 1.1 skrll # Pull in optional local configuration - always at end 53 1.1 skrll cinclude "arch/riscv/conf/GENERIC64.local" 54