Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.
This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
60, 64, 100, 128, 256, 512, 1024.
Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.
If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.
These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386. No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.
With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is correct for FreeBSD, but not for NetBSD.
1996-02-27 07:20:30 +03:00
|
|
|
# $NetBSD: files,v 1.76 1996/02/27 04:20:43 jonathan Exp $
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# @(#)files.newconf 7.5 (Berkeley) 5/10/93
|
|
|
|
|
1995-08-19 04:49:15 +04:00
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# generic attributes
|
|
|
|
define disk
|
|
|
|
define tape
|
|
|
|
define ifnet
|
|
|
|
define tty
|
|
|
|
define audio
|
1995-08-19 04:49:15 +04:00
|
|
|
|
|
|
|
|
|
|
|
# audio device attributes
|
1995-07-19 23:58:09 +04:00
|
|
|
define mulaw
|
1995-04-28 12:19:12 +04:00
|
|
|
|
1995-08-19 04:49:15 +04:00
|
|
|
# net device attributes - we have generic code for arc(net), ether(net),
|
1996-01-02 01:27:08 +03:00
|
|
|
# and fddi.
|
1995-08-17 22:50:34 +04:00
|
|
|
define arc
|
1995-08-19 04:49:15 +04:00
|
|
|
define ether
|
|
|
|
define fddi
|
1996-01-02 01:27:08 +03:00
|
|
|
|
|
|
|
# "Chipset" attributes. These are the machine-independent portions
|
|
|
|
# of device drivers.
|
|
|
|
define pdq # DEC FDDI chipset
|
|
|
|
define ncr5380sbc # NCR 5380 SCSI Bus Controller
|
1996-01-13 05:05:14 +03:00
|
|
|
define aic7xxx # Adaptec aic7770 and aic7870 SCSI controllers
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
# legitimate pseudo-devices
|
|
|
|
pseudo-device vnd: disk
|
1995-08-17 21:38:42 +04:00
|
|
|
pseudo-device ccd: disk
|
1995-04-28 12:19:12 +04:00
|
|
|
|
|
|
|
pseudo-device pty: tty
|
|
|
|
pseudo-device tb: tty
|
|
|
|
|
|
|
|
pseudo-device loop: ifnet
|
|
|
|
pseudo-device sl: ifnet
|
|
|
|
pseudo-device ppp: ifnet
|
|
|
|
pseudo-device tun: ifnet
|
|
|
|
pseudo-device bpfilter: ifnet
|
|
|
|
|
1995-08-17 22:50:34 +04:00
|
|
|
# XXX machine-independent SCSI files should live somewhere here, maybe
|
|
|
|
|
1995-04-28 12:19:12 +04:00
|
|
|
# kernel sources
|
1995-08-17 22:50:34 +04:00
|
|
|
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_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 dev/audio.c audio needs-flag
|
|
|
|
file dev/ccd.c ccd needs-flag
|
1996-01-13 05:05:14 +03:00
|
|
|
file dev/ic/aic7xxx.c aic7xxx
|
1996-01-02 01:27:08 +03:00
|
|
|
file dev/ic/ncr5380sbc.c ncr5380sbc
|
1995-08-19 04:49:15 +04:00
|
|
|
file dev/ic/pdq.c pdq
|
|
|
|
file dev/ic/pdq_ifsubr.c pdq
|
1995-08-17 22:50:34 +04:00
|
|
|
file dev/mulaw.c mulaw
|
|
|
|
file dev/vnd.c vnd needs-flag
|
1995-04-28 12:19:12 +04:00
|
|
|
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
|
1995-08-17 22:50:34 +04:00
|
|
|
file kern/exec_aout.c
|
|
|
|
file kern/exec_conf.c
|
1995-11-25 03:37:39 +03:00
|
|
|
file kern/exec_ecoff.c compat_ultrix compat_osf1 exec_ecoff
|
1995-08-17 22:50:34 +04:00
|
|
|
file kern/exec_elf.c compat_svr4 compat_linux
|
|
|
|
file kern/exec_script.c
|
|
|
|
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
|
Add NTP kernel precision timekeeping from Dave Mill's xntp distribution
and the "kernel.tar.Z" distribution on louie.udel.edu, which is older than
xntp 3.4y or 3.5a, but contains newer kernel source fragments.
This commit adds support for a new kernel configuration option, NTP.
If NTP is selected, then the system clock should be run at "HZ", which
must be defined at compile time to be one value from:
60, 64, 100, 128, 256, 512, 1024.
Powers of 2 are ideal; 60 and 100 are supported but are marginally less
accurate.
If NTP is not configured, there should be no change in behavior relative
to pre-NTP kernels.
These changes have been tested extensively with xntpd 3.4y on a decstation;
almost identical kernel mods work on an i386. No pulse-per-second (PPS)
line discipline support is included, due to unavailability of hardware
to test it.
With this in-kernel PLL support for NetBSD, both xntp 3.4y and xntp
3.5a user-level code need minor changes. xntp's prototype for
syscall() is correct for FreeBSD, but not for NetBSD.
1996-02-27 07:20:30 +03:00
|
|
|
file kern/kern_ntptime.c
|
1995-08-17 22:50:34 +04:00
|
|
|
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_sysctl.c
|
|
|
|
file kern/kern_synch.c
|
|
|
|
file kern/kern_time.c
|
|
|
|
file kern/kern_xxx.c
|
1995-04-28 12:19:12 +04:00
|
|
|
file kern/subr_autoconf.c
|
|
|
|
file kern/subr_disk.c
|
1995-08-17 22:50:34 +04:00
|
|
|
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/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
|
1995-04-28 12:19:12 +04:00
|
|
|
file kern/vfs_lockf.c
|
1995-08-17 22:50:34 +04:00
|
|
|
file kern/vfs_lookup.c
|
|
|
|
file kern/vfs_subr.c
|
|
|
|
file kern/vfs_syscalls.c
|
|
|
|
file kern/vfs_vnops.c
|
1995-04-28 12:19:12 +04:00
|
|
|
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_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
|
1995-08-17 22:50:34 +04:00
|
|
|
file msdosfs/msdosfs_conv.c msdosfs
|
|
|
|
file msdosfs/msdosfs_denode.c msdosfs
|
1995-04-28 12:19:12 +04:00
|
|
|
file msdosfs/msdosfs_fat.c msdosfs
|
1995-08-17 22:50:34 +04:00
|
|
|
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
|
|
|
|
file net/if.c
|
|
|
|
file net/if_arcsubr.c arc needs-flag
|
1995-08-19 04:49:15 +04:00
|
|
|
file net/if_ethersubr.c ether fddi needs-flag
|
|
|
|
file net/if_fddisubr.c fddi
|
1995-08-17 22:50:34 +04:00
|
|
|
file net/if_loop.c loop needs-count
|
|
|
|
file net/if_sl.c sl needs-count
|
|
|
|
file net/if_ppp.c ppp needs-count
|
|
|
|
file net/ppp_tty.c ppp
|
|
|
|
file net/bsd-comp.c ppp
|
|
|
|
file net/if_tun.c tun 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 ppp
|
|
|
|
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_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/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 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 nfsclient
|
|
|
|
file nfs/nfs_bio.c nfsclient
|
|
|
|
file nfs/nfs_boot.c nfsclient
|
|
|
|
file nfs/nfs_node.c nfsclient
|
|
|
|
file nfs/nfs_nqlease.c nfsserver nfsclient
|
|
|
|
file nfs/nfs_serv.c nfsserver
|
|
|
|
file nfs/nfs_socket.c nfsserver nfsclient
|
|
|
|
file nfs/nfs_srvcache.c nfsserver
|
|
|
|
file nfs/nfs_subs.c nfsserver nfsclient
|
|
|
|
file nfs/nfs_syscalls.c nfsserver nfsclient
|
|
|
|
file nfs/nfs_vfsops.c nfsclient
|
|
|
|
file nfs/nfs_vnops.c nfsclient
|
|
|
|
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_ihash.c ffs lfs mfs
|
|
|
|
file ufs/ufs/ufs_inode.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
|