files.amd64 revision 1.5
11.5Sfvdl#	$NetBSD: files.amd64,v 1.5 2003/08/20 21:48:52 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.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.3Sfvdldevice	mainbus: isabus, pcibus, mainbus, bios32, acpibus
941.1Sfvdlattach	mainbus at root
951.1Sfvdlfile	arch/amd64/amd64/mainbus.c		mainbus
961.1Sfvdl
971.1Sfvdldefine cpu { [apid = -1] }
981.1Sfvdldevice cpu
991.1Sfvdlattach cpu at mainbus
1001.1Sfvdlfile	arch/amd64/amd64/cpu.c		cpu
1011.1Sfvdl
1021.1Sfvdl#
1031.1Sfvdl# PCI-only drivers
1041.1Sfvdl# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
1051.1Sfvdl# XXX devices to 'pci'.
1061.1Sfvdl#
1071.1Sfvdl
1081.1Sfvdlinclude	"dev/pci/files.pci"
1091.1Sfvdldefparam			PCI_CONF_MODE
1101.1Sfvdlfile	arch/amd64/pci/pciide_machdep.c	pciide
1111.1Sfvdl
1121.1Sfvdl# PCI-Host bridge chipsets
1131.1Sfvdldevice	pchb: pcibus
1141.1Sfvdlattach	pchb at pci
1151.1Sfvdlfile	arch/amd64/pci/pchb.c			pchb
1161.1Sfvdl
1171.1Sfvdl# PCI-ISA bridges
1181.1Sfvdldevice	pcib: isabus
1191.1Sfvdlattach	pcib at pci
1201.1Sfvdlfile	arch/amd64/pci/pcib.c			pcib
1211.1Sfvdl
1221.1Sfvdldevice 	aapic
1231.1Sfvdlattach 	aapic at pci
1241.1Sfvdlfile 	arch/amd64/pci/aapic.c			aapic
1251.1Sfvdl
1261.1Sfvdl#
1271.1Sfvdl# ISA or ISA+PCI drivers
1281.1Sfvdl#
1291.1Sfvdl
1301.1Sfvdlinclude	"dev/isa/files.isa"
1311.1Sfvdl
1321.1Sfvdl# XXX THE FOLLOWING BLOCK SHOULD GO INTO dev/pci/files.pci, BUT CANNOT
1331.1Sfvdl# XXX BECAUSE NOT 'lpt' IS DEFINED IN files.isa, RATHER THAN files.
1341.1Sfvdl# XXX (when the conf/files and files.isa bogons are fixed, this can
1351.1Sfvdl# XXX be fixed as well.)
1361.1Sfvdl
1371.1Sfvdlattach	lpt at puc with lpt_puc
1381.1Sfvdlfile	dev/pci/lpt_puc.c			lpt_puc
1391.1Sfvdl
1401.1Sfvdl# PC clock
1411.1Sfvdlfile	arch/amd64/isa/clock.c			isa
1421.1Sfvdl
1431.1Sfvdl# attribute used to represent the "keyboard controller"
1441.1Sfvdl# XXX should be a real device
1451.1Sfvdldefine	pckbcport { [irq = -1], [port = -1] }
1461.1Sfvdl
1471.1Sfvdlinclude	"dev/wscons/files.wscons"
1481.1Sfvdlinclude "dev/wsfont/files.wsfont"
1491.1Sfvdl
1501.1Sfvdlinclude	"dev/pckbc/files.pckbc"
1511.1Sfvdl
1521.1Sfvdldevice	sysbeep
1531.1Sfvdlattach	sysbeep at pcppi
1541.1Sfvdl
1551.1Sfvdl# Floppy disk controller
1561.1Sfvdldevice	fdc {drive = -1}: isadma
1571.1Sfvdlfile	dev/isa/fd.c				fdc needs-flag
1581.1Sfvdl
1591.1Sfvdlattach	fdc at isa with fdc_isa
1601.1Sfvdlfile	dev/isa/fdc_isa.c			fdc_isa
1611.1Sfvdl
1621.1Sfvdldevice	fd: disk
1631.1Sfvdlattach	fd at fdc
1641.1Sfvdl
1651.1Sfvdl#
1661.1Sfvdl# Compatibility modules
1671.1Sfvdl#
1681.1Sfvdl
1691.1Sfvdl# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
1701.1Sfvdlinclude "compat/netbsd32/files.netbsd32"
1711.1Sfvdlfile	arch/amd64/amd64/netbsd32_machdep.c	compat_netbsd32
1721.1Sfvdlfile	arch/amd64/amd64/netbsd32_sigcode.S	compat_netbsd32
1731.1Sfvdlfile	arch/amd64/amd64/netbsd32_syscall.c	compat_netbsd32
1741.1Sfvdl
1751.1Sfvdl# OSS audio driver compatibility
1761.1Sfvdlinclude	"compat/ossaudio/files.ossaudio"
1771.1Sfvdl
1781.1Sfvdlinclude	"dev/usb/files.usb"
1791.1Sfvdl
1801.1Sfvdlinclude	"dev/ieee1394/files.ieee1394"
1811.3Sfvdl
1821.3Sfvdlinclude "dev/acpi/files.acpi"
1831.3Sfvdlfile	arch/amd64/acpi/acpi_wakeup.c	acpi
1841.1Sfvdl
1851.1Sfvdlinclude	"arch/amd64/conf/majors.amd64"
186