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