From owner-freebsd-alpha@FreeBSD.ORG Fri Aug 8 19:21:34 2003 Return-Path: Delivered-To: freebsd-alpha@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5DCE537B401 for ; Fri, 8 Aug 2003 19:21:34 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id BE06843F75 for ; Fri, 8 Aug 2003 19:21:33 -0700 (PDT) (envelope-from eischen@vigrid.com) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mail.pcnet.com (8.12.8/8.12.1) with ESMTP id h792LWuN008375; Fri, 8 Aug 2003 22:21:33 -0400 (EDT) Date: Fri, 8 Aug 2003 22:21:32 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Marcel Moolenaar In-Reply-To: <20030809003630.GA3293@dhcp42.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: alpha@freebsd.org Subject: Re: [PATCH] libpthread support X-BeenThere: freebsd-alpha@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: deischen@freebsd.org List-Id: Porting FreeBSD to the Alpha List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2003 02:21:34 -0000 On Fri, 8 Aug 2003, Marcel Moolenaar wrote: > On Thu, Aug 07, 2003 at 09:31:12PM -0400, Daniel Eischen wrote: > > On Thu, 7 Aug 2003, Marcel Moolenaar wrote: > > > > > On Thu, Aug 07, 2003 at 08:38:30PM -0400, Daniel Eischen wrote: > > > > I've got some preliminary patches to add alpha support to libpthread: > > > > > > I'll boot-up my alpha and play with it a bit... > > Ok, things compile and the patches look reasonable. In signalcontext() > we probably want to remove the sp -= 16 statement. On ia64 this is > required because each function has 16 bytes of scratch space on the > stack (per the runtime specification). We don't need it on alpha. OK. > Other than that I suggest we commit it, hook-up libkse to the build > and cross bridges when we come to them (ie we tweak and/or fix when > we can actually test the code). Thoughts? Sure, I'll try to commit it tomorrow. Feel free to beat me to it if you want. There were a few places in enter_uts.S and context.S where I used ldil and ldl instructions. Those should be ldiq and ldq's, right? -- Dan Eischen