files.amd64 revision 1.25
11.25Sfvdl#	$NetBSD: files.amd64,v 1.25 2006/07/10 13:09:47 fvdl Exp $
21.1Sfvdl#
31.1Sfvdl# new style config file for amd64 architecture
41.1Sfvdl#
51.1Sfvdl
61.1Sfvdl# maxpartitions must be first item in files.${ARCH}.newconf
71.1Sfvdlmaxpartitions 16
81.1Sfvdl
91.1Sfvdlmaxusers 2 16 128
101.1Sfvdl
111.1Sfvdl# delay before cpu_reset() for reboot.
121.1Sfvdldefparam		CPURESET_DELAY
131.1Sfvdl
141.1Sfvdl# Large page size
151.1Sfvdldefflag			LARGEPAGES
161.1Sfvdl
171.1Sfvdl# The REAL{BASE,EXT}MEM options
181.1Sfvdldefparam opt_realmem.h	REALBASEMEM REALEXTMEM
191.1Sfvdl
201.1Sfvdl
211.1Sfvdl#
221.1Sfvdl# XXX these are just here at the moment so that we can share files
231.1Sfvdl# with the i386 (they include the opt_*.h for these)
241.1Sfvdl#
251.1Sfvdl
261.1Sfvdldefflag			USER_LDT
271.1Sfvdldefflag			VM86
281.2Sfvdldefflag eisa.h EISA
291.1Sfvdl
301.1Sfvdlfile	arch/amd64/amd64/autoconf.c
311.1Sfvdlfile	arch/amd64/amd64/db_disasm.c		ddb
321.1Sfvdlfile	arch/amd64/amd64/db_interface.c	ddb
331.1Sfvdlfile	arch/amd64/amd64/db_memrw.c		ddb | kgdb
341.1Sfvdlfile	arch/amd64/amd64/db_trace.c		ddb
351.25Sfvdlfile	arch/amd64/amd64/kgdb_machdep.c		kgdb
361.5Sfvdlfile	kern/subr_disk_mbr.c			disk
371.1Sfvdlfile	arch/amd64/amd64/gdt.c
381.1Sfvdl
391.1Sfvdl#
401.1Sfvdl# XXXfvdl write the optimized versions for these.
411.1Sfvdl#
421.1Sfvdlfile	netinet/in_cksum.c			inet
431.1Sfvdlfile	netinet/in4_cksum.c			inet
441.1Sfvdl
451.1Sfvdlfile	arch/amd64/amd64/machdep.c
461.1Sfvdlfile	arch/amd64/amd64/identcpu.c
471.1Sfvdlfile	arch/amd64/amd64/math_emulate.c	math_emulate
481.1Sfvdlfile	arch/amd64/amd64/mem.c
491.1Sfvdlfile	netns/ns_cksum.c			ns
501.1Sfvdlfile	arch/amd64/amd64/pmap.c
511.1Sfvdlfile	arch/amd64/amd64/process_machdep.c
521.1Sfvdlfile	arch/amd64/amd64/procfs_machdep.c	procfs
531.1Sfvdlfile	arch/amd64/amd64/sys_machdep.c
541.1Sfvdlfile	arch/amd64/amd64/syscall.c
551.1Sfvdlfile	arch/amd64/amd64/trap.c
561.1Sfvdlfile	arch/amd64/amd64/vm_machdep.c
571.1Sfvdlfile	arch/amd64/amd64/fpu.c
581.1Sfvdlfile	dev/cons.c
591.1Sfvdl
601.1Sfvdlfile	arch/amd64/amd64/mptramp.S        multiprocessor
611.1Sfvdlfile	arch/amd64/amd64/ipifuncs.c       multiprocessor
621.1Sfvdl
631.1Sfvdl#
641.1Sfvdl# Machine-independent SCSI drivers
651.1Sfvdl#
661.1Sfvdl
671.1Sfvdlinclude	"dev/scsipi/files.scsipi"
681.1Sfvdl
691.1Sfvdl#
701.1Sfvdl# Machine-independent ATA drivers
711.1Sfvdl#
721.1Sfvdl
731.1Sfvdlinclude	"dev/ata/files.ata"
741.1Sfvdl
751.1Sfvdl# Memory Disk for install floppy
761.1Sfvdlfile	dev/md_root.c			memory_disk_hooks
771.1Sfvdl
781.1Sfvdl#
791.1Sfvdl# Machine-independent I2O drivers
801.1Sfvdl#
811.1Sfvdl
821.1Sfvdlinclude	"dev/i2o/files.i2o"
831.1Sfvdl
841.1Sfvdl# BIOS32 routines
851.1Sfvdldefine	bios32
861.1Sfvdlfile	arch/amd64/amd64/bios32.c		bios32 needs-flag
871.1Sfvdl
881.1Sfvdl#
891.1Sfvdl# System bus types
901.1Sfvdl#
911.1Sfvdl
921.1Sfvdl# XXX BIOS32 only if something that uses it is configured!
931.13Sdrochnerdevice	mainbus: isabus, pcibus, bios32, acpibus, cpubus
941.1Sfvdlattach	mainbus at root
951.1Sfvdlfile	arch/amd64/amd64/mainbus.c		mainbus
961.1Sfvdl
971.1Sfvdldevice cpu
981.13Sdrochnerattach cpu at cpubus
991.1Sfvdlfile	arch/amd64/amd64/cpu.c		cpu
1001.7Sfvdl
1011.1Sfvdl#
1021.1Sfvdl# PCI-only drivers
1031.1Sfvdl# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
1041.1Sfvdl# XXX devices to 'pci'.
1051.1Sfvdl#
1061.1Sfvdl
1071.1Sfvdlinclude	"dev/pci/files.pci"
1081.1Sfvdldefparam			PCI_CONF_MODE
1091.1Sfvdl
1101.1Sfvdl# PCI-Host bridge chipsets
1111.1Sfvdldevice	pchb: pcibus
1121.1Sfvdlattach	pchb at pci
1131.1Sfvdlfile	arch/amd64/pci/pchb.c			pchb
1141.21Stronfile	arch/x86/pci/pchb_rnd.c			pchb & rnd
1151.1Sfvdl
1161.1Sfvdl# PCI-ISA bridges
1171.1Sfvdldevice	pcib: isabus
1181.1Sfvdlattach	pcib at pci
1191.1Sfvdlfile	arch/amd64/pci/pcib.c			pcib
1201.1Sfvdl
1211.1Sfvdldevice 	aapic
1221.1Sfvdlattach 	aapic at pci
1231.12Sfvdlfile 	arch/x86/pci/aapic.c			aapic
1241.1Sfvdl
1251.1Sfvdl#
1261.1Sfvdl# ISA or ISA+PCI drivers
1271.1Sfvdl#
1281.1Sfvdl
1291.1Sfvdlinclude	"dev/isa/files.isa"
1301.1Sfvdl
1311.1Sfvdl# PC clock
1321.1Sfvdlfile	arch/amd64/isa/clock.c			isa
1331.1Sfvdl
1341.23Skardel# TSC timecounter support
1351.23Skardelfile	arch/x86/x86/tsc.c
1361.23Skardel
1371.1Sfvdl# attribute used to represent the "keyboard controller"
1381.1Sfvdl# XXX should be a real device
1391.1Sfvdldefine	pckbcport { [irq = -1], [port = -1] }
1401.1Sfvdl
1411.1Sfvdlinclude	"dev/wscons/files.wscons"
1421.1Sfvdlinclude "dev/wsfont/files.wsfont"
1431.1Sfvdl
1441.9Sbjh21include	"dev/pckbport/files.pckbport"
1451.1Sfvdl
1461.1Sfvdldevice	sysbeep
1471.1Sfvdlattach	sysbeep at pcppi
1481.1Sfvdl
1491.1Sfvdl# Floppy disk controller
1501.1Sfvdldevice	fdc {drive = -1}: isadma
1511.1Sfvdlfile	dev/isa/fd.c				fdc needs-flag
1521.1Sfvdl
1531.1Sfvdlattach	fdc at isa with fdc_isa
1541.1Sfvdlfile	dev/isa/fdc_isa.c			fdc_isa
1551.1Sfvdl
1561.1Sfvdldevice	fd: disk
1571.1Sfvdlattach	fd at fdc
1581.1Sfvdl
1591.1Sfvdl#
1601.1Sfvdl# Compatibility modules
1611.1Sfvdl#
1621.1Sfvdl
1631.1Sfvdl# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
1641.1Sfvdlinclude "compat/netbsd32/files.netbsd32"
1651.1Sfvdlfile	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32
1661.11Sdrochnerfile	arch/amd64/amd64/netbsd32_sigcode.S	compat_netbsd32 & compat_16
1671.1Sfvdlfile	arch/amd64/amd64/netbsd32_syscall.c	compat_netbsd32
1681.1Sfvdl
1691.15Sfvdl# Linux compatibility (COMPAT_LINUX)
1701.15Sfvdlinclude "compat/linux/files.linux"
1711.15Sfvdlinclude "compat/linux/arch/amd64/files.linux_amd64"
1721.15Sfvdlfile	arch/amd64/amd64/linux_sigcode.S		compat_linux
1731.15Sfvdlfile	arch/amd64/amd64/linux_syscall.c		compat_linux
1741.16Sfvdlfile	arch/x86/x86/linux_trap.c			compat_linux
1751.15Sfvdl
1761.20Smanu# Linux 32 bit compatibility (COMPAT_LINUX32)
1771.20Smanuinclude "compat/linux32/files.linux32"
1781.20Smanuinclude "compat/linux32/arch/amd64/files.linux32_amd64"
1791.20Smanufile	arch/amd64/amd64/linux32_sigcode.S		compat_linux32
1801.20Smanufile	arch/amd64/amd64/linux32_syscall.c		compat_linux32
1811.20Smanu
1821.1Sfvdl# OSS audio driver compatibility
1831.1Sfvdlinclude	"compat/ossaudio/files.ossaudio"
1841.1Sfvdl
1851.19Srjs#
1861.19Srjs# CARDBUS
1871.19Srjs#
1881.19Srjsinclude	"dev/cardbus/files.cardbus"
1891.19Srjsfile	arch/amd64/amd64/rbus_machdep.c	cardbus
1901.19Srjs
1911.19Srjs# this wants to be probed as late as possible.
1921.19Srjs#
1931.19Srjs# Machine-independent PCMCIA drivers
1941.19Srjs#
1951.19Srjsinclude	"dev/pcmcia/files.pcmcia"
1961.19Srjs
1971.1Sfvdlinclude	"dev/usb/files.usb"
1981.1Sfvdl
1991.1Sfvdlinclude	"dev/ieee1394/files.ieee1394"
2001.24Schristosinclude "dev/apm/files.apm"
2011.3Sfvdlinclude "dev/acpi/files.acpi"
2021.3Sfvdlfile	arch/amd64/acpi/acpi_wakeup.c	acpi
2031.1Sfvdl
2041.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
205