blob: 819892c71002fc3ee583678e6ec32c7b27f58bc7 (
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
|
# $OpenBSD: files.riscv64,v 1.18 2022/01/05 03:32:44 visa Exp $
# Standard stanzas config(8) can't run without
maxpartitions 16
maxusers 2 8 128
# Major number for block devices, for ``root on'' lines
major { wd = 0 }
major { sd = 4 }
major { cd = 6 }
major { rd = 8 }
file arch/riscv64/riscv64/autoconf.c
file arch/riscv64/riscv64/ast.c
file arch/riscv64/riscv64/bus_space.c
file arch/riscv64/riscv64/bus_dma.c
file arch/riscv64/riscv64/clock.c
file arch/riscv64/riscv64/conf.c
file arch/riscv64/riscv64/disksubr.c disk
file arch/riscv64/riscv64/locore.S
file arch/riscv64/riscv64/copy.S
file arch/riscv64/riscv64/copystr.S
file arch/riscv64/riscv64/exception.S
file arch/riscv64/riscv64/cpuswitch.S
file arch/riscv64/riscv64/machdep.c
file arch/riscv64/riscv64/intr.c
file arch/riscv64/riscv64/pmap.c
file arch/riscv64/riscv64/mem.c
file arch/riscv64/riscv64/process_machdep.c
file arch/riscv64/riscv64/vm_machdep.c
file arch/riscv64/riscv64/sig_machdep.c
file arch/riscv64/riscv64/softintr.c
file arch/riscv64/riscv64/support.S
file arch/riscv64/riscv64/syscall.c
file arch/riscv64/riscv64/pagezero.S
file arch/riscv64/riscv64/trap.c
file arch/riscv64/riscv64/sbi.c
file arch/riscv64/riscv64/cpufunc_asm.S
file arch/riscv64/riscv64/fpu.c
file arch/riscv64/riscv64/db_disasm.c ddb
file arch/riscv64/riscv64/db_interface.c ddb
file arch/riscv64/riscv64/db_trace.c ddb
file arch/riscv64/dev/pci_machdep.c
pseudo-device openprom
file arch/riscv64/riscv64/openprom.c openprom needs-flag
define fdt {[early = 0]}
#
# mainbus
#
define mainbus {}
device mainbus: fdt
attach mainbus at root
file arch/riscv64/dev/mainbus.c mainbus
#
# cpu
#
define cpu {}
device cpu
attach cpu at mainbus
file arch/riscv64/riscv64/cpu.c cpu
#
# HART-specific interrupt controller
#
device intc
attach intc at cpu
file arch/riscv64/dev/riscv_cpu_intc.c intc
#
# simplebus
#
device simplebus: fdt
attach simplebus at fdt
file arch/riscv64/dev/simplebus.c simplebus
# PLIC
device plic
attach plic at fdt
file arch/riscv64/dev/plic.c plic
# PolarFire SoC MSS clock controller
device mpfclock
attach mpfclock at fdt
file arch/riscv64/dev/mpfclock.c mpfclock
# L2 cache controller
device sfcc
attach sfcc at fdt
file arch/riscv64/dev/sfcc.c sfcc
# SiFive PRCI
device sfclock
attach sfclock at fdt
file arch/riscv64/dev/sfclock.c sfclock
# SiFive uart
device sfuart
attach sfuart at fdt
file arch/riscv64/dev/sfuart.c sfuart
# Paravirtual device bus and virtio
include "dev/pv/files.pv"
file netinet/in_cksum.c
file netinet/in4_cksum.c
#
# Machine-independent HID support
#
include "dev/hid/files.hid"
# Machine-independent I2C drivers
include "dev/i2c/files.i2c"
# FDT now requires drm (which is part of pci)
include "dev/mii/files.mii"
include "dev/pci/files.pci"
include "dev/sdmmc/files.sdmmc"
# FDT support
include "dev/ofw/files.ofw"
# Machine-independent FDT drivers
include "dev/fdt/files.fdt"
# Machine-independent SCSI drivers
include "scsi/files.scsi"
# Machine-independent ATA drivers
include "dev/ata/files.ata"
# Include WSCONS stuff
include "dev/wscons/files.wscons"
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
device pciecam: pcibus
attach pciecam at fdt
file dev/fdt/pciecam.c pciecam
# Machine-independent USB drivers
include "dev/usb/files.usb"
|