1994-05-25 09:21:21 +00:00
|
|
|
ddb/db_access.c optional ddb
|
|
|
|
ddb/db_aout.c optional ddb
|
|
|
|
ddb/db_break.c optional ddb
|
|
|
|
ddb/db_command.c optional ddb
|
|
|
|
ddb/db_examine.c optional ddb
|
|
|
|
ddb/db_expr.c optional ddb
|
|
|
|
ddb/db_input.c optional ddb
|
|
|
|
ddb/db_lex.c optional ddb
|
|
|
|
ddb/db_output.c optional ddb
|
|
|
|
ddb/db_print.c optional ddb
|
1994-08-27 16:14:39 +00:00
|
|
|
ddb/db_ps.c optional ddb
|
1994-05-25 09:21:21 +00:00
|
|
|
ddb/db_run.c optional ddb
|
|
|
|
ddb/db_sym.c optional ddb
|
|
|
|
ddb/db_trap.c optional ddb
|
|
|
|
ddb/db_variables.c optional ddb
|
|
|
|
ddb/db_watch.c optional ddb
|
|
|
|
ddb/db_write_cmd.c optional ddb
|
1996-05-03 05:37:54 +00:00
|
|
|
dev/ccd/ccd.c optional ccd device-driver
|
1994-12-04 20:08:18 +00:00
|
|
|
dev/vn/vn.c optional vn
|
1996-08-28 17:19:04 +00:00
|
|
|
gnu/ext2fs/ext2_alloc.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_balloc.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_inode.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_inode_cnv.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_linux_balloc.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_linux_ialloc.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_lookup.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_subr.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_vfsops.c optional ext2fs
|
|
|
|
gnu/ext2fs/ext2_vnops.c optional ext2fs
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1994-05-25 09:21:21 +00:00
|
|
|
kern/imgact_aout.c standard
|
1996-03-10 08:42:54 +00:00
|
|
|
kern/imgact_elf.c standard
|
1994-10-03 06:35:17 +00:00
|
|
|
kern/imgact_gzip.c optional gzip
|
1994-05-25 09:21:21 +00:00
|
|
|
kern/imgact_shell.c standard
|
1994-12-11 23:34:42 +00:00
|
|
|
kern/inflate.c optional gzip
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/init_main.c standard
|
|
|
|
kern/init_sysent.c standard
|
Mega-commit for Linux emulator update.. This has been stress tested under
netscape-2.0 for Linux running all the Java stuff. The scrollbars are now
working, at least on my machine. (whew! :-)
I'm uncomfortable with the size of this commit, but it's too
inter-dependant to easily seperate out.
The main changes:
COMPAT_LINUX is *GONE*. Most of the code has been moved out of the i386
machine dependent section into the linux emulator itself. The int 0x80
syscall code was almost identical to the lcall 7,0 code and a minor tweak
allows them to both be used with the same C code. All kernels can now
just modload the lkm and it'll DTRT without having to rebuild the kernel
first. Like IBCS2, you can statically compile it in with "options LINUX".
A pile of new syscalls implemented, including getdents(), llseek(),
readv(), writev(), msync(), personality(). The Linux-ELF libraries want
to use some of these.
linux_select() now obeys Linux semantics, ie: returns the time remaining
of the timeout value rather than leaving it the original value.
Quite a few bugs removed, including incorrect arguments being used in
syscalls.. eg: mixups between passing the sigset as an int, vs passing
it as a pointer and doing a copyin(), missing return values, unhandled
cases, SIOC* ioctls, etc.
The build for the code has changed. i386/conf/files now knows how
to build linux_genassym and generate linux_assym.h on the fly.
Supporting changes elsewhere in the kernel:
The user-mode signal trampoline has moved from the U area to immediately
below the top of the stack (below PS_STRINGS). This allows the different
binary emulations to have their own signal trampoline code (which gets rid
of the hardwired syscall 103 (sigreturn on BSD, syslog on Linux)) and so
that the emulator can provide the exact "struct sigcontext *" argument to
the program's signal handlers.
The sigstack's "ss_flags" now uses SS_DISABLE and SS_ONSTACK flags, which
have the same values as the re-used SA_DISABLE and SA_ONSTACK which are
intended for sigaction only. This enables the support of a SA_RESETHAND
flag to sigaction to implement the gross SYSV and Linux SA_ONESHOT signal
semantics where the signal handler is reset when it's triggered.
makesyscalls.sh no longer appends the struct sysentvec on the end of the
generated init_sysent.c code. It's a lot saner to have it in a seperate
file rather than trying to update the structure inside the awk script. :-)
At exec time, the dozen bytes or so of signal trampoline code are copied
to the top of the user's stack, rather than obtaining the trampoline code
the old way by getting a clone of the parent's user area. This allows
Linux and native binaries to freely exec each other without getting
trampolines mixed up.
1996-03-02 19:38:20 +00:00
|
|
|
kern/init_sysvec.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/kern_acct.c standard
|
|
|
|
kern/kern_clock.c standard
|
1995-12-08 11:19:42 +00:00
|
|
|
kern/kern_conf.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1994-09-28 22:45:04 +00:00
|
|
|
kern/kern_lkm.c standard
|
1994-09-20 15:55:09 +00:00
|
|
|
kern/kern_lockf.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/kern_malloc.c standard
|
1996-04-07 13:03:06 +00:00
|
|
|
kern/kern_mib.c standard
|
1994-09-18 20:40:01 +00:00
|
|
|
kern/kern_ntptime.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/kern_physio.c standard
|
|
|
|
kern/kern_proc.c standard
|
|
|
|
kern/kern_prot.c standard
|
|
|
|
kern/kern_resource.c standard
|
1996-08-20 03:54:13 +00:00
|
|
|
kern/kern_shutdown.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1995-02-23 17:19:54 +00:00
|
|
|
kern/subr_diskslice.c standard
|
|
|
|
kern/subr_dkbad.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/subr_log.c standard
|
|
|
|
kern/subr_prf.c standard
|
|
|
|
kern/subr_prof.c standard
|
1994-05-25 09:21:21 +00:00
|
|
|
kern/subr_rlist.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/subr_xxx.c standard
|
|
|
|
kern/sys_generic.c standard
|
1996-08-28 17:19:04 +00:00
|
|
|
kern/sys_pipe.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
kern/sys_process.c standard
|
|
|
|
kern/sys_socket.c standard
|
1996-01-08 04:39:20 +00:00
|
|
|
kern/sysv_ipc.c standard
|
1994-09-15 16:47:50 +00:00
|
|
|
kern/sysv_msg.c optional sysvmsg
|
|
|
|
kern/sysv_sem.c optional sysvsem
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1996-08-28 17:19:04 +00:00
|
|
|
kern/tty_snoop.c optional snp
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1996-08-28 17:19:04 +00:00
|
|
|
miscfs/devfs/devfs_tree.c optional devfs
|
|
|
|
miscfs/devfs/devfs_vfsops.c optional devfs
|
|
|
|
miscfs/devfs/devfs_vnops.c optional devfs
|
1994-05-24 10:09:53 +00:00
|
|
|
miscfs/fdesc/fdesc_vfsops.c optional fdesc
|
|
|
|
miscfs/fdesc/fdesc_vnops.c optional fdesc
|
1994-09-22 19:38:41 +00:00
|
|
|
miscfs/fifofs/fifo_vnops.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
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_ctl.c optional procfs
|
1996-01-24 18:44:42 +00:00
|
|
|
miscfs/procfs/procfs_fpregs.c standard
|
1996-08-28 17:19:04 +00:00
|
|
|
miscfs/procfs/procfs_map.c optional procfs
|
1996-01-24 18:44:42 +00:00
|
|
|
miscfs/procfs/procfs_mem.c standard
|
1994-09-20 15:55:09 +00:00
|
|
|
miscfs/procfs/procfs_note.c optional procfs
|
1996-01-24 18:44:42 +00:00
|
|
|
miscfs/procfs/procfs_regs.c standard
|
1994-09-20 15:55:09 +00:00
|
|
|
miscfs/procfs/procfs_status.c optional procfs
|
|
|
|
miscfs/procfs/procfs_subr.c optional procfs
|
1996-08-28 17:19:04 +00:00
|
|
|
miscfs/procfs/procfs_type.c optional procfs
|
1994-09-20 15:55:09 +00:00
|
|
|
miscfs/procfs/procfs_vfsops.c optional procfs
|
|
|
|
miscfs/procfs/procfs_vnops.c optional procfs
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1994-09-20 15:55:09 +00:00
|
|
|
msdosfs/msdosfs_conv.c optional msdosfs
|
|
|
|
msdosfs/msdosfs_denode.c optional msdosfs
|
|
|
|
msdosfs/msdosfs_fat.c optional msdosfs
|
|
|
|
msdosfs/msdosfs_lookup.c optional msdosfs
|
|
|
|
msdosfs/msdosfs_vfsops.c optional msdosfs
|
|
|
|
msdosfs/msdosfs_vnops.c optional msdosfs
|
1994-05-24 10:09:53 +00:00
|
|
|
net/bpf.c optional bpfilter
|
|
|
|
net/bpf_filter.c optional bpfilter
|
1995-10-31 20:33:23 +00:00
|
|
|
net/bsd_comp.c optional ppp
|
1994-05-24 10:09:53 +00:00
|
|
|
net/if.c standard
|
1994-12-22 21:00:05 +00:00
|
|
|
net/if_disc.c optional disc
|
1994-05-24 10:09:53 +00:00
|
|
|
net/if_ethersubr.c optional ether
|
1995-03-14 09:16:07 +00:00
|
|
|
net/if_fddisubr.c optional fddi
|
1994-05-24 10:09:53 +00:00
|
|
|
net/if_loop.c optional loop
|
1996-07-30 19:17:07 +00:00
|
|
|
net/if_mib.c standard
|
1994-09-23 00:14:11 +00:00
|
|
|
net/if_ppp.c optional ppp
|
1994-05-24 10:09:53 +00:00
|
|
|
net/if_sl.c optional sl
|
1994-12-11 23:34:42 +00:00
|
|
|
net/if_spppsubr.c optional sppp
|
1996-08-28 17:19:04 +00:00
|
|
|
net/if_tun.c optional tun
|
1995-10-31 20:33:23 +00:00
|
|
|
net/ppp_tty.c optional ppp
|
1994-05-24 10:09:53 +00:00
|
|
|
net/radix.c standard
|
|
|
|
net/raw_cb.c standard
|
|
|
|
net/raw_usrreq.c standard
|
|
|
|
net/route.c standard
|
|
|
|
net/rtsock.c standard
|
1995-10-31 20:33:23 +00:00
|
|
|
net/slcompress.c optional ppp
|
1994-05-24 10:09:53 +00:00
|
|
|
net/slcompress.c optional sl
|
1996-05-24 01:35:45 +00:00
|
|
|
netatalk/aarp.c optional netatalk
|
|
|
|
netatalk/at_control.c optional netatalk
|
|
|
|
netatalk/at_proto.c optional netatalk
|
|
|
|
netatalk/at_rmx.c optional netatalkdebug
|
|
|
|
netatalk/ddp_input.c optional netatalk
|
|
|
|
netatalk/ddp_output.c optional netatalk
|
|
|
|
netatalk/ddp_usrreq.c optional netatalk
|
1996-02-07 20:06:22 +00:00
|
|
|
#netccitt/ccitt_proto.c optional ccitt
|
|
|
|
#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/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_acct.c optional ccitt
|
|
|
|
#netccitt/pk_debug.c optional ccitt
|
|
|
|
#netccitt/pk_input.c optional ccitt
|
|
|
|
#netccitt/pk_llcsubr.c optional hdlc
|
|
|
|
#netccitt/pk_llcsubr.c optional llc
|
|
|
|
#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
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1994-12-11 21:36:10 +00:00
|
|
|
netinet/in_rmx.c optional inet
|
1996-08-28 17:19:04 +00:00
|
|
|
netinet/ip_divert.c optional ipdivert
|
|
|
|
netinet/ip_fw.c optional ipfirewall
|
1994-05-24 10:09:53 +00:00
|
|
|
netinet/ip_icmp.c optional inet
|
|
|
|
netinet/ip_input.c optional inet
|
1994-09-14 03:10:15 +00:00
|
|
|
netinet/ip_mroute.c optional inet
|
1994-05-24 10:09:53 +00:00
|
|
|
netinet/ip_output.c optional inet
|
|
|
|
netinet/raw_ip.c optional inet
|
1994-09-15 10:36:56 +00:00
|
|
|
netinet/tcp_debug.c optional tcpdebug
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1995-10-26 20:31:59 +00:00
|
|
|
netipx/ipx.c optional ipx
|
|
|
|
netipx/ipx_cksum.c optional ipx
|
|
|
|
netipx/ipx_error.c optional ipx
|
|
|
|
netipx/ipx_input.c optional ipx
|
|
|
|
netipx/ipx_ip.c optional ipx
|
|
|
|
netipx/ipx_outputfl.c optional ipx
|
|
|
|
netipx/ipx_pcb.c optional ipx
|
|
|
|
netipx/ipx_proto.c optional ipx
|
|
|
|
netipx/ipx_tun.c optional ipx
|
1996-08-28 17:19:04 +00:00
|
|
|
netipx/ipx_usrreq.c optional ipx
|
1995-10-26 20:31:59 +00:00
|
|
|
netipx/spx_debug.c optional ipx
|
|
|
|
netipx/spx_usrreq.c optional ipx
|
1996-02-07 20:06:22 +00:00
|
|
|
#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
|
1996-06-14 17:22:18 +00:00
|
|
|
netkey/key.c optional key
|
1996-02-13 18:16:31 +00:00
|
|
|
#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
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1995-07-16 10:45:06 +00:00
|
|
|
pccard/pccard.c optional crd
|
|
|
|
pccard/pcic.c optional pcic device-driver
|
1995-02-01 23:01:54 +00:00
|
|
|
pci/aic7870.c optional ahc device-driver
|
1995-12-12 08:44:38 +00:00
|
|
|
pci/bt9xx.c optional bt device-driver
|
1996-10-13 01:09:24 +00:00
|
|
|
pci/cy_pci.c optional cy device-driver
|
1995-02-01 23:01:54 +00:00
|
|
|
pci/if_de.c optional de device-driver
|
1996-05-18 17:56:42 +00:00
|
|
|
pci/if_ed_p.c optional ed device-driver
|
1995-11-28 23:55:26 +00:00
|
|
|
pci/if_fxp.c optional fxp device-driver
|
1996-07-18 22:03:47 +00:00
|
|
|
pci/if_lnc_p.c optional lnc device-driver
|
1996-08-28 17:19:04 +00:00
|
|
|
pci/if_pdq.c optional fea device-driver
|
|
|
|
pci/if_pdq.c optional fpa device-driver
|
1996-10-29 03:53:21 +00:00
|
|
|
pci/if_sr_p.c optional sr device-driver
|
1996-08-28 17:19:04 +00:00
|
|
|
pci/if_vx.c optional vx device-driver
|
|
|
|
pci/meteor.c optional meteor device-driver
|
1995-02-01 23:01:54 +00:00
|
|
|
pci/ncr.c optional ncr device-driver
|
|
|
|
pci/pci.c optional pci device-driver
|
|
|
|
pci/pcisupport.c optional pci
|
1995-03-14 09:16:07 +00:00
|
|
|
pci/pdq.c optional fea device-driver
|
|
|
|
pci/pdq.c optional fpa device-driver
|
1994-05-25 09:21:21 +00:00
|
|
|
scsi/cd.c optional cd
|
|
|
|
scsi/ch.c optional ch
|
1995-08-19 15:59:35 +00:00
|
|
|
scsi/od.c optional od
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/pt.c optional pt
|
1994-05-25 09:21:21 +00:00
|
|
|
scsi/scsi_base.c optional scbus
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/scsi_driver.c optional scbus
|
1994-05-25 09:21:21 +00:00
|
|
|
scsi/scsi_ioctl.c optional scbus
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/scsi_sense.c optional scbus
|
1994-09-20 15:55:09 +00:00
|
|
|
scsi/scsiconf.c optional scbus
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/sctarg.c optional sctarg
|
1994-05-25 09:21:21 +00:00
|
|
|
scsi/sd.c optional sd
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/ssc.c optional ssc
|
1994-05-25 09:21:21 +00:00
|
|
|
scsi/st.c optional st
|
|
|
|
scsi/su.c optional su
|
1996-08-28 17:19:04 +00:00
|
|
|
scsi/uk.c optional scbus
|
|
|
|
scsi/worm.c optional worm
|
1994-05-24 10:09:53 +00:00
|
|
|
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_balloc.c optional lfs
|
1994-09-20 15:55:09 +00:00
|
|
|
ufs/lfs/lfs_bio.c optional lfs
|
1994-05-24 10:09:53 +00:00
|
|
|
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_lookup.c standard
|
|
|
|
ufs/ufs/ufs_quota.c standard
|
|
|
|
ufs/ufs/ufs_vfsops.c standard
|
|
|
|
ufs/ufs/ufs_vnops.c standard
|
NOTE: libkvm, w, ps, 'top', and any other utility which depends on struct
proc or any VM system structure will have to be rebuilt!!!
Much needed overhaul of the VM system. Included in this first round of
changes:
1) Improved pager interfaces: init, alloc, dealloc, getpages, putpages,
haspage, and sync operations are supported. The haspage interface now
provides information about clusterability. All pager routines now take
struct vm_object's instead of "pagers".
2) Improved data structures. In the previous paradigm, there is constant
confusion caused by pagers being both a data structure ("allocate a
pager") and a collection of routines. The idea of a pager structure has
escentially been eliminated. Objects now have types, and this type is
used to index the appropriate pager. In most cases, items in the pager
structure were duplicated in the object data structure and thus were
unnecessary. In the few cases that remained, a un_pager structure union
was created in the object to contain these items.
3) Because of the cleanup of #1 & #2, a lot of unnecessary layering can now
be removed. For instance, vm_object_enter(), vm_object_lookup(),
vm_object_remove(), and the associated object hash list were some of the
things that were removed.
4) simple_lock's removed. Discussion with several people reveals that the
SMP locking primitives used in the VM system aren't likely the mechanism
that we'll be adopting. Even if it were, the locking that was in the code
was very inadequate and would have to be mostly re-done anyway. The
locking in a uni-processor kernel was a no-op but went a long way toward
making the code difficult to read and debug.
5) Places that attempted to kludge-up the fact that we don't have kernel
thread support have been fixed to reflect the reality that we are really
dealing with processes, not threads. The VM system didn't have complete
thread support, so the comments and mis-named routines were just wrong.
We now use tsleep and wakeup directly in the lock routines, for instance.
6) Where appropriate, the pagers have been improved, especially in the
pager_alloc routines. Most of the pager_allocs have been rewritten and
are now faster and easier to maintain.
7) The pagedaemon pageout clustering algorithm has been rewritten and
now tries harder to output an even number of pages before and after
the requested page. This is sort of the reverse of the ideal pagein
algorithm and should provide better overall performance.
8) Unnecessary (incorrect) casts to caddr_t in calls to tsleep & wakeup
have been removed. Some other unnecessary casts have also been removed.
9) Some almost useless debugging code removed.
10) Terminology of shadow objects vs. backing objects straightened out.
The fact that the vm_object data structure escentially had this
backwards really confused things. The use of "shadow" and "backing
object" throughout the code is now internally consistent and correct
in the Mach terminology.
11) Several minor bug fixes, including one in the vm daemon that caused
0 RSS objects to not get purged as intended.
12) A "default pager" has now been created which cleans up the transition
of objects to the "swap" type. The previous checks throughout the code
for swp->pg_data != NULL were really ugly. This change also provides
the rudiments for future backing of "anonymous" memory by something
other than the swap pager (via the vnode pager, for example), and it
allows the decision about which of these pagers to use to be made
dynamically (although will need some additional decision code to do
this, of course).
13) (dyson) MAP_COPY has been deprecated and the corresponding "copy
object" code has been removed. MAP_COPY was undocumented and non-
standard. It was furthermore broken in several ways which caused its
behavior to degrade to MAP_PRIVATE. Binaries that use MAP_COPY will
continue to work correctly, but via the slightly different semantics
of MAP_PRIVATE.
14) (dyson) Sharing maps have been removed. It's marginal usefulness in a
threads design can be worked around in other ways. Both #12 and #13
were done to simplify the code and improve readability and maintain-
ability. (As were most all of these changes)
TODO:
1) Rewrite most of the vnode pager to use VOP_GETPAGES/PUTPAGES. Doing
this will reduce the vnode pager to a mere fraction of its current size.
2) Rewrite vm_fault and the swap/vnode pagers to use the clustering
information provided by the new haspage pager interface. This will
substantially reduce the overhead by eliminating a large number of
VOP_BMAP() calls. The VOP_BMAP() filesystem interface should be
improved to provide both a "behind" and "ahead" indication of
contiguousness.
3) Implement the extended features of pager_haspage in swap_pager_haspage().
It currently just says 0 pages ahead/behind.
4) Re-implement the swap device (swstrategy) in a more elegant way, perhaps
via a much more general mechanism that could also be used for disk
striping of regular filesystems.
5) Do something to improve the architecture of vm_object_collapse(). The
fact that it makes calls into the swap pager and knows too much about
how the swap pager operates really bothers me. It also doesn't allow
for collapsing of non-swap pager objects ("unnamed" objects backed by
other pagers).
1995-07-13 08:48:48 +00:00
|
|
|
vm/default_pager.c standard
|
1994-05-25 09:21:21 +00:00
|
|
|
vm/device_pager.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
vm/kern_lock.c standard
|
1994-05-25 09:21:21 +00:00
|
|
|
vm/swap_pager.c standard
|
1994-05-24 10:09:53 +00:00
|
|
|
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
|
1994-05-25 09:21:21 +00:00
|
|
|
vm/vnode_pager.c standard
|