files.amd64 revision 1.28
11.28Sperry#	$NetBSD: files.amd64,v 1.28 2006/09/04 02:16:03 perry 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.1Sfvdl
1081.1Sfvdl# PCI-Host bridge chipsets
1091.1Sfvdldevice	pchb: pcibus
1101.1Sfvdlattach	pchb at pci
1111.1Sfvdlfile	arch/amd64/pci/pchb.c			pchb
1121.21Stronfile	arch/x86/pci/pchb_rnd.c			pchb & rnd
1131.1Sfvdl
1141.1Sfvdl# PCI-ISA bridges
1151.1Sfvdldevice	pcib: isabus
1161.1Sfvdlattach	pcib at pci
1171.1Sfvdlfile	arch/amd64/pci/pcib.c			pcib
1181.1Sfvdl
1191.1Sfvdldevice 	aapic
1201.1Sfvdlattach 	aapic at pci
1211.12Sfvdlfile 	arch/x86/pci/aapic.c			aapic
1221.1Sfvdl
1231.1Sfvdl#
1241.1Sfvdl# ISA or ISA+PCI drivers
1251.1Sfvdl#
1261.1Sfvdl
1271.1Sfvdlinclude	"dev/isa/files.isa"
1281.1Sfvdl
1291.1Sfvdl# PC clock
1301.28Sperryfile	arch/x86/isa/clock.c			isa
1311.1Sfvdl
1321.23Skardel# TSC timecounter support
1331.23Skardelfile	arch/x86/x86/tsc.c
1341.23Skardel
1351.1Sfvdl# attribute used to represent the "keyboard controller"
1361.1Sfvdl# XXX should be a real device
1371.1Sfvdldefine	pckbcport { [irq = -1], [port = -1] }
1381.1Sfvdl
1391.1Sfvdlinclude	"dev/wscons/files.wscons"
1401.1Sfvdlinclude "dev/wsfont/files.wsfont"
1411.1Sfvdl
1421.9Sbjh21include	"dev/pckbport/files.pckbport"
1431.1Sfvdl
1441.1Sfvdldevice	sysbeep
1451.1Sfvdlattach	sysbeep at pcppi
1461.1Sfvdl
1471.1Sfvdl# Floppy disk controller
1481.1Sfvdldevice	fdc {drive = -1}: isadma
1491.1Sfvdlfile	dev/isa/fd.c				fdc needs-flag
1501.1Sfvdl
1511.1Sfvdlattach	fdc at isa with fdc_isa
1521.1Sfvdlfile	dev/isa/fdc_isa.c			fdc_isa
1531.1Sfvdl
1541.1Sfvdldevice	fd: disk
1551.1Sfvdlattach	fd at fdc
1561.1Sfvdl
1571.1Sfvdl#
1581.1Sfvdl# Compatibility modules
1591.1Sfvdl#
1601.1Sfvdl
1611.1Sfvdl# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
1621.1Sfvdlinclude "compat/netbsd32/files.netbsd32"
1631.1Sfvdlfile	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32
1641.11Sdrochnerfile	arch/amd64/amd64/netbsd32_sigcode.S	compat_netbsd32 & compat_16
1651.1Sfvdlfile	arch/amd64/amd64/netbsd32_syscall.c	compat_netbsd32
1661.1Sfvdl
1671.15Sfvdl# Linux compatibility (COMPAT_LINUX)
1681.15Sfvdlinclude "compat/linux/files.linux"
1691.15Sfvdlinclude "compat/linux/arch/amd64/files.linux_amd64"
1701.15Sfvdlfile	arch/amd64/amd64/linux_sigcode.S		compat_linux
1711.15Sfvdlfile	arch/amd64/amd64/linux_syscall.c		compat_linux
1721.16Sfvdlfile	arch/x86/x86/linux_trap.c			compat_linux
1731.15Sfvdl
1741.20Smanu# Linux 32 bit compatibility (COMPAT_LINUX32)
1751.20Smanuinclude "compat/linux32/files.linux32"
1761.20Smanuinclude "compat/linux32/arch/amd64/files.linux32_amd64"
1771.20Smanufile	arch/amd64/amd64/linux32_sigcode.S		compat_linux32
1781.20Smanufile	arch/amd64/amd64/linux32_syscall.c		compat_linux32
1791.20Smanu
1801.1Sfvdl# OSS audio driver compatibility
1811.1Sfvdlinclude	"compat/ossaudio/files.ossaudio"
1821.1Sfvdl
1831.19Srjs#
1841.19Srjs# CARDBUS
1851.19Srjs#
1861.19Srjsinclude	"dev/cardbus/files.cardbus"
1871.19Srjsfile	arch/amd64/amd64/rbus_machdep.c	cardbus
1881.19Srjs
1891.19Srjs# this wants to be probed as late as possible.
1901.19Srjs#
1911.19Srjs# Machine-independent PCMCIA drivers
1921.19Srjs#
1931.19Srjsinclude	"dev/pcmcia/files.pcmcia"
1941.19Srjs
1951.1Sfvdlinclude	"dev/usb/files.usb"
1961.1Sfvdl
1971.1Sfvdlinclude	"dev/ieee1394/files.ieee1394"
1981.24Schristosinclude "dev/apm/files.apm"
1991.3Sfvdlinclude "dev/acpi/files.acpi"
2001.3Sfvdlfile	arch/amd64/acpi/acpi_wakeup.c	acpi
2011.1Sfvdl
2021.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
203