NetBSD/sys/arch/amd64/conf/files.amd64

183 lines
4.0 KiB
Plaintext
Raw Normal View History

# $NetBSD: files.amd64,v 1.15 2005/05/15 21:44:42 fvdl Exp $
#
# new style config file for amd64 architecture
#
# maxpartitions must be first item in files.${ARCH}.newconf
maxpartitions 16
maxusers 2 16 128
# delay before cpu_reset() for reboot.
defparam CPURESET_DELAY
# Large page size
defflag LARGEPAGES
# The REAL{BASE,EXT}MEM options
defparam opt_realmem.h REALBASEMEM REALEXTMEM
#
# XXX these are just here at the moment so that we can share files
# with the i386 (they include the opt_*.h for these)
#
defflag USER_LDT
defflag VM86
defflag eisa.h EISA
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
file kern/subr_disk_mbr.c disk
file arch/amd64/amd64/gdt.c
#
# XXXfvdl write the optimized versions for these.
#
2001-11-20 09:00:09 +03:00
file netinet/in_cksum.c inet
file netinet/in4_cksum.c inet
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
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
file dev/cons.c
file kern/kern_microtime.c
file arch/amd64/amd64/mptramp.S multiprocessor
file arch/amd64/amd64/ipifuncs.c multiprocessor
#
# Machine-independent SCSI drivers
#
include "dev/scsipi/files.scsipi"
#
# Machine-independent ATA drivers
#
include "dev/ata/files.ata"
# Memory Disk for install floppy
file dev/md_root.c memory_disk_hooks
#
# Machine-independent I2O drivers
#
include "dev/i2o/files.i2o"
# BIOS32 routines
define bios32
file arch/amd64/amd64/bios32.c bios32 needs-flag
#
# System bus types
#
# XXX BIOS32 only if something that uses it is configured!
device mainbus: isabus, pcibus, bios32, acpibus, cpubus
attach mainbus at root
file arch/amd64/amd64/mainbus.c mainbus
device cpu
attach cpu at cpubus
file arch/amd64/amd64/cpu.c cpu
#
# 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"
defparam PCI_CONF_MODE
# PCI-Host bridge chipsets
device pchb: pcibus
attach pchb at pci
file arch/amd64/pci/pchb.c pchb
# PCI-ISA bridges
device pcib: isabus
attach pcib at pci
file arch/amd64/pci/pcib.c pcib
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
#
# ISA or ISA+PCI drivers
#
include "dev/isa/files.isa"
# PC clock
file arch/amd64/isa/clock.c isa
# attribute used to represent the "keyboard controller"
# XXX should be a real device
define pckbcport { [irq = -1], [port = -1] }
include "dev/wscons/files.wscons"
include "dev/wsfont/files.wsfont"
include "dev/pckbport/files.pckbport"
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
attach fdc at isa with fdc_isa
2001-11-20 09:00:09 +03:00
file dev/isa/fdc_isa.c fdc_isa
device fd: disk
attach fd at fdc
#
# Compatibility modules
#
# NetBSD/i386 32-bit binary compatibility (COMPAT_NETBSD32)
include "compat/netbsd32/files.netbsd32"
file arch/amd64/amd64/netbsd32_machdep.c compat_netbsd32
file arch/amd64/amd64/netbsd32_sigcode.S compat_netbsd32 & compat_16
file arch/amd64/amd64/netbsd32_syscall.c compat_netbsd32
# 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
# OSS audio driver compatibility
include "compat/ossaudio/files.ossaudio"
include "dev/usb/files.usb"
include "dev/ieee1394/files.ieee1394"
include "dev/acpi/files.acpi"
file arch/amd64/acpi/acpi_wakeup.c acpi
include "arch/amd64/conf/majors.amd64"