files.amd64 revision 1.30
11.30Schristos#	$NetBSD: files.amd64,v 1.30 2006/12/18 12:08:05 christos 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# XXX these are just here at the moment so that we can share files
221.1Sfvdl# with the i386 (they include the opt_*.h for these)
231.1Sfvdl#
241.1Sfvdl
251.1Sfvdldefflag			USER_LDT
261.1Sfvdldefflag			VM86
271.2Sfvdldefflag eisa.h EISA
281.1Sfvdl
291.1Sfvdlfile	arch/amd64/amd64/autoconf.c
301.1Sfvdlfile	arch/amd64/amd64/db_disasm.c		ddb
311.1Sfvdlfile	arch/amd64/amd64/db_interface.c	ddb
321.1Sfvdlfile	arch/amd64/amd64/db_memrw.c		ddb | kgdb
331.1Sfvdlfile	arch/amd64/amd64/db_trace.c		ddb
341.25Sfvdlfile	arch/amd64/amd64/kgdb_machdep.c		kgdb
351.5Sfvdlfile	kern/subr_disk_mbr.c			disk
361.1Sfvdlfile	arch/amd64/amd64/gdt.c
371.1Sfvdl#
381.1Sfvdl# XXXfvdl write the optimized versions for these.
391.1Sfvdl#
401.1Sfvdlfile	netinet/in_cksum.c			inet
411.1Sfvdlfile	netinet/in4_cksum.c			inet
421.1Sfvdl
431.1Sfvdlfile	arch/amd64/amd64/machdep.c
441.1Sfvdlfile	arch/amd64/amd64/identcpu.c
451.1Sfvdlfile	arch/amd64/amd64/math_emulate.c	math_emulate
461.1Sfvdlfile	arch/amd64/amd64/mem.c
471.1Sfvdlfile	netns/ns_cksum.c			ns
481.1Sfvdlfile	arch/amd64/amd64/pmap.c
491.1Sfvdlfile	arch/amd64/amd64/process_machdep.c
501.1Sfvdlfile	arch/amd64/amd64/procfs_machdep.c	procfs
511.1Sfvdlfile	arch/amd64/amd64/sys_machdep.c
521.1Sfvdlfile	arch/amd64/amd64/syscall.c
531.1Sfvdlfile	arch/amd64/amd64/trap.c
541.1Sfvdlfile	arch/amd64/amd64/vm_machdep.c
551.1Sfvdlfile	arch/amd64/amd64/fpu.c
561.1Sfvdlfile	dev/cons.c
571.1Sfvdl
581.1Sfvdlfile	arch/amd64/amd64/mptramp.S        multiprocessor
591.1Sfvdlfile	arch/amd64/amd64/ipifuncs.c       multiprocessor
601.1Sfvdl
611.1Sfvdl#
621.1Sfvdl# Machine-independent SCSI drivers
631.1Sfvdl#
641.1Sfvdl
651.1Sfvdlinclude	"dev/scsipi/files.scsipi"
661.1Sfvdl
671.1Sfvdl#
681.1Sfvdl# Machine-independent ATA drivers
691.1Sfvdl#
701.1Sfvdl
711.1Sfvdlinclude	"dev/ata/files.ata"
721.1Sfvdl
731.1Sfvdl# Memory Disk for install floppy
741.1Sfvdlfile	dev/md_root.c			memory_disk_hooks
751.1Sfvdl
761.1Sfvdl#
771.1Sfvdl# Machine-independent I2O drivers
781.1Sfvdl#
791.1Sfvdl
801.1Sfvdlinclude	"dev/i2o/files.i2o"
811.1Sfvdl
821.1Sfvdl# BIOS32 routines
831.1Sfvdldefine	bios32
841.1Sfvdlfile	arch/amd64/amd64/bios32.c		bios32 needs-flag
851.1Sfvdl
861.1Sfvdl#
871.1Sfvdl# System bus types
881.1Sfvdl#
891.1Sfvdl
901.1Sfvdl# XXX BIOS32 only if something that uses it is configured!
911.13Sdrochnerdevice	mainbus: isabus, pcibus, bios32, acpibus, cpubus
921.1Sfvdlattach	mainbus at root
931.1Sfvdlfile	arch/amd64/amd64/mainbus.c		mainbus
941.1Sfvdl
951.1Sfvdldevice cpu
961.13Sdrochnerattach cpu at cpubus
971.1Sfvdlfile	arch/amd64/amd64/cpu.c		cpu
981.7Sfvdl
991.1Sfvdl#
1001.1Sfvdl# PCI-only drivers
1011.1Sfvdl# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
1021.1Sfvdl# XXX devices to 'pci'.
1031.1Sfvdl#
1041.1Sfvdl
1051.1Sfvdlinclude	"dev/pci/files.pci"
1061.1Sfvdldefparam			PCI_CONF_MODE
1071.30Schristosinclude "dev/pci/files.agp"
1081.30Schristosfile	arch/x86/pci/agp_machdep.c	agp
1091.1Sfvdl
1101.1Sfvdl# PCI-Host bridge chipsets
1111.30Schristosdevice	pchb: pcibus, agpbus, agp_i810, agp_intel, agp_sis, agp_via, agp_amd, agp_ali 
1121.1Sfvdlattach	pchb at pci
1131.30Schristosfile	arch/amd64/pci/pchb.c			pchb		needs-flag
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.28Sperryfile	arch/x86/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.29Splunkyinclude "dev/bluetooth/files.bluetooth"
2001.29Splunky
2011.1Sfvdlinclude	"dev/ieee1394/files.ieee1394"
2021.24Schristosinclude "dev/apm/files.apm"
2031.3Sfvdlinclude "dev/acpi/files.acpi"
2041.3Sfvdlfile	arch/amd64/acpi/acpi_wakeup.c	acpi
2051.1Sfvdl
2061.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
207