2005-05-16 01:44:41 +04:00
|
|
|
# $NetBSD: files.amd64,v 1.15 2005/05/15 21:44:42 fvdl Exp $
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
2003-04-26 22:39:25 +04:00
|
|
|
# new style config file for amd64 architecture
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
|
|
|
|
|
|
|
# maxpartitions must be first item in files.${ARCH}.newconf
|
|
|
|
maxpartitions 16
|
|
|
|
|
2003-03-06 02:55:57 +03:00
|
|
|
maxusers 2 16 128
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
# delay before cpu_reset() for reboot.
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam CPURESET_DELAY
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
# Large page size
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag LARGEPAGES
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-03-25 03:09:27 +03:00
|
|
|
# The REAL{BASE,EXT}MEM options
|
|
|
|
defparam opt_realmem.h REALBASEMEM REALEXTMEM
|
|
|
|
|
2003-03-06 02:55:57 +03:00
|
|
|
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
|
|
|
# XXX these are just here at the moment so that we can share files
|
|
|
|
# with the i386 (they include the opt_*.h for these)
|
|
|
|
#
|
|
|
|
|
2001-11-28 13:21:10 +03:00
|
|
|
defflag USER_LDT
|
|
|
|
defflag VM86
|
2003-05-03 18:24:52 +04:00
|
|
|
defflag eisa.h EISA
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/autoconf.c
|
|
|
|
file arch/amd64/amd64/db_disasm.c ddb
|
|
|
|
file arch/amd64/amd64/db_interface.c ddb
|
|
|
|
file arch/amd64/amd64/db_memrw.c ddb | kgdb
|
|
|
|
file arch/amd64/amd64/db_trace.c ddb
|
2003-08-21 01:48:35 +04:00
|
|
|
file kern/subr_disk_mbr.c disk
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/gdt.c
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
#
|
2003-03-06 02:55:57 +03:00
|
|
|
# XXXfvdl write the optimized versions for these.
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
2001-11-20 09:00:09 +03:00
|
|
|
file netinet/in_cksum.c inet
|
|
|
|
file netinet/in4_cksum.c inet
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/machdep.c
|
|
|
|
file arch/amd64/amd64/identcpu.c
|
|
|
|
file arch/amd64/amd64/math_emulate.c math_emulate
|
|
|
|
file arch/amd64/amd64/mem.c
|
2001-11-20 09:00:09 +03:00
|
|
|
file netns/ns_cksum.c ns
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/pmap.c
|
|
|
|
file arch/amd64/amd64/process_machdep.c
|
|
|
|
file arch/amd64/amd64/procfs_machdep.c procfs
|
|
|
|
file arch/amd64/amd64/sys_machdep.c
|
|
|
|
file arch/amd64/amd64/syscall.c
|
|
|
|
file arch/amd64/amd64/trap.c
|
|
|
|
file arch/amd64/amd64/vm_machdep.c
|
|
|
|
file arch/amd64/amd64/fpu.c
|
2001-06-19 04:19:12 +04:00
|
|
|
file dev/cons.c
|
2003-03-06 02:55:57 +03:00
|
|
|
file kern/kern_microtime.c
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/mptramp.S multiprocessor
|
|
|
|
file arch/amd64/amd64/ipifuncs.c multiprocessor
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent SCSI drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/scsipi/files.scsipi"
|
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent ATA drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/ata/files.ata"
|
|
|
|
|
|
|
|
# Memory Disk for install floppy
|
2003-03-06 02:55:57 +03:00
|
|
|
file dev/md_root.c memory_disk_hooks
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# Machine-independent I2O drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/i2o/files.i2o"
|
|
|
|
|
|
|
|
# BIOS32 routines
|
|
|
|
define bios32
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/bios32.c bios32 needs-flag
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
#
|
|
|
|
# System bus types
|
|
|
|
#
|
|
|
|
|
|
|
|
# XXX BIOS32 only if something that uses it is configured!
|
2004-08-30 19:05:15 +04:00
|
|
|
device mainbus: isabus, pcibus, bios32, acpibus, cpubus
|
2001-06-19 04:19:12 +04:00
|
|
|
attach mainbus at root
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/mainbus.c mainbus
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-03-06 02:55:57 +03:00
|
|
|
device cpu
|
2004-08-30 19:05:15 +04:00
|
|
|
attach cpu at cpubus
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/cpu.c cpu
|
2003-03-06 02:55:57 +03:00
|
|
|
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
|
|
|
# PCI-only drivers
|
|
|
|
# XXX MUST BE INCLUDED BEFORE files.isa, as long as files.isa attaches
|
|
|
|
# XXX devices to 'pci'.
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/pci/files.pci"
|
2001-11-28 13:21:10 +03:00
|
|
|
defparam PCI_CONF_MODE
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
# PCI-Host bridge chipsets
|
|
|
|
device pchb: pcibus
|
|
|
|
attach pchb at pci
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/pci/pchb.c pchb
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
# PCI-ISA bridges
|
|
|
|
device pcib: isabus
|
|
|
|
attach pcib at pci
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/pci/pcib.c pcib
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2003-04-24 22:54:54 +04:00
|
|
|
device aapic
|
|
|
|
attach aapic at pci
|
2004-04-18 22:36:56 +04:00
|
|
|
file arch/x86/pci/aapic.c aapic
|
2003-04-24 22:54:54 +04:00
|
|
|
|
2001-06-19 04:19:12 +04:00
|
|
|
#
|
|
|
|
# ISA or ISA+PCI drivers
|
|
|
|
#
|
|
|
|
|
|
|
|
include "dev/isa/files.isa"
|
|
|
|
|
|
|
|
# PC clock
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/isa/clock.c isa
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
# attribute used to represent the "keyboard controller"
|
|
|
|
# XXX should be a real device
|
|
|
|
define pckbcport { [irq = -1], [port = -1] }
|
|
|
|
|
|
|
|
include "dev/wscons/files.wscons"
|
2002-01-26 01:01:12 +03:00
|
|
|
include "dev/wsfont/files.wsfont"
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2004-03-13 20:31:33 +03:00
|
|
|
include "dev/pckbport/files.pckbport"
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
device sysbeep
|
|
|
|
attach sysbeep at pcppi
|
|
|
|
|
|
|
|
# Floppy disk controller
|
|
|
|
device fdc {drive = -1}: isadma
|
2001-11-20 09:00:09 +03:00
|
|
|
file dev/isa/fd.c fdc needs-flag
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
attach fdc at isa with fdc_isa
|
2001-11-20 09:00:09 +03:00
|
|
|
file dev/isa/fdc_isa.c fdc_isa
|
2001-06-19 04:19:12 +04:00
|
|
|
|
|
|
|
device fd: disk
|
|
|
|
attach fd at fdc
|
|
|
|
|
|
|
|
#
|
|
|
|
# Compatibility modules
|
|
|
|
#
|
|
|
|
|
|
|
|
# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
|
|
|
|
include "compat/netbsd32/files.netbsd32"
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32
|
2004-03-26 21:44:36 +03:00
|
|
|
file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16
|
2003-04-26 22:39:25 +04:00
|
|
|
file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32
|
2001-06-19 04:19:12 +04:00
|
|
|
|
2005-05-16 01:44:41 +04:00
|
|
|
# Linux compatibility (COMPAT_LINUX)
|
|
|
|
include "compat/linux/files.linux"
|
|
|
|
include "compat/linux/arch/amd64/files.linux_amd64"
|
|
|
|
file arch/amd64/amd64/linux_sigcode.S compat_linux
|
|
|
|
file arch/amd64/amd64/linux_syscall.c compat_linux
|
|
|
|
file arch/amd64/amd64/linux_trap.c compat_linux
|
|
|
|
|
2001-06-19 04:19:12 +04:00
|
|
|
# OSS audio driver compatibility
|
|
|
|
include "compat/ossaudio/files.ossaudio"
|
|
|
|
|
|
|
|
include "dev/usb/files.usb"
|
|
|
|
|
|
|
|
include "dev/ieee1394/files.ieee1394"
|
2002-09-06 17:18:43 +04:00
|
|
|
|
2003-05-12 01:39:00 +04:00
|
|
|
include "dev/acpi/files.acpi"
|
|
|
|
file arch/amd64/acpi/acpi_wakeup.c acpi
|
|
|
|
|
2003-04-26 22:39:25 +04:00
|
|
|
include "arch/amd64/conf/majors.amd64"
|