cvs commit: src/lib/libpthread/arch/i386 Makefile.inc src/lib/libpthread/arch/i386/i386 thr_enter_uts.S thr_getcontext.S thr_switch.S src/lib/libpthread/arch/i386/include pthread_md.h

Daniel Eischen deischen at FreeBSD.org
Thu Jul 31 14:09:12 PDT 2003


deischen    2003/07/31 14:09:11 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/arch/i386 Makefile.inc 
    lib/libpthread/arch/i386/i386 thr_enter_uts.S thr_getcontext.S 
    lib/libpthread/arch/i386/include pthread_md.h 
  Removed files:
    lib/libpthread/arch/i386/i386 thr_switch.S 
  Log:
  Take the same approach for i386 as that for ia64 and amd64.  Use
  the userland version of [gs]etcontext to switch between a thread
  and the UTS scheduler (and back again).  This also fixes a bug
  in i386 _thr_setcontext() which wasn't properly restoring the
  context.
  
  Reviewed by:    davidxu
  
  Revision  Changes    Path
  1.2       +1 -1      src/lib/libpthread/arch/i386/Makefile.inc
  1.5       +12 -68    src/lib/libpthread/arch/i386/i386/thr_enter_uts.S
  1.3       +29 -30    src/lib/libpthread/arch/i386/i386/thr_getcontext.S
  1.8       +0 -113    src/lib/libpthread/arch/i386/i386/thr_switch.S (dead)
  1.5       +33 -14    src/lib/libpthread/arch/i386/include/pthread_md.h


More information about the cvs-src mailing list