NetBSD/sys/conf/files
thorpej 66abe4217c Implement an activity log for malloc() and free(), useful for tracking
down "Data modified on freelist" and "muliple free" problems.

The log is activated by the MALLOCLOG option, and the size of the
event ring buffer is controlable via the MALLOGLOGSIZE option (default
is 100000 entries).

From Chris Demetriou, cleaned up a little by me per suggestions in the
e-mail from Chris that contained the code.
1998-01-21 22:24:32 +00:00

545 lines
15 KiB
Plaintext

# $NetBSD: files,v 1.165 1998/01/21 22:24:32 thorpej Exp $
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
# options understood by the machine-independent part of the kernel
# (note, these are case-sensitive)
defopt KMEMSTATS
defopt RTC_OFFSET
defopt TCP_RECVSPACE
defopt TCP_SENDSPACE
defopt UCONSOLE
defopt DEVPAGER
defopt SWAPPAGER
defopt VNODEPAGER
defopt opt_nfs_boot.h NFS_BOOT_BOOTP NFS_BOOT_BOOTPARAM NFS_BOOT_DHCP
NFS_BOOT_GATEWAY
defopt MROUTING
defopt TCP_COMPAT_42
defopt opt_malloclog.h MALLOCLOG MALLOCLOGSIZE
# generic attributes
define disk
define tape
define ifnet
define tty
define audio { }
define scsi {[channel = -1]}
define ata {[drive = -1]}
define atapi { }
define miibus { }
# audio device attributes
define mulaw
define auconv
# audio device, attaches to audio hardware driver
device audio class dull
attach audio at audio
# net device attributes - we have generic code for arc(net), ether(net),
# fddi, and atm.
define arc
define atm
define ether
define fddi
# devices ARPing IPv4 pull this in:
define arp
# Device description for machine-independent IPKDB code.
define ipkdb
device ipkdbif class dull: ipkdb
device ipkdbslip class dull: ipkdb
device ipkdbppp class dull: ipkdb
# Common files for any ipkdb support
file ipkdb/ipkdb_ipkdb.c ipkdb needs-flag
file ipkdb/ipkdb_if.c ipkdb
# Support for slip
file ipkdb/ipkdb_slip.c ipkdbslip needs-flag
# Support for ppp (for now only fake)
file ipkdb/ipkdb_ppp.c ipkdbppp needs-flag
# "Chipset" drivers. These are the bus-independent routines which
# contain the cfdrivers. Attachments are provided by files.<bus>
# Adaptec AIC-6[32]60 ICs
device aic class dull: scsi
file dev/ic/aic6360.c aic
# Adaptec 2[789]4X, 394X, aic7770 and aic78[5678]0 SCSI controllers
device ahc class dull: scsi
file dev/ic/aic7xxx.c ahc
# BusLogic MultiMaster and MultiMaster Ultra SCSI controllers
# (Must be declared before AHA to ensure bha probes before aha.
# Probing AHA first configures bhas as aha, via their AHA
# hardware-compatibility mode.)
device bha class dull: scsi
file dev/ic/bha.c bha
# Adaptec AHA-154x and AHA-164x controllers
# (must be after bha, see above)
device aha class dull: scsi
file dev/ic/aha.c aha
# Qlogic ISP 10x0 SCSI Controllers
device isp class dull: scsi
file dev/ic/isp.c isp
# UltraStor SCSI controllers
device uha class dull: scsi
file dev/ic/uha.c uha
# 3Com Etherlink-III Ethernet controller
device ep class ifnet: arp, ether, ifnet
file dev/ic/elink3.c ep
# DEC EtherWORKS III (LEMAC) Ethernet controllers
device lc class ifnet: arp, ether, ifnet
file dev/ic/lemac.c lc
# LANCE and PCnet Ethernet controllers
device le class ifnet: arp, ether, ifnet
file dev/ic/am7990.c le
# 8390-family Ethernet controllers
define dp8390nic
file dev/ic/dp8390.c dp8390nic
# NCR 5380 SCSI Bus Controller
define ncr5380sbc
file dev/ic/ncr5380sbc.c ncr5380sbc
# DEC FDDI Chipset
define pdq
file dev/ic/pdq.c pdq
file dev/ic/pdq_ifsubr.c pdq
# Cyclades Cyclom-8/16/32
device cy class tty: tty
file dev/ic/cy.c cy needs-flag
# Efficient Networks, Inc. ATM interface
device en class ifnet: atm, ifnet
file dev/ic/midway.c en
# NCR 53x9x or Emulex ESP SCSI Controller
define ncr53c9x
file dev/ic/ncr53c9x.c ncr53c9x
# Intel 82586 Ethernet Controller
define i82586
file dev/ic/i82586.c i82586
# SMC 91Cxx Ethernet Controller
device sm class ifnet: arp, ether, ifnet
file dev/ic/smc91cxx.c sm
# Interwave Am78C201 audio driver
define interwave
file dev/ic/interwave.c interwave
# TMS 320av110 MPEG2/audio driver
define tms320av110
file dev/ic/tms320av110.c tms320av110
# Novell NE2000-compatible Ethernet cards, based on the
# National Semiconductor DS8390.
device ne class ifnet: ether, ifnet, arp, dp8390nic
file dev/ic/ne2000.c ne
# 8250/16[45]50-based "com" ports
# XXX In a perfect world, this would be done with attributes
device com class tty: tty
file dev/ic/com.c com needs-flag
# Device description for i2c bus and i2c eeprom
define i2c
define i2c_eeprom
# XXX THE FOLLOWING BLOCK SHOULD BE UNCOMMENTED, BUT CANNOT
# XXX BECAUSE NOT ALL PORTS USE THE MI wdc DRIVER YET.
#
# # ESDI/IDE/etc. controllers
# device wdc class dull: ata, atapi
# file dev/ic/wdc.c
# wdc & (wd | !wd) needs-flag # XXX
# Attributes which machine-independent bus support can be attached to.
# These should be defined here, because some of these busses can have
# devices which provide these attributes, and we'd like to avoid hairy
# ordering constraints on inclusion of the busses' "files" files.
define isabus { } # ISA attachment
define eisabus { } # EISA attachment
define pcibus {[bus = -1]} # PCI attachment
define tcbus { } # TurboChannel attachment
# legitimate pseudo-devices
pseudo-device vnd: disk
pseudo-device ccd: disk
pseudo-device md: disk
pseudo-device pty: tty
pseudo-device tb: tty
pseudo-device rnd
pseudo-device loop: ifnet
pseudo-device sl: ifnet
pseudo-device ppp: ifnet
pseudo-device tun: ifnet
pseudo-device bpfilter: ifnet
pseudo-device strip: ifnet
pseudo-device ipfilter: ifnet
# kernel sources
file adosfs/adlookup.c adosfs
file adosfs/adutil.c adosfs
file adosfs/advfsops.c adosfs
file adosfs/advnops.c adosfs
file ddb/db_access.c ddb
file ddb/db_aout.c ddb
file ddb/db_break.c ddb
file ddb/db_command.c ddb
file ddb/db_elf.c ddb
file ddb/db_examine.c ddb
file ddb/db_expr.c ddb
file ddb/db_input.c ddb
file ddb/db_lex.c ddb
file ddb/db_output.c ddb
file ddb/db_print.c ddb
file ddb/db_run.c ddb
file ddb/db_sym.c ddb
file ddb/db_trap.c ddb
file ddb/db_variables.c ddb
file ddb/db_watch.c ddb
file ddb/db_write_cmd.c ddb
file ddb/db_xxx.c ddb
file dev/auconv.c auconv
file dev/audio.c audio needs-flag
file dev/ccd.c ccd needs-flag
file dev/md.c md needs-count
file dev/mulaw.c mulaw
file dev/vnd.c vnd needs-flag
file dev/rnd.c rnd needs-flag
file dev/rndpool.c rnd needs-flag
file dev/i2c/i2c_bus.c i2c
file dev/i2c/i2c_eeprom.c i2c_eeprom
file isofs/cd9660/cd9660_bmap.c cd9660
file isofs/cd9660/cd9660_lookup.c cd9660
file isofs/cd9660/cd9660_node.c cd9660
file isofs/cd9660/cd9660_rrip.c cd9660
file isofs/cd9660/cd9660_util.c cd9660
file isofs/cd9660/cd9660_vfsops.c cd9660
file isofs/cd9660/cd9660_vnops.c cd9660
file kern/exec_aout.c exec_aout
file kern/exec_conf.c
file kern/exec_ecoff.c exec_ecoff
file kern/exec_elf32.c exec_elf32
file kern/exec_elf64.c exec_elf64
file kern/exec_elf_common.c exec_elf32 | exec_elf64
file kern/exec_script.c exec_script
file kern/exec_subr.c
file kern/init_main.c
file kern/init_sysent.c
file kern/kern_acct.c
file kern/kern_clock.c
file kern/kern_descrip.c
file kern/kern_exec.c
file kern/kern_exit.c
file kern/kern_fork.c
file kern/kern_ktrace.c ktrace
file kern/kern_lkm.c lkm
file kern/kern_lock.c
file kern/kern_malloc.c
file kern/kern_ntptime.c
file kern/kern_physio.c
file kern/kern_proc.c
file kern/kern_prot.c
file kern/kern_resource.c
file kern/kern_sig.c
file kern/kern_subr.c
file kern/kern_synch.c
file kern/kern_sysctl.c
file kern/kern_time.c
file kern/kern_xxx.c
file kern/kgdb_stub.c kgdb
file kern/subr_autoconf.c
file kern/subr_disk.c
file kern/subr_extent.c
file kern/subr_log.c
file kern/subr_pool.c
file kern/subr_prf.c
file kern/subr_prof.c
file kern/subr_rmap.c
file kern/subr_xxx.c
file kern/sys_generic.c
file kern/sys_process.c
file kern/sys_socket.c
file kern/syscalls.c syscall_debug
file kern/sysv_ipc.c sysvshm | sysvsem | sysvmsg
file kern/sysv_msg.c sysvmsg
file kern/sysv_sem.c sysvsem
file kern/sysv_shm.c sysvshm
file kern/tty.c
file kern/tty_conf.c
file kern/tty_pty.c pty needs-count
file kern/tty_subr.c
file kern/tty_tb.c tb needs-count
file kern/tty_tty.c
file kern/uipc_domain.c
file kern/uipc_mbuf.c
file kern/uipc_proto.c
file kern/uipc_socket.c
file kern/uipc_socket2.c
file kern/uipc_syscalls.c
file kern/uipc_usrreq.c
file kern/vfs_bio.c
file kern/vfs_cache.c
file kern/vfs_cluster.c
file kern/vfs_conf.c
file kern/vfs_init.c
file kern/vfs_lockf.c
file kern/vfs_lookup.c
file kern/vfs_subr.c
file kern/vfs_syscalls.c
file kern/vfs_vnops.c
file kern/vnode_if.c
file miscfs/deadfs/dead_vnops.c
file miscfs/fdesc/fdesc_vfsops.c fdesc
file miscfs/fdesc/fdesc_vnops.c fdesc
file miscfs/fifofs/fifo_vnops.c fifo
file miscfs/genfs/genfs_vnops.c
file miscfs/kernfs/kernfs_vfsops.c kernfs
file miscfs/kernfs/kernfs_vnops.c kernfs
file miscfs/nullfs/null_subr.c nullfs
file miscfs/nullfs/null_vfsops.c nullfs
file miscfs/nullfs/null_vnops.c nullfs
file miscfs/portal/portal_vfsops.c portal
file miscfs/portal/portal_vnops.c portal
file miscfs/procfs/procfs_ctl.c procfs
file miscfs/procfs/procfs_fpregs.c
file miscfs/procfs/procfs_mem.c
file miscfs/procfs/procfs_note.c procfs
file miscfs/procfs/procfs_regs.c
file miscfs/procfs/procfs_status.c procfs
file miscfs/procfs/procfs_subr.c procfs
file miscfs/procfs/procfs_vfsops.c procfs
file miscfs/procfs/procfs_vnops.c procfs
file miscfs/specfs/spec_vnops.c
file miscfs/umapfs/umap_subr.c umapfs
file miscfs/umapfs/umap_vfsops.c umapfs
file miscfs/umapfs/umap_vnops.c umapfs
file miscfs/union/union_subr.c union
file miscfs/union/union_vfsops.c union
file miscfs/union/union_vnops.c union
file msdosfs/msdosfs_conv.c msdosfs
file msdosfs/msdosfs_denode.c msdosfs
file msdosfs/msdosfs_fat.c msdosfs
file msdosfs/msdosfs_lookup.c msdosfs
file msdosfs/msdosfs_vfsops.c msdosfs
file msdosfs/msdosfs_vnops.c msdosfs
file net/bpf.c bpfilter needs-count
file net/bpf_filter.c bpfilter | ppp
file net/bsd-comp.c ppp & ppp_bsdcomp
file net/if.c
file net/if_arcsubr.c arc needs-flag
file net/if_atmsubr.c atm needs-flag
file net/if_ethersubr.c ether | fddi needs-flag
file net/if_fddisubr.c fddi
file net/if_loop.c loop needs-count
file net/if_media.c
file net/if_sl.c sl needs-count
file net/if_strip.c strip needs-count
file net/if_ppp.c ppp needs-count
file net/if_tun.c tun needs-count
file net/pfil.c pfil_hooks | ipfilter
file net/ppp-deflate.c ppp & ppp_deflate
file net/ppp_tty.c ppp
file net/radix.c
file net/raw_cb.c
file net/raw_usrreq.c
file net/route.c
file net/rtsock.c
file net/slcompress.c sl | ppp | strip
file net/zlib.c ppp & ppp_deflate
file netccitt/ccitt_proto.c ccitt
file netccitt/hd_debug.c hdlc
file netccitt/hd_input.c hdlc
file netccitt/hd_output.c hdlc
file netccitt/hd_subr.c hdlc
file netccitt/hd_timer.c hdlc
file netccitt/if_x25subr.c ccitt
file netccitt/llc_input.c llc
file netccitt/llc_output.c llc
file netccitt/llc_subr.c llc
file netccitt/llc_timer.c llc
file netccitt/pk_acct.c ccitt
file netccitt/pk_debug.c ccitt
file netccitt/pk_input.c ccitt
file netccitt/pk_llcsubr.c llc | hdlc
file netccitt/pk_output.c ccitt
file netccitt/pk_subr.c ccitt
file netccitt/pk_timer.c ccitt
file netccitt/pk_usrreq.c ccitt
file netinet/if_arp.c arp needs-flag
file netinet/if_atm.c atm
file netinet/igmp.c inet
file netinet/in.c inet
file netinet/in_pcb.c inet
file netinet/in_proto.c inet
file netinet/ip_icmp.c inet
file netinet/ip_input.c inet
file netinet/ip_mroute.c inet & mrouting
file netinet/ip_output.c inet
file netinet/raw_ip.c inet
file netinet/tcp_debug.c inet
file netinet/tcp_input.c inet
file netinet/tcp_output.c inet
file netinet/tcp_subr.c inet
file netinet/tcp_timer.c inet
file netinet/tcp_usrreq.c inet
file netinet/udp_usrreq.c inet
file netinet/ip_auth.c ipfilter needs-flag
file netinet/ip_fil.c ipfilter
file netinet/fil.c ipfilter
file netinet/ip_nat.c ipfilter
file netinet/ip_frag.c ipfilter
file netinet/ip_log.c ipfilter & ipfilter_log
file netinet/ip_proxy.c ipfilter
file netinet/ip_state.c ipfilter
file netatalk/aarp.c netatalk
file netatalk/at_control.c netatalk
file netatalk/at_proto.c netatalk
file netatalk/at_rmx.c netatalkdebug
file netatalk/ddp_input.c netatalk
file netatalk/ddp_output.c netatalk
file netatalk/ddp_usrreq.c netatalk
file netiso/clnp_debug.c iso
file netiso/clnp_er.c iso
file netiso/clnp_frag.c iso
file netiso/clnp_input.c iso
file netiso/clnp_options.c iso
file netiso/clnp_output.c iso
file netiso/clnp_raw.c iso
file netiso/clnp_subr.c iso
file netiso/clnp_timer.c iso
file netiso/cltp_usrreq.c iso
file netiso/esis.c iso
file netiso/idrp_usrreq.c iso
file netiso/if_cons.c iso
file netiso/if_eon.c eon
file netiso/iso.c iso
file netiso/iso_chksum.c iso
file netiso/iso_pcb.c iso
file netiso/iso_proto.c iso
file netiso/iso_snpac.c iso
file netiso/tp_astring.c iso | tpip
file netiso/tp_cons.c iso
file netiso/tp_driver.c iso | tpip
file netiso/tp_emit.c iso | tpip
file netiso/tp_inet.c iso | tpip
file netiso/tp_input.c iso | tpip
file netiso/tp_iso.c iso
file netiso/tp_meas.c iso | tpip
file netiso/tp_output.c iso | tpip
file netiso/tp_pcb.c iso | tpip
file netiso/tp_subr.c iso | tpip
file netiso/tp_subr2.c iso | tpip
file netiso/tp_timer.c iso | tpip
file netiso/tp_trace.c iso | tpip
file netiso/tp_usrreq.c iso | tpip
file netiso/tuba_subr.c iso | tuba
file netiso/tuba_table.c iso | tuba
file netiso/tuba_usrreq.c iso | tuba
file netnatm/natm.c natm
file netnatm/natm_pcb.c natm
file netnatm/natm_proto.c natm
file netns/idp_usrreq.c ns
file netns/ns.c ns
file netns/ns_error.c ns
file netns/ns_input.c ns
file netns/ns_ip.c ns
file netns/ns_output.c ns
file netns/ns_pcb.c ns
file netns/ns_proto.c ns
file netns/spp_debug.c ns
file netns/spp_usrreq.c ns
file nfs/krpc_subr.c nfs
file nfs/nfs_bio.c nfs
file nfs/nfs_boot.c nfs
file nfs/nfs_bootdhcp.c nfs & (nfs_boot_bootp | nfs_boot_dhcp)
file nfs/nfs_bootparam.c nfs & nfs_boot_bootparam
file nfs/nfs_node.c nfs
file nfs/nfs_nqlease.c nfsserver | nfs
file nfs/nfs_serv.c nfsserver
file nfs/nfs_socket.c nfsserver | nfs
file nfs/nfs_srvcache.c nfsserver
file nfs/nfs_subs.c nfsserver | nfs
file nfs/nfs_syscalls.c nfsserver | nfs
file nfs/nfs_vfsops.c nfs
file nfs/nfs_vnops.c nfs
file ufs/ext2fs/ext2fs_alloc.c ext2fs
file ufs/ext2fs/ext2fs_balloc.c ext2fs
file ufs/ext2fs/ext2fs_bmap.c ext2fs
file ufs/ext2fs/ext2fs_bswap.c ext2fs
file ufs/ext2fs/ext2fs_inode.c ext2fs
file ufs/ext2fs/ext2fs_lookup.c ext2fs
file ufs/ext2fs/ext2fs_readwrite.c ext2fs
file ufs/ext2fs/ext2fs_subr.c ext2fs
file ufs/ext2fs/ext2fs_vfsops.c ext2fs
file ufs/ext2fs/ext2fs_vnops.c ext2fs
file ufs/ffs/ffs_alloc.c ffs | mfs
file ufs/ffs/ffs_balloc.c ffs | mfs
file ufs/ffs/ffs_inode.c ffs | mfs
file ufs/ffs/ffs_subr.c ffs | mfs
file ufs/ffs/ffs_tables.c ffs | mfs
file ufs/ffs/ffs_vfsops.c ffs | mfs
file ufs/ffs/ffs_vnops.c ffs | mfs
file ufs/lfs/lfs_alloc.c lfs
file ufs/lfs/lfs_bio.c lfs
file ufs/lfs/lfs_balloc.c lfs
file ufs/lfs/lfs_cksum.c lfs
file ufs/lfs/lfs_debug.c lfs
file ufs/lfs/lfs_inode.c lfs
file ufs/lfs/lfs_segment.c lfs
file ufs/lfs/lfs_subr.c lfs
file ufs/lfs/lfs_syscalls.c lfs
file ufs/lfs/lfs_vfsops.c lfs
file ufs/lfs/lfs_vnops.c lfs
file ufs/mfs/mfs_vfsops.c mfs
file ufs/mfs/mfs_vnops.c mfs
file ufs/ufs/ufs_bmap.c ffs | lfs | mfs | ext2fs
file ufs/ufs/ufs_ihash.c ffs | lfs | mfs | ext2fs
file ufs/ufs/ufs_inode.c ffs | lfs | mfs
file ufs/ufs/ufs_lookup.c ffs | lfs | mfs | ext2fs
file ufs/ufs/ufs_quota.c quota & (ffs | lfs | mfs)
file ufs/ufs/ufs_vfsops.c ffs | lfs | mfs | ext2fs
file ufs/ufs/ufs_vnops.c ffs | lfs | mfs | ext2fs
file vm/device_pager.c devpager
file vm/swap_pager.c swappager
file vm/vm_fault.c
file vm/vm_glue.c
file vm/vm_init.c
file vm/vm_kern.c
file vm/vm_map.c
file vm/vm_meter.c
file vm/vm_mmap.c
file vm/vm_object.c
file vm/vm_page.c
file vm/vm_pageout.c
file vm/vm_pager.c
file vm/vm_swap.c
file vm/vm_unix.c
file vm/vm_user.c
file vm/vnode_pager.c vnodepager