git: DragonFly_RELEASE_3_0 libc: add getcontext, setcontext, makecontext and swapcontext on x86_64

Sascha Wildner swildner at crater.dragonflybsd.org
Thu Jan 26 13:18:26 PST 2012


commit 98b8c7e1954b75b6607ab6f87a29ef5538a5fd37
Author: Markus Pfeiffer <markus.pfeiffer at morphism.de>
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/98b8c7e1954b75b6607ab6f87a29ef5538a5fd37


-- 
DragonFly BSD source repository





More information about the Commits mailing list