blob: d60980af5304cacabf560f0220f3185fc0322f51 (
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
|
# $OpenBSD: files.amd64,v 1.49 2009/05/31 03:20:10 matthieu Exp $
maxpartitions 16
maxusers 2 16 128
file arch/amd64/amd64/autoconf.c
file arch/amd64/amd64/conf.c
file arch/amd64/amd64/disksubr.c disk
file arch/amd64/amd64/gdt.c
file arch/amd64/amd64/machdep.c
file arch/amd64/amd64/identcpu.c
file arch/amd64/amd64/via.c
file arch/amd64/amd64/amd64errata.c
file arch/amd64/amd64/mem.c
file arch/amd64/amd64/amd64_mem.c mtrr
file arch/amd64/amd64/pmap.c
file arch/amd64/amd64/process_machdep.c
file arch/amd64/amd64/sys_machdep.c
file arch/amd64/amd64/syscall.c
file arch/amd64/amd64/trap.c
file arch/amd64/amd64/vm_machdep.c
file arch/amd64/amd64/fpu.c
file arch/amd64/amd64/softintr.c
file arch/amd64/amd64/i8259.c
file arch/amd64/amd64/cacheinfo.c
file arch/amd64/amd64/mutex.S
file arch/amd64/amd64/lock_machdep.c multiprocessor
file arch/amd64/amd64/intr.c
file arch/amd64/amd64/bus_space.c
file arch/amd64/amd64/bus_dma.c
file arch/amd64/amd64/sg_dma.c
file arch/amd64/amd64/mptramp.S multiprocessor
file arch/amd64/amd64/ipifuncs.c multiprocessor
file arch/amd64/amd64/ipi.c multiprocessor
file arch/amd64/amd64/mp_setperf.c multiprocessor
file arch/amd64/amd64/apic.c ioapic | lapic
file arch/amd64/amd64/consinit.c
file dev/cninit.c
file arch/amd64/amd64/dkcsum.c
file lib/libz/adler32.c !ppp_deflate & !ipsec & !crypto
file arch/amd64/amd64/db_disasm.c ddb
file arch/amd64/amd64/db_interface.c ddb
file arch/amd64/amd64/db_memrw.c ddb | kgdb
file arch/amd64/amd64/db_trace.c ddb
file netinet/in_cksum.c inet
file netinet/in4_cksum.c inet
file arch/amd64/amd64/kgdb_machdep.c kgdb
# Basic clock - required
file arch/amd64/isa/clock.c
file arch/amd64/amd64/powernow-k8.c !small_kernel
file arch/amd64/amd64/est.c !small_kernel
include "dev/rasops/files.rasops"
include "dev/wsfont/files.wsfont"
include "dev/mii/files.mii"
include "scsi/files.scsi"
include "dev/i2o/files.i2o"
include "dev/atapiscsi/files.atapiscsi"
include "dev/ata/files.ata"
define mainbus {[apid = -1]}
device mainbus: isabus, pcibus, mainbus
attach mainbus at root
file arch/amd64/amd64/mainbus.c mainbus
device bios {}
attach bios at mainbus
file arch/amd64/amd64/bios.c bios needs-flag
#Intel SMP specification 1.4
define mpbios
device mpbios
attach mpbios at bios
file arch/amd64/amd64/mpbios.c mpbios needs-flag
file arch/amd64/amd64/mpbios_intr_fixup.c mpbios & pci
define cpu {[apid = -1]}
device cpu
attach cpu at mainbus
file arch/amd64/amd64/cpu.c cpu
define lapic
file arch/amd64/amd64/lapic.c lapic needs-flag
device ioapic: mpbios, lapic
attach ioapic at mainbus
file arch/amd64/amd64/ioapic.c ioapic needs-flag
#
# PCI drivers
#
include "dev/pci/files.pci"
file arch/amd64/pci/pci_machdep.c pci
file arch/amd64/pci/iommu.c pci
file arch/amd64/pci/pciide_machdep.c pciide
include "dev/puc/files.puc"
# PCI Host bridge chipsets
device pchb: pcibus, agpbus
attach pchb at pci
file arch/amd64/pci/pchb.c pchb
# AMAS AMD memory address switch
device amas
attach amas at pci
file dev/pci/amas.c amas
# AGP bridge support. most attach at pchb
include "dev/pci/files.agp"
file arch/amd64/pci/agp_machdep.c agp
#
# CARDBUS
#
include "dev/cardbus/files.cardbus"
file arch/amd64/amd64/rbus_machdep.c cardbus
# PCIC pcmcia controller
device pcic: pcmciabus
file dev/ic/i82365.c pcic
# PCIC pcmcia controller on PCI bus.
attach pcic at pci with pcic_pci
file dev/pci/i82365_pci.c pcic_pci
include "dev/pcmcia/files.pcmcia"
# PCI-ISA bridges
device pcib: isabus
attach pcib at pci
file arch/amd64/pci/pcib.c pcib | amdpcib
# AMD 8111 LPC bridge
device amdpcib: isabus
attach amdpcib at pci
file dev/pci/amdpcib.c amdpcib
device aapic
attach aapic at pci
file arch/amd64/pci/aapic.c aapic
device hme: ether, ifnet, mii, ifmedia
file dev/ic/hme.c hme
attach hme at pci with hme_pci
file dev/pci/if_hme_pci.c hme_pci
#
# ISA drivers
#
include "dev/isa/files.isa"
include "dev/isa/files.isapnp"
file arch/amd64/isa/isa_machdep.c isa
# attribute used to represent the "keyboard controller"
# XXX should be a real device
define pckbcport {[irq = -1], [port = -1]}
include "dev/wscons/files.wscons"
include "dev/pckbc/files.pckbc"
file arch/amd64/amd64/wscons_machdep.c wsdisplay
# Floppy disk controller
device fdc {[drive = -1]}
attach fdc at isa
file dev/isa/fdc.c fdc needs-flag
device fd: disk, isa_dma
attach fd at fdc
file dev/isa/fd.c fd needs-flag
pseudo-device pctr
file arch/amd64/amd64/pctr.c pctr needs-flag
pseudo-device mtrr
file arch/amd64/amd64/mtrr.c mtrr needs-flag
pseudo-device nvram
file arch/amd64/amd64/nvram.c nvram needs-flag
#
# USB
#
include "dev/usb/files.usb"
#
# Bluetooth
#
include "dev/bluetooth/files.bluetooth"
#
# I2C
#
include "dev/i2c/files.i2c"
#
# ACPI
#
include "../../../dev/acpi/files.acpi"
file arch/amd64/amd64/acpi_machdep.c acpi
file arch/amd64/amd64/acpi_wakecode.S acpi
#
# Machine-independent SD/MMC drivers
#
include "dev/sdmmc/files.sdmmc"
#
# Machine-independent 1-Wire drivers
#
include "dev/onewire/files.onewire"
#
# IPMI
#
attach ipmi at mainbus
#
# device major numbers
#
major {ccd = 16}
major {vnd = 14}
major {sd = 4}
major {st = 5}
major {cd = 6}
major {rd = 17}
major {wd = 0}
major {fd = 2}
|