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

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


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

commit 1b773b6ea04f3ba154036fa224a73207b22f8182
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/1b773b6ea04f3ba154036fa224a73207b22f8182


-- 
DragonFly BSD source repository



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