From owner-p4-projects@FreeBSD.ORG Fri May 2 15:12:37 2003 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 602D837B404; Fri, 2 May 2003 15:12:37 -0700 (PDT) Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 04D1F37B401; Fri, 2 May 2003 15:12:37 -0700 (PDT) Received: from canning.wemm.org (canning.wemm.org [192.203.228.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8C7F743F3F; Fri, 2 May 2003 15:12:36 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by canning.wemm.org (Postfix) with ESMTP id 3121A2A7EA; Fri, 2 May 2003 15:12:36 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.5 07/13/2001 with nmh-1.0.4 To: John Baldwin In-Reply-To: Date: Fri, 02 May 2003 15:12:36 -0700 From: Peter Wemm Message-Id: <20030502221236.3121A2A7EA@canning.wemm.org> cc: Perforce Change Reviews Subject: Re: PERFORCE change 29745 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 22:12:38 -0000 John Baldwin wrote: > > On 25-Apr-2003 Peter Wemm wrote: > > http://perforce.freebsd.org/chv.cgi?CH=29745 > > > > Change 29745 by peter@peter_daintree on 2003/04/25 16:01:39 > > > > Add a pcb flag to indicate that a full trapframe restore > > is required, even from syscall.. eg: a sigreturn(2). > > I'm not sure if this is the right place for it. mdthread > > perhaps? Anyway, it'll do for now. > > mdthread sounds right. Alpha uses a flags field on the trapframe to > accomplish this: > > sys/alpha/include/frame.h > #define FRAME_FLAGS 27 > #define FRAME_FLAGS_SYSCALL 1 /* partial frame for syscalls */ They put the frames in the space reserved for the 'zero' register if I recall correctly. On a side note, there are times when I'd like to move the pcb stuff into mdthread.. Cheers, -Peter -- Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com "All of this is for nothing if we don't go to the stars" - JMS/B5