From owner-freebsd-current Wed Feb 6 17:40:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from rwcrmhc54.attbi.com (rwcrmhc54.attbi.com [216.148.227.87]) by hub.freebsd.org (Postfix) with ESMTP id 3D62137B41C for ; Wed, 6 Feb 2002 17:40:22 -0800 (PST) Received: from InterJet.elischer.org ([12.232.206.8]) by rwcrmhc54.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020207014022.BQSM7443.rwcrmhc54.attbi.com@InterJet.elischer.org>; Thu, 7 Feb 2002 01:40:22 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id RAA93542; Wed, 6 Feb 2002 17:40:05 -0800 (PST) Date: Wed, 6 Feb 2002 17:40:02 -0800 (PST) From: Julian Elischer To: Andrew Gallatin Cc: Jake Burkholder , current@FreeBSD.ORG Subject: Re: Non 386 testers REALLY NEEDED In-Reply-To: <15457.55151.257417.981564@grasshopper.cs.duke.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, 6 Feb 2002, Andrew Gallatin wrote: > > Jake Burkholder writes: > > > What's the "right" way to do this? > > > > I think you want lda, its used to load an address constant in support.s: > > > > lda t0, fusufault /* trap faults */ > > Bingo! Thanks.. I haven't done any alpha assembler in nearly a year.. > > Julian -- you need to add this to your diff: > > > Index: alpha/alpha/locore.s > =================================================================== > RCS file: /home/ncvs/src/sys/alpha/alpha/locore.s,v > retrieving revision 1.20 > diff -u -r1.20 locore.s > --- alpha/alpha/locore.s 11 Dec 2001 23:33:38 -0000 1.20 > +++ alpha/alpha/locore.s 7 Feb 2002 01:05:10 -0000 > @@ -119,7 +119,7 @@ > /* > * Switch to proc0's PCB. > */ > - ldq t0,thread0 /* get phys addr of pcb */ > + lda t0,thread0 > ldq a0,TD_MD_PCBPADDR(t0) > SWITCH_CONTEXT > > > Buildworld fails in libkvm with the first diff... I assume > you're aware of this? > > /usr/src/lib/libkvm/kvm_proc.c: In function `kvm_proclist': > /usr/src/lib/libkvm/kvm_proc.c:263: structure has no member named `p_thread' > /usr/src/lib/libkvm/kvm_proc.c:264: structure has no member named `p_thread' well I'm working on it it'ss a bit tricky because I need to convince libkvm top load teh default thread structure.. (it's no longer part of the proc structure. I'm still 'learning' how to do this.. *if anyone is a libkvm expert and wants to beat me to it.. feel free :-) I need to work out a libkvm interface to allow the reading of multiple thread structures. (well how to use libkvm to do so). > > <...> > > > > I'm no seeing a hang when sync'ing disks, but this might just be a > -current'ism. > > > > > Cheers, > > Drew > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message