summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/conf/files.arm64
blob: 8c051650c014539bedfcb36133098f5ca380620b (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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
# $OpenBSD: files.arm64,v 1.63 2022/11/08 19:52:40 patrick Exp $

maxpartitions	16
maxusers	2 8 128

major	{wd = 16}
major	{sd = 24}
major	{cd = 26}
major	{rd = 17}

file	arch/arm64/arm64/autoconf.c
file	arch/arm64/arm64/copy.S
file	arch/arm64/arm64/copystr.S
file	arch/arm64/arm64/cpuswitch.S
file	arch/arm64/arm64/conf.c
file	arch/arm64/arm64/disksubr.c
file	arch/arm64/arm64/locore.S
file	arch/arm64/arm64/machdep.c
file	arch/arm64/arm64/mem.c
file	arch/arm64/arm64/pmap.c
file	arch/arm64/arm64/vm_machdep.c
file	arch/arm64/arm64/process_machdep.c
file	arch/arm64/arm64/sig_machdep.c
file	arch/arm64/arm64/syscall.c
file	arch/arm64/arm64/sys_machdep.c

file	arch/arm64/arm64/cpu.c
file	arch/arm64/arm64/fpu.c
file	arch/arm64/arm64/intr.c
file	arch/arm64/arm64/softintr.c
file	arch/arm64/arm64/exception.S
file	arch/arm64/arm64/trampoline.S
file	arch/arm64/arm64/trap.c
file	arch/arm64/arm64/ast.c

file	arch/arm64/arm64/cpufunc_asm.S
file	arch/arm64/arm64/support.S
file	arch/arm64/arm64/bus_dma.c

file	arch/arm64/dev/arm64_bus_space.c
file	arch/arm64/dev/pci_machdep.c

file	arch/arm64/arm64/cryptox.c		crypto
file	arch/arm64/arm64/aesv8-armx.S		crypto

file	arch/arm64/arm64/db_disasm.c		ddb
file	arch/arm64/arm64/db_interface.c		ddb
file	arch/arm64/arm64/db_trace.c		ddb
file	arch/arm64/arm64/disasm.c		ddb

pseudo-device	openprom
file	arch/arm64/arm64/openprom.c		openprom needs-flag

define	fdt {[early = 0]}

# mainbus files
define	mainbus {}
device	mainbus: fdt
attach	mainbus at root
file	arch/arm64/dev/mainbus.c		mainbus

device	simplebus: fdt
attach	simplebus at fdt
file	arch/arm64/dev/simplebus.c		simplebus

device	efi {}
attach	efi at fdt
file	arch/arm64/dev/efi_machdep.c		efi needs-flag

device	smbios
attach	smbios at efi
file	arch/arm64/dev/smbios.c			smbios

# FDT support
include "dev/ofw/files.ofw"

# Machine-independent SCSI drivers
include "scsi/files.scsi"
include "dev/atapiscsi/files.atapiscsi"

# 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  cpu {}
attach  cpu at mainbus

#
# Machine-independent HID support
#
include	"dev/hid/files.hid"

# Machine-independent I2C drivers
include "dev/i2c/files.i2c"

# Include USB stuff
include "dev/usb/files.usb"

# Machine-independent GPIO drivers
include "dev/gpio/files.gpio"

# Machine-independent 1-Wire drivers
include "dev/onewire/files.onewire"

file	netinet/in_cksum.c
file	netinet/in4_cksum.c

# Paravirtual device bus and virtio
include "dev/pv/files.pv"

# MII and PCI
include "dev/mii/files.mii"
include "dev/pci/files.pci"
include "dev/sdmmc/files.sdmmc"

# Machine-independent FDT drivers
include "dev/fdt/files.fdt"

define	rtkit
file	arch/arm64/dev/rtkit.c			rtkit

device	ampintc: fdt
attach	ampintc at fdt
device	ampintcmsi
attach	ampintcmsi at fdt
file	arch/arm64/dev/ampintc.c		ampintc | ampintcmsi

device	agintc: fdt
attach	agintc at fdt
device	agintcmsi
attach	agintcmsi at fdt
file	arch/arm64/dev/agintc.c			agintc | agintcmsi

device	agtimer
attach	agtimer at fdt
file	arch/arm64/dev/agtimer.c		agtimer

device	aplaudio: audio
attach	aplaudio at fdt
file	arch/arm64/dev/aplaudio.c		aplaudio

device	aplcpu
attach	aplcpu at fdt
file	arch/arm64/dev/aplcpu.c			aplcpu

device	apldart
attach	apldart at fdt
file	arch/arm64/dev/apldart.c		apldart

device	apldc: fdt
attach	apldc at fdt
device	apldchidev {}
attach	apldchidev at fdt
device	apldckbd: hid, hidkbd, wskbddev
attach	apldckbd at apldchidev
device	apldcms: hid, hidms, wsmousedev
attach	apldcms at apldchidev
file	arch/arm64/dev/apldc.c			apldc | aplhidev | apldckbd | apldcms needs-flag

device	apldma
attach	apldma at fdt
file	arch/arm64/dev/apldma.c			apldma

device	apldog
attach	apldog at fdt
file	arch/arm64/dev/apldog.c			apldog

device	apliic: i2cbus
attach	apliic at fdt
file	arch/arm64/dev/apliic.c			apliic

device	aplintc
attach	aplintc at fdt
file	arch/arm64/dev/aplintc.c		aplintc

device	aplhidev {}
attach	aplhidev at spi
device	aplkbd: hid, hidkbd, wskbddev
attach	aplkbd at aplhidev
device	aplms: hid, hidms, wsmousedev
attach	aplms at aplhidev
file	arch/arm64/dev/aplhidev.c		aplhidev | aplkbd | aplms needs-flag

device	aplmbox
attach	aplmbox at fdt
file	arch/arm64/dev/aplmbox.c		aplmbox

device	aplmca
attach	aplmca at fdt
file	arch/arm64/dev/aplmca.c			aplmca

device	aplnco
attach	aplnco at fdt
file	arch/arm64/dev/aplnco.c			aplnco

device	aplpcie: pcibus
attach	aplpcie at fdt
file	arch/arm64/dev/aplpcie.c		aplpcie

device	aplpinctrl
attach	aplpinctrl at fdt
file	arch/arm64/dev/aplpinctrl.c		aplpinctrl

device	aplpmgr
attach	aplpmgr at fdt
file	arch/arm64/dev/aplpmgr.c		aplpmgr

device	aplrtk
attach	aplrtk at fdt
file	arch/arm64/dev/aplrtk.c			aplrtk

# Apple NVME Storage
device	aplns {}: rtkit
attach	aplns at fdt
attach	nvme at aplns with nvme_ans
file	arch/arm64/dev/aplns.c			aplns | nvme_ans

device	aplsart
attach	aplsart at fdt
file	arch/arm64/dev/aplsart.c		aplsart | aplns

device	aplsmc
attach	aplsmc at fdt
file	arch/arm64/dev/aplsmc.c			aplsmc

device	aplpmu
attach	aplpmu at spmi
file	arch/arm64/dev/aplpmu.c			aplpmu

device	aplspi: spi
attach	aplspi at fdt
file	arch/arm64/dev/aplspi.c			aplspi

device	aplspmi: spmi
attach	aplspmi at fdt
file	arch/arm64/dev/aplspmi.c		aplspmi

device	bcmintc
attach	bcmintc at fdt
file	arch/arm64/dev/bcm2836_intr.c		bcmintc

device	pciecam: pcibus
attach	pciecam at fdt
file	dev/fdt/pciecam.c			pciecam

device	smmu
attach	smmu at fdt with smmu_fdt
file	arch/arm64/dev/smmu.c			smmu
file	arch/arm64/dev/smmu_fdt.c		smmu_fdt

# ACPI
include "dev/acpi/files.acpi"

attach	acpi at fdt with acpi_fdt
file	arch/arm64/arm64/acpi_machdep.c		acpi_fdt

define	acpiiort {}
device	acpiiort: acpiiort
attach	acpiiort at acpi
file	arch/arm64/dev/acpiiort.c		acpiiort

device	acpipci: pcibus
attach	acpipci at acpi
file	arch/arm64/dev/acpipci.c		acpipci

attach	smmu at acpiiort with smmu_acpi
file	arch/arm64/dev/smmu_acpi.c		smmu_acpi

device  apm
attach  apm at mainbus
file	arch/arm64/dev/apm.c			apm		needs-flag
file	arch/arm64/arm64/acpiapm.c		apm