drop from segments physcopy/vircopy invocations
commit0fb2f83da9d1bf3fd3ea2ef817321109ea41c054
authorBen Gras <ben@minix3.org>
Sat, 16 Jun 2012 17:29:37 +0000 (16 17:29 +0000)
committerBen Gras <ben@minix3.org>
Mon, 18 Jun 2012 12:28:40 +0000 (18 12:28 +0000)
tree26c81c45e8fdb92312cf6c937fcf9983ae3423b4
parent0e35eb0c6b90a411659e08052bfab5c258d4caba
drop from segments physcopy/vircopy invocations

. sys_vircopy always uses D for both src and dst
. sys_physcopy uses PHYS_SEG if and only if corresponding
  endpoint is NONE, so we can derive the mode (PHYS_SEG or D)
  from the endpoint arg in the kernel, dropping the seg args
. fields in msg still filled in for backwards compatability,
  using same NONE-logic in the library
17 files changed:
include/minix/com.h
include/minix/syslib.h
kernel/system/do_copy.c
kernel/system/do_umap.c
kernel/system/do_umap_remote.c
lib/libsys/sys_physcopy.c
lib/libsys/sys_umap.c
lib/libsys/sys_umap_remote.c
lib/libsys/sys_vircopy.c
servers/pm/misc.c
servers/pm/trace.c
servers/rs/exec.c
servers/rs/request.c
servers/vfs/coredump.c
servers/vfs/dmap.c
servers/vfs/request.c
servers/vfs/select.c