files.amd64 revision 1.74
11.74Schristos#	$NetBSD: files.amd64,v 1.74 2011/11/06 19:45:04 christos Exp $
21.1Sfvdl#
31.1Sfvdl# new style config file for amd64 architecture
41.1Sfvdl#
51.1Sfvdl
61.49Sbouyerifndef xen
71.49Sbouyer
81.1Sfvdl# maxpartitions must be first item in files.${ARCH}.newconf
91.1Sfvdlmaxpartitions 16
101.1Sfvdl
111.1Sfvdlmaxusers 2 16 128
121.1Sfvdl
131.1Sfvdl# delay before cpu_reset() for reboot.
141.1Sfvdldefparam		CPURESET_DELAY
151.1Sfvdl
161.1Sfvdl# The REAL{BASE,EXT}MEM options
171.1Sfvdldefparam opt_realmem.h	REALBASEMEM REALEXTMEM
181.1Sfvdl
191.52Sjoerg# The PHYSMEM_MAX_{SIZE,ADDR} optionms
201.52Sjoergdefparam opt_physmem.h	PHYSMEM_MAX_ADDR PHYSMEM_MAX_SIZE
211.52Sjoerg
221.1Sfvdl#
231.1Sfvdl# XXX these are just here at the moment so that we can share files
241.1Sfvdl# with the i386 (they include the opt_*.h for these)
251.1Sfvdl#
261.1Sfvdl
271.1Sfvdldefflag			USER_LDT
281.1Sfvdldefflag			VM86
291.2Sfvdldefflag eisa.h EISA
301.1Sfvdl
311.59Sadfile	arch/amd64/amd64/amd64func.S
321.1Sfvdlfile	arch/amd64/amd64/autoconf.c
331.44Sadfile	arch/amd64/amd64/busfunc.S
341.57Sjoergfile	arch/amd64/amd64/cpu_in_cksum.S		(inet | inet6) & cpu_in_cksum
351.57Sjoergfile	arch/amd64/amd64/cpufunc.S
361.1Sfvdlfile	arch/amd64/amd64/db_disasm.c		ddb
371.72Schristosfile	arch/amd64/amd64/db_interface.c		ddb
381.72Schristosfile	arch/amd64/amd64/db_machdep.c		ddb
391.1Sfvdlfile	arch/amd64/amd64/db_memrw.c		ddb | kgdb
401.53Sadfile	arch/amd64/amd64/kobj_machdep.c		modular
411.25Sfvdlfile	arch/amd64/amd64/kgdb_machdep.c		kgdb
421.5Sfvdlfile	kern/subr_disk_mbr.c			disk
431.1Sfvdlfile	arch/amd64/amd64/gdt.c
441.1Sfvdlfile	arch/amd64/amd64/machdep.c
451.1Sfvdlfile	arch/amd64/amd64/process_machdep.c
461.1Sfvdlfile	arch/amd64/amd64/trap.c
471.1Sfvdlfile	arch/amd64/amd64/fpu.c
481.31Sadfile	arch/amd64/amd64/lock_stubs.S
491.1Sfvdlfile	dev/cons.c
501.1Sfvdl
511.1Sfvdlfile	arch/amd64/amd64/mptramp.S        multiprocessor
521.1Sfvdl
531.1Sfvdl#
541.1Sfvdl# Machine-independent SCSI drivers
551.1Sfvdl#
561.1Sfvdl
571.1Sfvdlinclude	"dev/scsipi/files.scsipi"
581.1Sfvdl
591.1Sfvdl#
601.1Sfvdl# Machine-independent ATA drivers
611.1Sfvdl#
621.1Sfvdl
631.1Sfvdlinclude	"dev/ata/files.ata"
641.1Sfvdl
651.1Sfvdl# Memory Disk for install floppy
661.1Sfvdlfile	dev/md_root.c			memory_disk_hooks
671.1Sfvdl
681.1Sfvdl#
691.1Sfvdl# Machine-independent I2O drivers
701.1Sfvdl#
711.1Sfvdl
721.1Sfvdlinclude	"dev/i2o/files.i2o"
731.1Sfvdl
741.1Sfvdl# BIOS32 routines
751.1Sfvdldefine	bios32
761.1Sfvdlfile	arch/amd64/amd64/bios32.c		bios32 needs-flag
771.1Sfvdl
781.1Sfvdl#
791.1Sfvdl# System bus types
801.1Sfvdl#
811.1Sfvdl
821.1Sfvdl# XXX BIOS32 only if something that uses it is configured!
831.39Sbriggsdevice	mainbus: isabus, pcibus, bios32, acpibus, cpubus, ioapicbus, ipmibus
841.1Sfvdlattach	mainbus at root
851.1Sfvdlfile	arch/amd64/amd64/mainbus.c		mainbus
861.1Sfvdl
871.1Sfvdl#
881.1Sfvdl# PCI-only drivers
891.1Sfvdl# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
901.1Sfvdl# XXX devices to 'pci'.
911.1Sfvdl#
921.1Sfvdl
931.1Sfvdlinclude	"dev/pci/files.pci"
941.1Sfvdldefparam			PCI_CONF_MODE
951.30Schristosinclude "dev/pci/files.agp"
961.1Sfvdl
971.47Sxtraeme# x86 specific PCI hardware
981.47Sxtraemeinclude "arch/x86/pci/files.pci"
991.1Sfvdl
1001.1Sfvdl#
1011.1Sfvdl# ISA or ISA+PCI drivers
1021.1Sfvdl#
1031.1Sfvdl
1041.1Sfvdlinclude	"dev/isa/files.isa"
1051.1Sfvdl
1061.1Sfvdl# PC clock
1071.47Sxtraemefile 	arch/x86/isa/clock.c 			isa
1081.68Sbouyerfile	arch/x86/isa/rtc.c			isa
1091.1Sfvdl
1101.23Skardel# TSC timecounter support
1111.23Skardelfile	arch/x86/x86/tsc.c
1121.23Skardel
1131.1Sfvdl# attribute used to represent the "keyboard controller"
1141.1Sfvdl# XXX should be a real device
1151.1Sfvdldefine	pckbcport { [irq = -1], [port = -1] }
1161.1Sfvdl
1171.9Sbjh21include	"dev/pckbport/files.pckbport"
1181.1Sfvdl
1191.1Sfvdldevice	sysbeep
1201.1Sfvdlattach	sysbeep at pcppi
1211.1Sfvdl
1221.1Sfvdl# Floppy disk controller
1231.1Sfvdldevice	fdc {drive = -1}: isadma
1241.1Sfvdlfile	dev/isa/fd.c				fdc needs-flag
1251.1Sfvdl
1261.1Sfvdlattach	fdc at isa with fdc_isa
1271.1Sfvdlfile	dev/isa/fdc_isa.c			fdc_isa
1281.1Sfvdl
1291.1Sfvdldevice	fd: disk
1301.1Sfvdlattach	fd at fdc
1311.1Sfvdl
1321.1Sfvdl#
1331.1Sfvdl# Compatibility modules
1341.1Sfvdl#
1351.1Sfvdl
1361.1Sfvdl# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
1371.1Sfvdlinclude "compat/netbsd32/files.netbsd32"
1381.1Sfvdlfile	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32
1391.11Sdrochnerfile	arch/amd64/amd64/netbsd32_sigcode.S	compat_netbsd32 & compat_16
1401.1Sfvdlfile	arch/amd64/amd64/netbsd32_syscall.c	compat_netbsd32
1411.1Sfvdl
1421.15Sfvdl# Linux compatibility (COMPAT_LINUX)
1431.15Sfvdlinclude "compat/linux/files.linux"
1441.15Sfvdlinclude "compat/linux/arch/amd64/files.linux_amd64"
1451.15Sfvdlfile	arch/amd64/amd64/linux_sigcode.S		compat_linux
1461.15Sfvdlfile	arch/amd64/amd64/linux_syscall.c		compat_linux
1471.16Sfvdlfile	arch/x86/x86/linux_trap.c			compat_linux
1481.15Sfvdl
1491.20Smanu# Linux 32 bit compatibility (COMPAT_LINUX32)
1501.20Smanuinclude "compat/linux32/files.linux32"
1511.20Smanuinclude "compat/linux32/arch/amd64/files.linux32_amd64"
1521.20Smanufile	arch/amd64/amd64/linux32_sigcode.S		compat_linux32
1531.20Smanufile	arch/amd64/amd64/linux32_syscall.c		compat_linux32
1541.20Smanu
1551.74Schristos# SVR4 compatibility (COMPAT_SVR4)
1561.74Schristosinclude "compat/svr4/files.svr4"
1571.74Schristos
1581.74Schristos# SVR4 compatibility (COMPAT_SVR4_32)
1591.74Schristosinclude "compat/svr4_32/files.svr4_32"
1601.74Schristos
1611.1Sfvdl# OSS audio driver compatibility
1621.1Sfvdlinclude	"compat/ossaudio/files.ossaudio"
1631.1Sfvdl
1641.19Srjs#
1651.19Srjs# CARDBUS
1661.19Srjs#
1671.19Srjsinclude	"dev/cardbus/files.cardbus"
1681.19Srjsfile	arch/amd64/amd64/rbus_machdep.c	cardbus
1691.19Srjs
1701.19Srjs# this wants to be probed as late as possible.
1711.19Srjs#
1721.19Srjs# Machine-independent PCMCIA drivers
1731.19Srjs#
1741.19Srjsinclude	"dev/pcmcia/files.pcmcia"
1751.19Srjs
1761.1Sfvdlinclude	"dev/usb/files.usb"
1771.1Sfvdl
1781.29Splunkyinclude "dev/bluetooth/files.bluetooth"
1791.29Splunky
1801.67Snonakainclude "dev/sdmmc/files.sdmmc"
1811.67Snonaka
1821.67Snonakainclude "dev/ieee1394/files.ieee1394"
1831.24Schristosinclude "dev/apm/files.apm"
1841.3Sfvdlinclude "dev/acpi/files.acpi"
1851.50Sjmcneillfile	arch/amd64/acpi/acpi_wakeup_low.S	acpi
1861.1Sfvdl
1871.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
1881.49Sbouyerendif #xen
189