From owner-freebsd-current Wed Feb 6 17:25:39 2002 Delivered-To: freebsd-current@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id 05EE637B421 for ; Wed, 6 Feb 2002 17:25:36 -0800 (PST) Received: from grasshopper.cs.duke.edu (grasshopper.cs.duke.edu [152.3.145.30]) by duke.cs.duke.edu (8.9.3/8.9.3) with ESMTP id UAA21995; Wed, 6 Feb 2002 20:25:33 -0500 (EST) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.6/8.9.1) id g171P3Q25809; Wed, 6 Feb 2002 20:25:03 -0500 (EST) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15457.55151.257417.981564@grasshopper.cs.duke.edu> Date: Wed, 6 Feb 2002 20:25:03 -0500 (EST) To: Jake Burkholder Cc: Julian Elischer , current@FreeBSD.ORG Subject: Re: Non 386 testers REALLY NEEDED In-Reply-To: <20020206201529.B5140@locore.ca> References: <15457.47000.527840.252043@grasshopper.cs.duke.edu> <15457.47506.919518.594829@grasshopper.cs.duke.edu> <20020206201529.B5140@locore.ca> X-Mailer: VM 6.75 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid 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 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' <...> 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