From owner-freebsd-threads@FreeBSD.ORG Thu Jun 19 21:17:58 2003 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B9EBD37B401; Thu, 19 Jun 2003 21:17:58 -0700 (PDT) Received: from ns1.xcllnt.net (209-128-86-226.BAYAREA.NET [209.128.86.226]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB11143F3F; Thu, 19 Jun 2003 21:17:57 -0700 (PDT) (envelope-from marcel@xcllnt.net) Received: from dhcp01.pn.xcllnt.net (dhcp01.pn.xcllnt.net [192.168.4.201]) by ns1.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5K4HPDZ073294; Thu, 19 Jun 2003 21:17:25 -0700 (PDT) (envelope-from marcel@piii.pn.xcllnt.net) Received: from dhcp01.pn.xcllnt.net (localhost [127.0.0.1]) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9) with ESMTP id h5K4HP17060227; Thu, 19 Jun 2003 21:17:25 -0700 (PDT) (envelope-from marcel@dhcp01.pn.xcllnt.net) Received: (from marcel@localhost) by dhcp01.pn.xcllnt.net (8.12.9/8.12.9/Submit) id h5K4HOnW060217; Thu, 19 Jun 2003 21:17:24 -0700 (PDT) (envelope-from marcel) Date: Thu, 19 Jun 2003 21:17:24 -0700 From: Marcel Moolenaar To: David Xu Message-ID: <20030620041724.GB28472@dhcp01.pn.xcllnt.net> References: <20030620034647.GB2260@dhcp01.pn.xcllnt.net> <006f01c336e0$231d8fe0$f001a8c0@davidw2k> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006f01c336e0$231d8fe0$f001a8c0@davidw2k> User-Agent: Mutt/1.5.4i cc: deischen@freebsd.org cc: threads@freebsd.org cc: Julian Elischer Subject: Re: Implementing TLS: step 1 X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 04:17:59 -0000 On Fri, Jun 20, 2003 at 11:57:58AM +0800, David Xu wrote: > > Can you also look /sys/sys/kse.h, some structures have integer members, > and we use fuword() and suword() in kernel, these functions take a long > integer parameter, does it work on ia64 ? On ia64, fuword and suword operate on 64-bit entities (ie long). If we use fuword and suword to access integer fields, we have a problem. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net