files.amd64 revision 1.19
11.19Srjs#	$NetBSD: files.amd64,v 1.19 2005/12/21 22:35:41 rjs 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.5Sfvdlfile	kern/subr_disk_mbr.c			disk
361.1Sfvdlfile	arch/amd64/amd64/gdt.c
371.1Sfvdl
381.1Sfvdl#
391.1Sfvdl# XXXfvdl write the optimized versions for these.
401.1Sfvdl#
411.1Sfvdlfile	netinet/in_cksum.c			inet
421.1Sfvdlfile	netinet/in4_cksum.c			inet
431.1Sfvdl
441.1Sfvdlfile	arch/amd64/amd64/machdep.c
451.1Sfvdlfile	arch/amd64/amd64/identcpu.c
461.1Sfvdlfile	arch/amd64/amd64/math_emulate.c	math_emulate
471.1Sfvdlfile	arch/amd64/amd64/mem.c
481.1Sfvdlfile	netns/ns_cksum.c			ns
491.1Sfvdlfile	arch/amd64/amd64/pmap.c
501.1Sfvdlfile	arch/amd64/amd64/process_machdep.c
511.1Sfvdlfile	arch/amd64/amd64/procfs_machdep.c	procfs
521.1Sfvdlfile	arch/amd64/amd64/sys_machdep.c
531.1Sfvdlfile	arch/amd64/amd64/syscall.c
541.1Sfvdlfile	arch/amd64/amd64/trap.c
551.1Sfvdlfile	arch/amd64/amd64/vm_machdep.c
561.1Sfvdlfile	arch/amd64/amd64/fpu.c
571.1Sfvdlfile	dev/cons.c
581.1Sfvdlfile	kern/kern_microtime.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.1Sfvdl
1151.1Sfvdl# PCI-ISA bridges
1161.1Sfvdldevice	pcib: isabus
1171.1Sfvdlattach	pcib at pci
1181.1Sfvdlfile	arch/amd64/pci/pcib.c			pcib
1191.1Sfvdl
1201.1Sfvdldevice 	aapic
1211.1Sfvdlattach 	aapic at pci
1221.12Sfvdlfile 	arch/x86/pci/aapic.c			aapic
1231.1Sfvdl
1241.1Sfvdl#
1251.1Sfvdl# ISA or ISA+PCI drivers
1261.1Sfvdl#
1271.1Sfvdl
1281.1Sfvdlinclude	"dev/isa/files.isa"
1291.1Sfvdl
1301.1Sfvdl# PC clock
1311.1Sfvdlfile	arch/amd64/isa/clock.c			isa
1321.1Sfvdl
1331.1Sfvdl# attribute used to represent the "keyboard controller"
1341.1Sfvdl# XXX should be a real device
1351.1Sfvdldefine	pckbcport { [irq = -1], [port = -1] }
1361.1Sfvdl
1371.1Sfvdlinclude	"dev/wscons/files.wscons"
1381.1Sfvdlinclude "dev/wsfont/files.wsfont"
1391.1Sfvdl
1401.9Sbjh21include	"dev/pckbport/files.pckbport"
1411.1Sfvdl
1421.1Sfvdldevice	sysbeep
1431.1Sfvdlattach	sysbeep at pcppi
1441.1Sfvdl
1451.1Sfvdl# Floppy disk controller
1461.1Sfvdldevice	fdc {drive = -1}: isadma
1471.1Sfvdlfile	dev/isa/fd.c				fdc needs-flag
1481.1Sfvdl
1491.1Sfvdlattach	fdc at isa with fdc_isa
1501.1Sfvdlfile	dev/isa/fdc_isa.c			fdc_isa
1511.1Sfvdl
1521.1Sfvdldevice	fd: disk
1531.1Sfvdlattach	fd at fdc
1541.1Sfvdl
1551.1Sfvdl#
1561.1Sfvdl# Compatibility modules
1571.1Sfvdl#
1581.1Sfvdl
1591.1Sfvdl# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
1601.1Sfvdlinclude "compat/netbsd32/files.netbsd32"
1611.1Sfvdlfile	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32
1621.11Sdrochnerfile	arch/amd64/amd64/netbsd32_sigcode.S	compat_netbsd32 & compat_16
1631.1Sfvdlfile	arch/amd64/amd64/netbsd32_syscall.c	compat_netbsd32
1641.1Sfvdl
1651.15Sfvdl# Linux compatibility (COMPAT_LINUX)
1661.15Sfvdlinclude "compat/linux/files.linux"
1671.15Sfvdlinclude "compat/linux/arch/amd64/files.linux_amd64"
1681.15Sfvdlfile	arch/amd64/amd64/linux_sigcode.S		compat_linux
1691.15Sfvdlfile	arch/amd64/amd64/linux_syscall.c		compat_linux
1701.16Sfvdlfile	arch/x86/x86/linux_trap.c			compat_linux
1711.15Sfvdl
1721.1Sfvdl# OSS audio driver compatibility
1731.1Sfvdlinclude	"compat/ossaudio/files.ossaudio"
1741.1Sfvdl
1751.19Srjs#
1761.19Srjs# CARDBUS
1771.19Srjs#
1781.19Srjsinclude	"dev/cardbus/files.cardbus"
1791.19Srjsfile	arch/amd64/amd64/rbus_machdep.c	cardbus
1801.19Srjs
1811.19Srjs# this wants to be probed as late as possible.
1821.19Srjs#
1831.19Srjs# Machine-independent PCMCIA drivers
1841.19Srjs#
1851.19Srjsinclude	"dev/pcmcia/files.pcmcia"
1861.19Srjs
1871.1Sfvdlinclude	"dev/usb/files.usb"
1881.1Sfvdl
1891.1Sfvdlinclude	"dev/ieee1394/files.ieee1394"
1901.3Sfvdl
1911.3Sfvdlinclude "dev/acpi/files.acpi"
1921.3Sfvdlfile	arch/amd64/acpi/acpi_wakeup.c	acpi
1931.1Sfvdl
1941.17Ssekiya# Atheros 5210/5211/5212 Hardware Abstraction Layer (HAL)
1951.17Ssekiyaobject	/athhal-x86_64-elf.hal.o	ath
1961.17Ssekiya
1971.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
198