DragonFly BSD
DragonFly commits List (threaded) for 2012-01
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Sascha Wildner <swildner@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 26 Jan 2012 13:18:26 -0800 (PST)

commit 98b8c7e1954b75b6607ab6f87a29ef5538a5fd37
Author: Markus Pfeiffer <markus.pfeiffer@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]