diff options
| author | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-24 10:09:53 +0000 |
|---|---|---|
| committer | Rodney W. Grimes <rgrimes@FreeBSD.org> | 1994-05-24 10:09:53 +0000 |
| commit | df8bae1de4b67ccf57f4afebd4e2bf258c38910d (patch) | |
| tree | 7b1a8eb5b08af4b9f7bac45ad41398687df2c351 /sys/conf | |
| parent | 59deaec541ae8baaa58daf6c5a2196ea7de180c3 (diff) | |
Notes
Diffstat (limited to 'sys/conf')
| -rw-r--r-- | sys/conf/defines | 15 | ||||
| -rw-r--r-- | sys/conf/files | 274 | ||||
| -rw-r--r-- | sys/conf/files.newconf | 274 | ||||
| -rw-r--r-- | sys/conf/newvers.sh | 48 | ||||
| -rw-r--r-- | sys/conf/nfsswapvmunix.c | 152 | ||||
| -rw-r--r-- | sys/conf/param.c | 145 | ||||
| -rw-r--r-- | sys/conf/systags.sh | 72 |
7 files changed, 980 insertions, 0 deletions
diff --git a/sys/conf/defines b/sys/conf/defines new file mode 100644 index 0000000000000..ea7046324e3bb --- /dev/null +++ b/sys/conf/defines @@ -0,0 +1,15 @@ +/:#if.*[ \t]*KPROF/d +/:#if.*[ \t]*PGINPROF/d +/:#if.*[ \t]*UNFAST/d +/:#if.*[ \t]*INSECURE/d +/:#if.*[ \t]*TRACE/d +/:#if.*[ \t]*DISKMON/d +/:#if.*[ \t]*INTRLVE/d +/:#if.*[ \t]*lint/d +/:#if.*[ \t]*notdef/d +/:#if.*[ \t]*unneeded/d +/:#if.*[ \t]*vax/d +/:#if.*[ \t]*TCPTRUEOOB/d +/:#if.*[ \t]*irele/d +/:#if.*[ \t]*ilock/d +/:#if.*[ \t]*notyet/d diff --git a/sys/conf/files b/sys/conf/files new file mode 100644 index 0000000000000..c083f2e1deeee --- /dev/null +++ b/sys/conf/files @@ -0,0 +1,274 @@ +isofs/cd9660/cd9660_bmap.c optional cd9660 +isofs/cd9660/cd9660_lookup.c optional cd9660 +isofs/cd9660/cd9660_node.c optional cd9660 +isofs/cd9660/cd9660_rrip.c optional cd9660 +isofs/cd9660/cd9660_util.c optional cd9660 +isofs/cd9660/cd9660_vfsops.c optional cd9660 +isofs/cd9660/cd9660_vnops.c optional cd9660 +kdb/kdb_access.c optional kadb +kdb/kdb_command.c optional kadb +kdb/kdb_ctype.c optional kadb +kdb/kdb_expr.c optional kadb +kdb/kdb_format.c optional kadb +kdb/kdb_input.c optional kadb +kdb/kdb_message.c optional kadb +kdb/kdb_output.c optional kadb +kdb/kdb_pcs.c optional kadb +kdb/kdb_print.c optional kadb +kdb/kdb_runpcs.c optional kadb +kdb/kdb_sym.c optional kadb +kdb/kdb_trap.c optional kadb +kern/init_main.c standard +kern/init_sysent.c standard +kern/kern_acct.c standard +kern/kern_clock.c standard +kern/kern_descrip.c standard +kern/kern_exec.c standard +kern/kern_exit.c standard +kern/kern_fork.c standard +kern/kern_ktrace.c standard +kern/kern_malloc.c standard +kern/kern_physio.c standard +kern/kern_proc.c standard +kern/kern_prot.c standard +kern/kern_resource.c standard +kern/kern_sig.c standard +kern/kern_subr.c standard +kern/kern_synch.c standard +kern/kern_sysctl.c standard +kern/kern_time.c standard +kern/kern_xxx.c standard +kern/subr_log.c standard +kern/subr_prf.c standard +kern/subr_prof.c standard +kern/subr_rmap.c standard +kern/subr_xxx.c standard +kern/sys_generic.c standard +kern/sys_process.c standard +kern/sys_socket.c standard +kern/sysv_shm.c optional sysvshm +kern/tty.c standard +kern/tty_compat.c standard +kern/tty_conf.c standard +kern/tty_pty.c optional pty +kern/tty_subr.c standard +kern/tty_tb.c optional tb +kern/tty_tty.c standard +kern/uipc_domain.c standard +kern/uipc_mbuf.c standard +kern/uipc_proto.c standard +kern/uipc_socket.c standard +kern/uipc_socket2.c standard +kern/uipc_syscalls.c standard +kern/uipc_usrreq.c standard +kern/vfs_bio.c standard +kern/vfs_cache.c standard +kern/vfs_cluster.c standard +kern/vfs_conf.c standard +kern/vfs_init.c standard +kern/vfs_lookup.c standard +kern/vfs_subr.c standard +kern/vfs_syscalls.c standard +kern/vfs_vnops.c standard +miscfs/deadfs/dead_vnops.c standard +miscfs/fdesc/fdesc_vfsops.c optional fdesc +miscfs/fdesc/fdesc_vnops.c optional fdesc +miscfs/fifofs/fifo_vnops.c optional fifo +miscfs/kernfs/kernfs_vfsops.c optional kernfs +miscfs/kernfs/kernfs_vnops.c optional kernfs +miscfs/nullfs/null_subr.c optional nullfs +miscfs/nullfs/null_vfsops.c optional nullfs +miscfs/nullfs/null_vnops.c optional nullfs +miscfs/portal/portal_vfsops.c optional portal +miscfs/portal/portal_vnops.c optional portal +miscfs/procfs/procfs_subr.c optional procfs +miscfs/procfs/procfs_vnops.c optional procfs +miscfs/procfs/procfs_vfsops.c optional procfs +miscfs/procfs/procfs_note.c optional procfs +miscfs/procfs/procfs_mem.c optional procfs +miscfs/procfs/procfs_ctl.c optional procfs +miscfs/procfs/procfs_status.c optional procfs +miscfs/procfs/procfs_regs.c optional procfs +miscfs/procfs/procfs_fpregs.c optional procfs +miscfs/specfs/spec_vnops.c standard +miscfs/umapfs/umap_subr.c optional umapfs +miscfs/umapfs/umap_vfsops.c optional umapfs +miscfs/umapfs/umap_vnops.c optional umapfs +miscfs/union/union_subr.c optional union +miscfs/union/union_vfsops.c optional union +miscfs/union/union_vnops.c optional union +net/bpf.c optional bpfilter +net/bpf_filter.c optional bpfilter +net/if.c standard +net/if_ethersubr.c optional ether +net/if_loop.c optional loop +net/if_sl.c optional sl +net/radix.c standard +net/raw_cb.c standard +net/raw_usrreq.c standard +net/route.c standard +net/rtsock.c standard +net/slcompress.c optional sl +netccitt/ccitt_proto.c optional ccitt +netccitt/llc_input.c optional llc +netccitt/llc_output.c optional llc +netccitt/llc_subr.c optional llc +netccitt/llc_timer.c optional llc +netccitt/pk_llcsubr.c optional llc +netccitt/pk_llcsubr.c optional hdlc +netccitt/hd_debug.c optional hdlc +netccitt/hd_input.c optional hdlc +netccitt/hd_output.c optional hdlc +netccitt/hd_subr.c optional hdlc +netccitt/hd_timer.c optional hdlc +netccitt/if_x25subr.c optional ccitt +netccitt/pk_acct.c optional ccitt +netccitt/pk_debug.c optional ccitt +netccitt/pk_input.c optional ccitt +netccitt/pk_output.c optional ccitt +netccitt/pk_subr.c optional ccitt +netccitt/pk_timer.c optional ccitt +netccitt/pk_usrreq.c optional ccitt +netimp/if_imp.c optional imp +netimp/if_imphost.c optional imp +netimp/raw_imp.c optional imp +netinet/if_ether.c optional ether +netinet/igmp.c optional inet +netinet/in.c optional inet +netinet/in_pcb.c optional inet +netinet/in_proto.c optional inet +netinet/ip_icmp.c optional inet +netinet/ip_input.c optional inet +netinet/ip_mroute.c optional inet mrouting +netinet/ip_output.c optional inet +netinet/raw_ip.c optional inet +netinet/tcp_debug.c optional inet +netinet/tcp_input.c optional inet +netinet/tcp_output.c optional inet +netinet/tcp_subr.c optional inet +netinet/tcp_timer.c optional inet +netinet/tcp_usrreq.c optional inet +netinet/udp_usrreq.c optional inet +netiso/clnp_debug.c optional iso +netiso/clnp_er.c optional iso +netiso/clnp_frag.c optional iso +netiso/clnp_input.c optional iso +netiso/clnp_options.c optional iso +netiso/clnp_output.c optional iso +netiso/clnp_raw.c optional iso +netiso/clnp_subr.c optional iso +netiso/clnp_timer.c optional iso +netiso/cltp_usrreq.c optional iso +netiso/esis.c optional iso +netiso/idrp_usrreq.c optional iso +netiso/if_eon.c optional eon +netiso/iso.c optional iso +netiso/iso_chksum.c optional iso +netiso/iso_pcb.c optional iso +netiso/iso_proto.c optional iso +netiso/iso_snpac.c optional iso +netiso/tp_astring.c optional iso +netiso/tp_astring.c optional tpip +netiso/tp_cons.c optional iso +netiso/tp_driver.c optional iso +netiso/tp_driver.c optional tpip +netiso/tp_emit.c optional iso +netiso/tp_emit.c optional tpip +netiso/tp_inet.c optional iso +netiso/tp_inet.c optional tpip +netiso/tp_input.c optional iso +netiso/tp_input.c optional tpip +netiso/tp_iso.c optional iso +netiso/tp_meas.c optional iso +netiso/tp_meas.c optional tpip +netiso/tp_output.c optional iso +netiso/tp_output.c optional tpip +netiso/tp_pcb.c optional iso +netiso/tp_pcb.c optional tpip +netiso/tp_subr.c optional iso +netiso/tp_subr.c optional tpip +netiso/tp_subr2.c optional iso +netiso/tp_subr2.c optional tpip +netiso/tp_timer.c optional iso +netiso/tp_timer.c optional tpip +netiso/tp_trace.c optional iso +netiso/tp_trace.c optional tpip +netiso/tp_usrreq.c optional iso +netiso/tp_usrreq.c optional tpip +netiso/tuba_subr.c optional iso tuba +netiso/tuba_table.c optional iso tuba +netiso/tuba_usrreq.c optional iso tuba +netns/idp_usrreq.c optional ns +netns/ns.c optional ns +netns/ns_error.c optional ns +netns/ns_input.c optional ns +netns/ns_ip.c optional ns +netns/ns_output.c optional ns +netns/ns_pcb.c optional ns +netns/ns_proto.c optional ns +netns/spp_debug.c optional ns +netns/spp_usrreq.c optional ns +nfs/nfs_bio.c optional nfs +nfs/nfs_node.c optional nfs +nfs/nfs_nqlease.c optional nfs +nfs/nfs_serv.c optional nfs +nfs/nfs_socket.c optional nfs +nfs/nfs_srvcache.c optional nfs +nfs/nfs_subs.c optional nfs +nfs/nfs_syscalls.c optional nfs +nfs/nfs_vfsops.c optional nfs +nfs/nfs_vnops.c optional nfs +ufs/ffs/ffs_alloc.c optional ffs +ufs/ffs/ffs_alloc.c optional mfs +ufs/ffs/ffs_balloc.c optional ffs +ufs/ffs/ffs_balloc.c optional mfs +ufs/ffs/ffs_inode.c optional ffs +ufs/ffs/ffs_inode.c optional mfs +ufs/ffs/ffs_subr.c optional ffs +ufs/ffs/ffs_subr.c optional mfs +ufs/ffs/ffs_tables.c optional ffs +ufs/ffs/ffs_tables.c optional mfs +ufs/ffs/ffs_vfsops.c optional ffs +ufs/ffs/ffs_vfsops.c optional mfs +ufs/ffs/ffs_vnops.c optional ffs +ufs/ffs/ffs_vnops.c optional mfs +ufs/lfs/lfs_alloc.c optional lfs +ufs/lfs/lfs_bio.c optional lfs +ufs/lfs/lfs_balloc.c optional lfs +ufs/lfs/lfs_cksum.c optional lfs +ufs/lfs/lfs_debug.c optional lfs +ufs/lfs/lfs_inode.c optional lfs +ufs/lfs/lfs_segment.c optional lfs +ufs/lfs/lfs_subr.c optional lfs +ufs/lfs/lfs_syscalls.c optional lfs +ufs/lfs/lfs_vfsops.c optional lfs +ufs/lfs/lfs_vnops.c optional lfs +ufs/mfs/mfs_vfsops.c optional mfs +ufs/mfs/mfs_vnops.c optional mfs +ufs/ufs/ufs_bmap.c standard +ufs/ufs/ufs_disksubr.c standard +ufs/ufs/ufs_ihash.c standard +ufs/ufs/ufs_inode.c standard +ufs/ufs/ufs_lockf.c standard +ufs/ufs/ufs_lookup.c standard +ufs/ufs/ufs_quota.c standard +ufs/ufs/ufs_vfsops.c standard +ufs/ufs/ufs_vnops.c standard +vm/device_pager.c optional devpager +vm/kern_lock.c standard +vm/swap_pager.c optional swappager +vm/vm_fault.c standard +vm/vm_glue.c standard +vm/vm_init.c standard +vm/vm_kern.c standard +vm/vm_map.c standard +vm/vm_meter.c standard +vm/vm_mmap.c standard +vm/vm_object.c standard +vm/vm_page.c standard +vm/vm_pageout.c standard +vm/vm_pager.c standard +vm/vm_swap.c standard +vm/vm_unix.c standard +vm/vm_user.c standard +vm/vnode_pager.c optional vnodepager diff --git a/sys/conf/files.newconf b/sys/conf/files.newconf new file mode 100644 index 0000000000000..7b0907ab89442 --- /dev/null +++ b/sys/conf/files.newconf @@ -0,0 +1,274 @@ +# @(#)files.newconf 8.9 (Berkeley) 3/31/94 + +# generic attributes +define disk +define tape +define ifnet +define tty + +# net device attributes - we have generic code for ether. +# we should have imp but right now it is a pseudo-device. +define ether +# define imp +pseudo-device imp + +# scsi driver and associated stuff +define scsi { target = -1 } +device tg at scsi { drive = -1 } +file dev/scsi/scsi_subr.c scsi + +device sd at tg: disk +file dev/scsi/sd.c sd needs-flag + +# device st at tg: tape -- not yet + +# legitimate pseudo-devices +pseudo-device bpfilter +pseudo-device cd: disk +pseudo-device loop +pseudo-device pty: tty +pseudo-device sl +pseudo-device vn: disk + +# kernel sources +file isofs/cd9660/isofs_bmap.c isofs +file isofs/cd9660/isofs_lookup.c isofs +file isofs/cd9660/isofs_node.c isofs +file isofs/cd9660/isofs_rrip.c isofs +file isofs/cd9660/isofs_util.c isofs +file isofs/cd9660/isofs_vfsops.c isofs +file isofs/cd9660/isofs_vnops.c isofs +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_malloc.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/subr_autoconf.c +file kern/subr_log.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/sysv_shm.c sysvshm +file kern/tty.c +file kern/tty_compat.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-flag +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_lookup.c +file kern/vfs_subr.c +file kern/vfs_syscalls.c +file kern/vfs_vnops.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/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_subr.c procfs +file miscfs/procfs/procfs_vnops.c procfs +file miscfs/procfs/procfs_vfsops.c procfs +file miscfs/procfs/procfs_note.c procfs +file miscfs/procfs/procfs_mem.c procfs +file miscfs/procfs/procfs_ctl.c procfs +file miscfs/procfs/procfs_status.c procfs +file miscfs/procfs/procfs_regs.c procfs +file miscfs/procfs/procfs_fpregs.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 net/bpf.c bpfilter needs-count +file net/bpf_filter.c bpfilter needs-count +file net/if.c +file net/if_ethersubr.c ether needs-flag +file net/if_loop.c loop needs-count +file net/if_sl.c sl needs-count +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 +file netccitt/ccitt_proto.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/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/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 netimp/if_imp.c imp needs-count +file netimp/if_imphost.c imp needs-count +file netimp/raw_imp.c imp +file netinet/if_ether.c ether +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 +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 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/if_eon.c eon +file netiso/idrp_usrreq.c iso +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 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/nfs_bio.c nfs +file nfs/nfs_node.c nfs +file nfs/nfs_nqlease.c nfs +file nfs/nfs_serv.c nfs +file nfs/nfs_socket.c nfs +file nfs/nfs_srvcache.c nfs +file nfs/nfs_subs.c nfs +file nfs/nfs_syscalls.c nfs +file nfs/nfs_vfsops.c nfs +file nfs/nfs_vnops.c nfs +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 +file ufs/ufs/ufs_disksubr.c ffs lfs mfs +file ufs/ufs/ufs_ihash.c ffs lfs mfs +file ufs/ufs/ufs_inode.c ffs lfs mfs +file ufs/ufs/ufs_lockf.c ffs lfs mfs +file ufs/ufs/ufs_lookup.c ffs lfs mfs +file ufs/ufs/ufs_quota.c ffs lfs mfs +file ufs/ufs/ufs_vfsops.c ffs lfs mfs +file ufs/ufs/ufs_vnops.c ffs lfs mfs +file vm/device_pager.c devpager +file vm/kern_lock.c +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 diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh new file mode 100644 index 0000000000000..83a2f04ad7acb --- /dev/null +++ b/sys/conf/newvers.sh @@ -0,0 +1,48 @@ +#!/bin/sh - +# +# Copyright (c) 1984, 1986, 1990, 1993 +# The Regents of the University of California. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This product includes software developed by the University of +# California, Berkeley and its contributors. +# 4. Neither the name of the University nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# @(#)newvers.sh 8.1 (Berkeley) 4/20/94 + +if [ ! -r version ] +then + echo 0 > version +fi + +touch version +v=`cat version` u=${USER-root} d=`pwd` h=`hostname` t=`date` +echo "char ostype[] = \"4.4BSD\";" > vers.c +echo "char osrelease[] = \"4.4BSD-Lite\";" >> vers.c +echo "char sccs[4] = { '@', '(', '#', ')' };" >>vers.c +echo "char version[] = \"4.4BSD-Lite #${v}: ${t}\\n ${u}@${h}:${d}\\n\";" >>vers.c + +echo `expr ${v} + 1` > version diff --git a/sys/conf/nfsswapvmunix.c b/sys/conf/nfsswapvmunix.c new file mode 100644 index 0000000000000..f9812eb33147d --- /dev/null +++ b/sys/conf/nfsswapvmunix.c @@ -0,0 +1,152 @@ +/* + * Copyright (c) 1991, 1993 + * The Regents of the University of California. All rights reserved. + * + * This code is derived from software contributed to Berkeley by + * Rick Macklem at The University of Guelph. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)nfsswapvmunix.c 8.1 (Berkeley) 6/10/93 + */ + +/* + * Sample NFS swapvmunix configuration file. + * This should be filled in by the bootstrap program. + * See /sys/nfs/nfsdiskless.h for details of the fields. + */ + +#include <sys/param.h> +#include <sys/conf.h> +#include <sys/socket.h> +#include <sys/mount.h> + +#include <net/if.h> +#include <nfs/nfsv2.h> +#include <nfs/nfsdiskless.h> + +extern int nfs_mountroot(); +int (*mountroot)() = nfs_mountroot; + +dev_t rootdev = NODEV; +dev_t argdev = NODEV; +dev_t dumpdev = NODEV; + +struct swdevt swdevt[] = { + { NODEV, 0, 5000 }, /* happy:/u/swap.dopey */ + { 0, 0, 0 } +}; +struct nfs_diskless nfs_diskless = { + { { 'q', 'e', '0', '\0' }, + { 0x10, 0x2, { 0x0, 0x0, 0x83, 0x68, 0x30, 0x2, } }, + { 0x10, 0x2, { 0x0, 0x0, 0x83, 0x68, 0x30, 0xff, } }, + { 0x10, 0x0, { 0x0, 0x0, 0xff, 0xff, 0xff, 0x0, } }, + }, + { 0x10, 0x2, { 0x0, 0x0, 0x83, 0x68, 0x30, 0x12, } }, + { + (struct sockaddr *)0, SOCK_DGRAM, 0, (nfsv2fh_t *)0, + 0, 8192, 8192, 10, 100, (char *)0, + }, + { + 0xf, + 0x9, + 0x0, + 0x0, + 0x1, + 0x0, + 0x0, + 0x0, + 0xc, + 0x0, + 0x0, + 0x0, + 0x6, + 0x0, + 0x0, + 0x0, + 0x27, + 0x18, + 0x79, + 0x27, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + }, + { 0x10, 0x2, { 0x8, 0x1, 0x83, 0x68, 0x30, 0x5, } }, + "happy", + { + (struct sockaddr *)0, SOCK_DGRAM, 0, (nfsv2fh_t *)0, + 0, 8192, 8192, 10, 100, (char *)0, + }, + { + 0x0, + 0x9, + 0x0, + 0x0, + 0x1, + 0x0, + 0x0, + 0x0, + 0xc, + 0x0, + 0x0, + 0x0, + 0x2, + 0x0, + 0x0, + 0x0, + 0xd0, + 0x48, + 0x42, + 0x25, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + 0x0, + }, + { 0x10, 0x2, { 0x8, 0x1, 0x83, 0x68, 0x30, 0x5, } }, + "happy", +}; diff --git a/sys/conf/param.c b/sys/conf/param.c new file mode 100644 index 0000000000000..9f4e2cae857c5 --- /dev/null +++ b/sys/conf/param.c @@ -0,0 +1,145 @@ +/* + * Copyright (c) 1980, 1986, 1989, 1993 + * The Regents of the University of California. All rights reserved. + * (c) UNIX System Laboratories, Inc. + * All or some portions of this file are derived from material licensed + * to the University of California by American Telephone and Telegraph + * Co. or Unix System Laboratories, Inc. and are reproduced herein with + * the permission of UNIX System Laboratories, Inc. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * 3. All advertising materials mentioning features or use of this software + * must display the following acknowledgement: + * This product includes software developed by the University of + * California, Berkeley and its contributors. + * 4. Neither the name of the University nor the names of its contributors + * may be used to endorse or promote products derived from this software + * without specific prior written permission. + * + * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND + * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE + * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT + * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY + * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + * SUCH DAMAGE. + * + * @(#)param.c 8.2 (Berkeley) 1/21/94 + */ + +#include <sys/param.h> +#include <sys/systm.h> +#include <sys/socket.h> +#include <sys/proc.h> +#include <sys/vnode.h> +#include <sys/file.h> +#include <sys/callout.h> +#include <sys/clist.h> +#include <sys/mbuf.h> +#include <sys/kernel.h> + +#include <ufs/ufs/quota.h> + +#ifdef SYSVSHM +#include <machine/vmparam.h> +#include <sys/shm.h> +#endif + +/* + * System parameter formulae. + * + * This file is copied into each directory where we compile + * the kernel; it should be modified there to suit local taste + * if necessary. + * + * Compiled with -DHZ=xx -DTIMEZONE=x -DDST=x -DMAXUSERS=xx + */ + +#ifndef HZ +#define HZ 100 +#endif +int hz = HZ; +int tick = 1000000 / HZ; +int tickadj = 30000 / (60 * HZ); /* can adjust 30ms in 60s */ +struct timezone tz = { TIMEZONE, DST }; +#define NPROC (20 + 16 * MAXUSERS) +int maxproc = NPROC; +#define NTEXT (80 + NPROC / 8) /* actually the object cache */ +#define NVNODE (NPROC + NTEXT + 100) +int desiredvnodes = NVNODE; +int maxfiles = 3 * (NPROC + MAXUSERS) + 80; +int ncallout = 16 + NPROC; +int nclist = 60 + 12 * MAXUSERS; +int nmbclusters = NMBCLUSTERS; +int fscale = FSCALE; /* kernel uses `FSCALE', user uses `fscale' */ + +/* + * Values in support of System V compatible shared memory. XXX + */ +#ifdef SYSVSHM +#define SHMMAX (SHMMAXPGS*NBPG) +#define SHMMIN 1 +#define SHMMNI 32 /* <= SHMMMNI in shm.h */ +#define SHMSEG 8 +#define SHMALL (SHMMAXPGS/CLSIZE) + +struct shminfo shminfo = { + SHMMAX, + SHMMIN, + SHMMNI, + SHMSEG, + SHMALL +}; +#endif + +/* + * These are initialized at bootstrap time + * to values dependent on memory size + */ +int nbuf, nswbuf; + +/* + * These have to be allocated somewhere; allocating + * them here forces loader errors if this file is omitted + * (if they've been externed everywhere else; hah!). + */ +struct callout *callout; +struct cblock *cfree; +struct buf *buf, *swbuf; +char *buffers; + +/* + * Proc/pgrp hashing. + * Here so that hash table sizes can depend on MAXUSERS/NPROC. + * Hash size must be a power of two. + * NOW omission of this file will cause loader errors! + */ + +#if NPROC > 1024 +#define PIDHSZ 512 +#else +#if NPROC > 512 +#define PIDHSZ 256 +#else +#if NPROC > 256 +#define PIDHSZ 128 +#else +#define PIDHSZ 64 +#endif +#endif +#endif + +struct proc *pidhash[PIDHSZ]; +struct pgrp *pgrphash[PIDHSZ]; +int pidhashmask = PIDHSZ - 1; diff --git a/sys/conf/systags.sh b/sys/conf/systags.sh new file mode 100644 index 0000000000000..90714d7697433 --- /dev/null +++ b/sys/conf/systags.sh @@ -0,0 +1,72 @@ +#! /bin/sh +# +# Copyright (c) 1992, 1993 +# The Regents of the University of California. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions +# are met: +# 1. Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# 2. Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# 3. All advertising materials mentioning features or use of this software +# must display the following acknowledgement: +# This product includes software developed by the University of +# California, Berkeley and its contributors. +# 4. Neither the name of the University nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND +# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +# SUCH DAMAGE. +# +# @(#)systags.sh 8.1 (Berkeley) 6/10/93 +# +# systags.sh - construct a system tags file using dependence relations +# in a .depend file +# +# First written May 16, 1992 by Van Jacobson, Lawrence Berkeley Laboratory. +# +# from: $Header: systags.sh,v 1.7 92/07/12 08:18:21 torek Exp $ + +rm -f tags tags.tmp tags.cfiles tags.sfiles tags.hfiles +MACHINE=`machine` +sed -e "s,\./machine/,../../$MACHINE/include/,g" \ + -e 's,[a-z][^/ ]*/\.\./,,g' .depend | awk '{ + for (i = 1; i <= NF; ++i) { + t = substr($i, length($i) - 1) + if (t == ".c") + cfiles[$i] = 1; + else if (t == ".h") + hfiles[$i] = 1; + else if (t == ".s") + sfiles[$i] = 1; + } + }; + END { + for (i in cfiles) + print i > "tags.cfiles"; + for (i in sfiles) + print i > "tags.sfiles"; + for (i in hfiles) + print i > "tags.hfiles"; + }' + +ctags -t -d -w `cat tags.cfiles tags.hfiles tags.sfiles` +egrep -o "^ENTRY\(.*\)|^ALTENTRY\(.*\)" `cat tags.sfiles` | \ + sed "s;\([^:]*\):\([^(]*\)(\([^, )]*\)\(.*\);\3 \1 /^\2(\3\4$/;" >> tags + +mv tags tags.tmp +sort -u tags.tmp > tags +rm tags.tmp tags.cfiles tags.sfiles tags.hfiles |
