From owner-freebsd-alpha@FreeBSD.ORG Sun Jul 20 04:16:35 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 C8A2037B401; Sun, 20 Jul 2003 04:16:35 -0700 (PDT) Received: from mail.pcnet.com (mail.pcnet.com [204.213.232.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0527243FA3; Sun, 20 Jul 2003 04:16:35 -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 h6KBGVAI000865; Sun, 20 Jul 2003 07:16:33 -0400 (EDT) Date: Sun, 20 Jul 2003 07:16:31 -0400 (EDT) From: Daniel Eischen X-Sender: eischen@pcnet5.pcnet.com To: Marcel Moolenaar In-Reply-To: <20030720053918.GB2973@athlon.pn.xcllnt.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: src-committers@FreeBSD.org cc: alpha@FreeBSD.org Subject: Re: cvs commit: src/lib Makefile 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: Sun, 20 Jul 2003 11:16:36 -0000 On Sat, 19 Jul 2003, Marcel Moolenaar wrote: > On Sun, Jul 20, 2003 at 01:06:59AM -0400, Daniel Eischen wrote: > > Here's a test program: > > > > http://people.freebsd.org/~deischen/ucontext/test_context.c > > Excellent. Comes in handy for me as well. > > BTW: The 3rd makecontext() fails on ia64 because only 8 arguments > are allowed. This is a technical limitation (the first 8 arguments > are passed in registers, the remaining on the stack) -- it makes > the implementation simpler. Linux has the same limitation. I should have made the same limitation on the alpha which has the first 6 args in registers and the remaining on the stack. The implementation was a bit harder because of that. -- Dan Eischen