Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2003 23:15:13 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/lib/libpthread/arch/ia64/ia64 context.S
Message-ID:  <200306270615.h5R6FDYM012904@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/06/26 23:15:13 PDT

  FreeBSD src repository

  Modified files:
    lib/libpthread/arch/ia64/ia64 context.S 
  Log:
  Implement _ia64_save_context() and _ia64_restore_context(). Both
  functions are derived from the swapctx() and restorectx() (resp)
  from sys/ia64/ia64/context.s. The code is expected to be 99%
  correct, but has not yet been tested.
  
  Note that with these functions operating on mcontext_t, we also
  created the foundation upon which we can implement getcontext(2)
  and setcontext(2) replacements. It's not guaranteed that the use
  of these syscalls and _ia64_{save|restore}_context() on the same
  uicontext_t is actually going to work. Replacing the syscalls is
  now trivially achieved.
  
  This commit completes the ia64 port of libpthread itself (modulo
  testing and bugfixes).
  
  Revision  Changes    Path
  1.2       +285 -0    src/lib/libpthread/arch/ia64/ia64/context.S



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306270615.h5R6FDYM012904>