Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jun 2003 23:57:04 -0400 (EDT)
From:      Daniel Eischen <eischen@vigrid.com>
To:        Marcel Moolenaar <marcel@xcllnt.net>
Cc:        Julian Elischer <julian@elischer.org>
Subject:   Re: Implementing TLS: step 1
Message-ID:  <Pine.GSO.4.10.10306192348380.19237-100000@pcnet5.pcnet.com>
In-Reply-To: <20030620034647.GB2260@dhcp01.pn.xcllnt.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 19 Jun 2003, Marcel Moolenaar wrote:

> On Thu, Jun 19, 2003 at 11:39:42PM -0400, Daniel Eischen wrote:
> > 
> > > Q2: Given that libthr has been ported to ia64, what needs to be done
> > >     to port libkse to ia64 (roughtly)?
> > 
> > libpthread/arch/i386/include/ksd.h:
> > libpthread/arch/i386/include/atomic_ops.h
> > libpthread/arch/i386/include/pthread_md.h
> > libpthread/arch/i386/i386:
> 
> No kernel code? Hmmm, looks like something that's worth giving a

I'm not too sure about the kernel code.  If you have KSEs
working for libthr, then I assume there is very little extra
kernel code needed.  You do need to have get_mcontext() and
set_mcontext() implemented in machdep.c, though.  It looks
like you do (although nothing is done with clear_ret in
get_mcontext()).

David, Julian, care to comment?

> shot. If we have libkse on ia64, we can more easily work on the
> issues related to TLS...

-- 
Dan Eischen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10306192348380.19237-100000>