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

Matthew Dillon dillon at crater.dragonflybsd.org
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         Makefile.inc ucontext.3 
    lib/libc/i386/gen    Makefile.inc 
    lib/libc/i386/sys    Makefile.inc 
  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 
  Log:
  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 gsicomp.on.ca>
  Finished-up-by: "Matthew Dillon" <dillon at backplane.com>
  
  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/Makefile.inc
  1.6       +35 -22    src/lib/libc/gen/ucontext.3
  1.6       +5 -3      src/lib/libc/i386/gen/Makefile.inc
  1.7       +14 -2     src/lib/libc/i386/sys/Makefile.inc


http://www.dragonflybsd.org/cvsweb/src/sys/machine/pc32/i386/machdep.c.diff?r1=1.116&r2=1.117&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/ucontext.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/Makefile.diff?r1=1.13&r2=1.14&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/Makefile.inc.diff?r1=1.22&r2=1.23&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/gen/ucontext.3.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/i386/gen/Makefile.inc.diff?r1=1.5&r2=1.6&f=u
http://www.dragonflybsd.org/cvsweb/src/lib/libc/i386/sys/Makefile.inc.diff?r1=1.6&r2=1.7&f=u





More information about the Commits mailing list