11.24Sskrll# $NetBSD: GENERIC,v 1.24 2023/05/07 12:41:48 skrll Exp $
21.1Smatt#
31.1Smatt# GENERIC machine description file
41.1Smatt#
51.1Smatt# This machine description file is used to generate the default NetBSD
61.24Sskrll# kernel for RV32.  The generic kernel does not include all options,
71.24Sskrll# subsystems and device drivers, but should be useful for most applications.
81.1Smatt#
91.1Smatt# The machine description file can be customised for your specific
101.1Smatt# machine to reduce the kernel size and improve its performance.
111.1Smatt#
121.1Smatt# For further information on compiling NetBSD kernels, see the config(8)
131.1Smatt# man page.
141.1Smatt#
151.1Smatt# For further information on hardware support for this architecture, see
161.1Smatt# the intro(4) man page.  For further information about kernel options
171.1Smatt# for this architecture, see the options(4) man page.  For an explanation
181.1Smatt# of each device driver in this file see the section 4 man page for the
191.1Smatt# device.
201.1Smatt
211.24Sskrllinclude	"arch/riscv/conf/std.riscv"
221.24Sskrllinclude	"arch/riscv/conf/files.generic"
231.24Sskrllinclude	"arch/riscv/conf/GENERIC.common"
241.14Sskrll
251.20Sskrll#options 	EARLYCONS=com, CONSADDR=0x10000000	# qemu virt
261.14Sskrlloptions 	VERBOSE_INIT_RISCV
271.14Sskrll
281.1Smatt# Diagnostic/debugging support options
291.1Smattoptions 	DIAGNOSTIC	# inexpensive kernel consistency checks
301.1Smatt				# XXX to be commented out on release branch
311.24Sskrlloptions 	DEBUG		# expensive debugging checks/support
321.24Sskrll#options 	LOCKDEBUG	# expensive locking checks/support
331.24Sskrll#options 	KERNHIST
341.24Sskrll#options 	KERNHIST_PRINT
351.24Sskrll#options 	UVMHIST
361.24Sskrll#options 	UVMHIST_PRINT
371.24Sskrll#options 	PMAPHIST
381.24Sskrll#options 	PMAPHIST_PRINT
391.24Sskrll#options 	SYSCTL_DEBUG
401.24Sskrll#options 	SYSCTL_DEBUG_SETUP
411.24Sskrll#options 	SYSCTL_DEBUG_CREATE
421.24Sskrll#options 	PMAP_FAULTINFO
431.24Sskrll#options 	RISCV_SYSCALL_DEBUG
441.24Sskrll#options 	SYSCALL_DEBUG
451.1Smatt
461.19Ssimonb
471.23Sabs# Pull in optional local configuration - always at end
481.19Ssimonbcinclude 	"arch/riscv/conf/GENERIC.local"
49