files.arm64 revision 1.50
1# $OpenBSD: files.arm64,v 1.50 2021/12/24 00:01:39 patrick Exp $
2
3maxpartitions	16
4maxusers	2 8 128
5
6major	{wd = 16}
7major	{sd = 24}
8major	{cd = 26}
9major	{rd = 17}
10
11file	arch/arm64/arm64/autoconf.c
12file	arch/arm64/arm64/copy.S
13file	arch/arm64/arm64/copystr.S
14file	arch/arm64/arm64/cpuswitch.S
15file	arch/arm64/arm64/conf.c
16file	arch/arm64/arm64/disksubr.c
17file	arch/arm64/arm64/locore.S
18file	arch/arm64/arm64/machdep.c
19file	arch/arm64/arm64/mem.c
20file	arch/arm64/arm64/pmap.c
21file	arch/arm64/arm64/vm_machdep.c
22file	arch/arm64/arm64/process_machdep.c
23file	arch/arm64/arm64/sig_machdep.c
24file	arch/arm64/arm64/syscall.c
25file	arch/arm64/arm64/sys_machdep.c
26
27file	arch/arm64/arm64/cpu.c
28file	arch/arm64/arm64/intr.c
29file	arch/arm64/arm64/softintr.c
30file	arch/arm64/arm64/vfp.c
31file	arch/arm64/arm64/exception.S
32file	arch/arm64/arm64/trampoline.S
33file	arch/arm64/arm64/trap.c
34file	arch/arm64/arm64/ast.c
35
36file	arch/arm64/arm64/cpufunc_asm.S
37file	arch/arm64/arm64/support.S
38file	arch/arm64/arm64/bus_dma.c
39
40file	arch/arm64/dev/arm64_bus_space.c
41file	arch/arm64/dev/pci_machdep.c
42
43file	arch/arm64/arm64/cryptox.c		crypto
44file	arch/arm64/arm64/aesv8-armx.S		crypto
45
46file	arch/arm64/arm64/db_disasm.c		ddb
47file	arch/arm64/arm64/db_interface.c		ddb
48file	arch/arm64/arm64/db_trace.c		ddb
49file	arch/arm64/arm64/disasm.c		ddb
50
51pseudo-device	openprom
52file	arch/arm64/arm64/openprom.c		openprom needs-flag
53
54define	fdt {[early = 0]}
55
56# mainbus files
57define	mainbus {}
58device	mainbus: fdt
59attach	mainbus at root
60file	arch/arm64/dev/mainbus.c		mainbus
61
62device	simplebus: fdt
63attach	simplebus at fdt
64file	arch/arm64/dev/simplebus.c		simplebus
65
66device	efi {}
67attach	efi at fdt
68file	arch/arm64/dev/efi.c			efi
69
70device	smbios
71attach	smbios at efi
72file	arch/arm64/dev/smbios.c			smbios
73
74# FDT support
75include "dev/ofw/files.ofw"
76
77# Machine-independent SCSI drivers
78include "scsi/files.scsi"
79include "dev/atapiscsi/files.atapiscsi"
80
81# Machine-independent ATA drivers
82include "dev/ata/files.ata"
83
84# Include WSCONS stuff
85include "dev/wscons/files.wscons"
86include "dev/rasops/files.rasops"
87include "dev/wsfont/files.wsfont"
88
89device  cpu {}
90attach  cpu at mainbus
91
92#
93# Machine-independent HID support
94#
95include	"dev/hid/files.hid"
96
97# Machine-independent I2C drivers
98include "dev/i2c/files.i2c"
99
100# Include USB stuff
101include "dev/usb/files.usb"
102
103# Machine-independent GPIO drivers
104include "dev/gpio/files.gpio"
105
106# Machine-independent 1-Wire drivers
107include "dev/onewire/files.onewire"
108
109file	netinet/in_cksum.c
110file	netinet/in4_cksum.c
111
112# Paravirtual device bus and virtio
113include "dev/pv/files.pv"
114
115# MII and PCI
116include "dev/mii/files.mii"
117include "dev/pci/files.pci"
118include "dev/sdmmc/files.sdmmc"
119
120# Machine-independent FDT drivers
121include "dev/fdt/files.fdt"
122
123define	rtkit
124file	arch/arm64/dev/rtkit.c			rtkit
125
126device	ampintc: fdt
127attach	ampintc at fdt
128device	ampintcmsi
129attach	ampintcmsi at fdt
130file	arch/arm64/dev/ampintc.c		ampintc | ampintcmsi
131
132device	agintc: fdt
133attach	agintc at fdt
134device	agintcmsi
135attach	agintcmsi at fdt
136file	arch/arm64/dev/agintc.c			agintc | agintcmsi
137
138device	agtimer
139attach	agtimer at fdt
140file	arch/arm64/dev/agtimer.c		agtimer
141
142device	apldart
143attach	apldart at fdt
144file	arch/arm64/dev/apldart.c		apldart
145
146device	apldog
147attach	apldog at fdt
148file	arch/arm64/dev/apldog.c			apldog
149
150device	apldwusb: fdt
151attach	apldwusb at fdt
152file	arch/arm64/dev/apldwusb.c		apldwusb
153
154device	apliic: i2cbus
155attach	apliic at fdt
156file	arch/arm64/dev/apliic.c			apliic
157
158device	aplintc
159attach	aplintc at fdt
160file	arch/arm64/dev/aplintc.c		aplintc
161
162device	aplhidev {}
163attach	aplhidev at spi
164device	aplkbd: hid, hidkbd, wskbddev
165attach	aplkbd at aplhidev
166device	aplms: hid, hidms, wsmousedev
167attach	aplms at aplhidev
168file	arch/arm64/dev/aplhidev.c		aplhidev | aplkbd | aplms needs-flag
169
170device	aplmbox
171attach	aplmbox at fdt
172file	arch/arm64/dev/aplmbox.c		aplmbox
173
174device	aplpcie: pcibus
175attach	aplpcie at fdt
176file	arch/arm64/dev/aplpcie.c		aplpcie
177
178device	aplpinctrl
179attach	aplpinctrl at fdt
180file	arch/arm64/dev/aplpinctrl.c		aplpinctrl
181
182device	aplpmgr
183attach	aplpmgr at fdt
184file	arch/arm64/dev/aplpmgr.c		aplpmgr
185
186# Apple NVME Storage
187device	aplns {}: rtkit
188attach	aplns at fdt
189attach	nvme at aplns with nvme_ans
190file	arch/arm64/dev/aplns.c			aplns | nvme_ans
191
192define	spmi {}
193device	aplpmu
194attach	aplpmu at spmi
195file	arch/arm64/dev/aplpmu.c			aplpmu
196
197device	aplspi: spi
198attach	aplspi at fdt
199file	arch/arm64/dev/aplspi.c			aplspi
200
201device	aplspmi: spmi
202attach	aplspmi at fdt
203file	arch/arm64/dev/aplspmi.c		aplspmi
204
205device	bcmintc
206attach	bcmintc at fdt
207file	arch/arm64/dev/bcm2836_intr.c		bcmintc
208
209device	pciecam: pcibus
210attach	pciecam at fdt
211file	dev/fdt/pciecam.c			pciecam
212
213device	smmu
214attach	smmu at fdt with smmu_fdt
215file	arch/arm64/dev/smmu.c			smmu
216file	arch/arm64/dev/smmu_fdt.c		smmu_fdt
217
218# ACPI
219include "dev/acpi/files.acpi"
220
221attach	acpi at fdt with acpi_fdt
222file	arch/arm64/arm64/acpi_machdep.c		acpi_fdt
223
224define	acpiiort {}
225device	acpiiort: acpiiort
226attach	acpiiort at acpi
227file	arch/arm64/dev/acpiiort.c		acpiiort
228
229device	acpipci: pcibus
230attach	acpipci at acpi
231file	arch/arm64/dev/acpipci.c		acpipci
232
233attach	smmu at acpiiort with smmu_acpi
234file	arch/arm64/dev/smmu_acpi.c		smmu_acpi
235
236device  apm
237attach  apm at mainbus
238file	arch/arm64/dev/apm.c			apm		needs-flag
239file	arch/arm64/arm64/acpiapm.c		apm
240