summaryrefslogtreecommitdiff
path: root/sys/arch/riscv64/conf/GENERIC
blob: cbbb50dde2dfbb87ff3a52ae56434875cef35aba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# For further information on compiling OpenBSD kernels, see the config(8)
# man page.
#
# For further information on hardware support for this architecture, see
# the intro(4) man page.  For further information about kernel options
# for this architecture, see the options(4) man page.  For an explanation
# of each device driver in this file see the section 4 man page for the
# device.

machine		riscv64
include		"../../../conf/GENERIC"
maxusers	32

makeoptions	KERNEL_BASE_PHYS="0x00200000"
makeoptions	KERNEL_BASE_VIRT="0xffffffc000200000"
#option		DEBUG
#option		DEBUG_AUTOCONF
#option		DEBUG_INTC
#option		DEBUG_TIMER

config	bsd	swap generic

#
# Definition of system
#

# mainbus
mainbus0	at root

# cpu0
cpu0		at mainbus0
timer0		at cpu0
intc0		at cpu0

# NS16550 compatible serial ports
com*		at mainbus0 early 1

virtio*		at mainbus0
vio*		at virtio?	# Network
vioblk*		at virtio?
vioscsi*	at virtio?	# Disk (SCSI)
#viomb*		at virtio?	# Memory Ballooning
#viornd*	at virtio?	# Random Source

# simplebus0
simplebus*	at mainbus0 early 1
# Platform Level Interrupt Controller
plic*		at simplebus? early 1

syscon*		at fdt? early 1

scsibus*        at scsi?
sd*		at scsibus?
cd*		at scsibus?
ch*		at scsibus?
uk*		at scsibus?

# Pseudo-Devices
pseudo-device	openprom