cvs commit: src/sys/machine/pc32/i386 machdep.c src/sys/sys ucontext.h src/lib/libc Makefile src/lib/libc/gen getcontext.3 makecontext.3 ucontext.3 ucontext.c src/lib/libc/i386/gen _ctx_start.S makecontext.c ...

Matthew Dillon dillon at
Mon Jan 15 23:21:50 PST 2007

dillon      2007/01/15 23:16:23 PST

DragonFly src repository

  Modified files:
    sys/machine/pc32/i386 machdep.c 
    sys/sys              ucontext.h 
    lib/libc             Makefile 
    lib/libc/gen ucontext.3 
  Added files:
    lib/libc/gen         getcontext.3 makecontext.3 ucontext.c 
    lib/libc/i386/gen    _ctx_start.S makecontext.c mcontext.S 
    lib/libc/i386/sys    genasmcontext.c getcontext.S 
  Implement getcontext(), setcontext(), makecontext(), and swapcontext().
  This is a preliminary libc-only implementation.  sigprocmask() is used
  to mask signals during the context switch and to save and restore signals.
  FP registers are not currently saved or restored - that is, synchronous
  use is intended.
  Submitted-by: "Matt Emmerton" <matt at>
  Finished-up-by: "Matthew Dillon" <dillon at>
  Revision  Changes    Path
  1.117     +2 -1      src/sys/machine/pc32/i386/machdep.c
  1.4       +11 -0     src/sys/sys/ucontext.h
  1.14      +1 -1      src/lib/libc/Makefile
  1.23      +6 -4      src/lib/libc/gen/
  1.6       +35 -22    src/lib/libc/gen/ucontext.3
  1.6       +5 -3      src/lib/libc/i386/gen/
  1.7       +14 -2     src/lib/libc/i386/sys/

More information about the Commits mailing list