commit 1b773b6ea04f3ba154036fa224a73207b22f8182
Author: Markus Pfeiffer <[email protected]>
Date: Wed Jan 25 13:11:23 2012 +0000
libc: add getcontext, setcontext, makecontext and swapcontext on x86_64
The *context functions are not part of the POSIX standard anymore, but
are still used by quite some packages.
Summary of changes:
lib/libc/x86_64/gen/Makefile.inc | 2 +-
lib/libc/x86_64/gen/makecontext.c | 129 +++++++++++++++++++++++++++++++++++++
lib/libc/x86_64/sys/Makefile.inc | 2 +-
lib/libc/x86_64/sys/getcontext.S | 87 +++++++++++++++++++++++++
sys/sys/ucontext.h | 3 -
5 files changed, 218 insertions(+), 5 deletions(-)
create mode 100644 lib/libc/x86_64/gen/makecontext.c
create mode 100644 lib/libc/x86_64/sys/getcontext.S
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1b773b6ea04f3ba154036fa224a73207b22f8182
--
DragonFly BSD source repository