]> Zhao Yanbai Git Server - minix.git/commit
- Add support for the ucontext system calls (getcontext, setcontext,
authorThomas Veerman <thomas@minix3.org>
Fri, 12 Mar 2010 15:58:41 +0000 (15:58 +0000)
committerThomas Veerman <thomas@minix3.org>
Fri, 12 Mar 2010 15:58:41 +0000 (15:58 +0000)
commitbef0e3eb6334a89e1619435038d9cb4233b15445
tree0cddf4affd72b5e02b66e9deec25f7506413252b
parent3efbb8f133410eb3e01caf5bd812292d598d190d
- Add support for the ucontext system calls (getcontext, setcontext,
  swapcontext, and makecontext).
- Fix VM to not erroneously think the stack segment and data segment have
  collided when a user-space thread invokes brk().
- Add test51 to test ucontext functionality.
- Add man pages for ucontext system calls.
33 files changed:
include/Makefile
include/arch/i386/Makefile
include/arch/i386/mcontext.h [new file with mode: 0644]
include/minix/callnr.h
include/minix/com.h
include/minix/syslib.h
include/signal.h
include/sys/Makefile
include/sys/ucontext.h [new file with mode: 0644]
include/ucontext.h [new file with mode: 0644]
kernel/config.h
kernel/system.c
kernel/system.h
kernel/system/Makefile
kernel/system/do_mcontext.c [new file with mode: 0644]
lib/libc/arch/i386/misc/Makefile.inc
lib/libc/arch/i386/misc/ucontext.S [new file with mode: 0644]
lib/libc/other/Makefile.inc
lib/libc/other/_mcontext.c [new file with mode: 0644]
lib/libc/posix/Makefile.inc
lib/libc/posix/_ucontext.c [new file with mode: 0644]
lib/libsys/Makefile
lib/libsys/sys_mcontext.c [new file with mode: 0644]
man/man3/getcontext.3 [new file with mode: 0644]
man/man3/makecontext.3 [new file with mode: 0644]
servers/pm/Makefile
servers/pm/mcontext.c [new file with mode: 0644]
servers/pm/proto.h
servers/pm/table.c
servers/vm/break.c
test/Makefile
test/run
test/test51.c [new file with mode: 0644]