1 # $NetBSD: files.amd64,v 1.67 2009/04/21 03:00:29 nonaka Exp $
3 # new style config file for amd64 architecture
8 # maxpartitions must be first item in files.${ARCH}.newconf
13 # delay before cpu_reset() for reboot.
14 defparam CPURESET_DELAY
16 # The REAL{BASE,EXT}MEM options
17 defparam opt_realmem.h REALBASEMEM REALEXTMEM
19 # The PHYSMEM_MAX_{SIZE,ADDR} optionms
20 defparam opt_physmem.h PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE
23 # XXX these are just here at the moment so that we can share files
24 # with the i386 (they include the opt_*.h for these)
31 file arch/amd64/amd64/amd64func.S
32 file arch/amd64/amd64/autoconf.c
33 file arch/amd64/amd64/busfunc.S
34 file arch/amd64/amd64/cpu_in_cksum.S (inet | inet6) & cpu_in_cksum
35 file arch/amd64/amd64/cpufunc.S
36 file arch/amd64/amd64/db_disasm.c ddb
37 file arch/amd64/amd64/db_interface.c ddb
38 file arch/amd64/amd64/db_memrw.c ddb | kgdb
39 file arch/amd64/amd64/db_trace.c ddb
40 file arch/amd64/amd64/kobj_machdep.c modular
41 file arch/amd64/amd64/kgdb_machdep.c kgdb
42 file kern/subr_disk_mbr.c disk
43 file arch/amd64/amd64/gdt.c
44 file arch/amd64/amd64/machdep.c
45 file arch/amd64/amd64/mem.c
46 file arch/amd64/amd64/process_machdep.c
47 file arch/amd64/amd64/procfs_machdep.c procfs
48 file arch/amd64/amd64/trap.c
49 file arch/amd64/amd64/fpu.c
50 file arch/amd64/amd64/lock_stubs.S
53 file arch/amd64/amd64/mptramp.S multiprocessor
56 # Machine-independent SCSI drivers
59 include "dev/scsipi/files.scsipi"
62 # Machine-independent ATA drivers
65 include "dev/ata/files.ata"
67 # Memory Disk for install floppy
68 file dev/md_root.c memory_disk_hooks
71 # Machine-independent I2O drivers
74 include "dev/i2o/files.i2o"
78 file arch/amd64/amd64/bios32.c bios32 needs-flag
84 # XXX BIOS32 only if something that uses it is configured!
85 device mainbus: isabus, pcibus, bios32, acpibus, cpubus, ioapicbus, ipmibus
86 attach mainbus at root
87 file arch/amd64/amd64/mainbus.c mainbus
91 # XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
92 # XXX devices to 'pci'.
95 include "dev/pci/files.pci"
96 defparam PCI_CONF_MODE
97 include "dev/pci/files.agp"
99 # x86 specific PCI hardware
100 include "arch/x86/pci/files.pci"
103 # ISA or ISA+PCI drivers
106 include "dev/isa/files.isa"
109 file arch/x86/isa/clock.c isa
110 file arch/x86/isa/rtc.c isa
112 # TSC timecounter support
113 file arch/x86/x86/tsc.c
115 # attribute used to represent the "keyboard controller"
116 # XXX should be a real device
117 define pckbcport { [irq = -1], [port = -1] }
119 include "dev/pckbport/files.pckbport"
122 attach sysbeep at pcppi
124 # Floppy disk controller
125 device fdc {drive = -1}: isadma
126 file dev/isa/fd.c fdc needs-flag
128 attach fdc at isa with fdc_isa
129 file dev/isa/fdc_isa.c fdc_isa
135 # Compatibility modules
138 # NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
139 include "compat/netbsd32/files.netbsd32"
140 file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32
141 file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16
142 file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32
144 # Linux compatibility (COMPAT_LINUX)
145 include "compat/linux/files.linux"
146 include "compat/linux/arch/amd64/files.linux_amd64"
147 file arch/amd64/amd64/linux_sigcode.S compat_linux
148 file arch/amd64/amd64/linux_syscall.c compat_linux
149 file arch/x86/x86/linux_trap.c compat_linux
151 # Linux 32 bit compatibility (COMPAT_LINUX32)
152 include "compat/linux32/files.linux32"
153 include "compat/linux32/arch/amd64/files.linux32_amd64"
154 file arch/amd64/amd64/linux32_sigcode.S compat_linux32
155 file arch/amd64/amd64/linux32_syscall.c compat_linux32
157 # OSS audio driver compatibility
158 include "compat/ossaudio/files.ossaudio"
163 include "dev/cardbus/files.cardbus"
164 file arch/amd64/amd64/rbus_machdep.c cardbus
166 # this wants to be probed as late as possible.
168 # Machine-independent PCMCIA drivers
170 include "dev/pcmcia/files.pcmcia"
172 include "dev/usb/files.usb"
174 include "dev/bluetooth/files.bluetooth"
176 include "dev/sdmmc/files.sdmmc"
178 include "dev/ieee1394/files.ieee1394"
179 include "dev/apm/files.apm"
180 include "dev/acpi/files.acpi"
181 file arch/amd64/acpi/acpi_wakeup_low.S acpi
183 include "arch/amd64/conf/majors.amd64"