From owner-freebsd-alpha Mon Oct 16 9:29:10 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from duke.cs.duke.edu (duke.cs.duke.edu [152.3.140.1]) by hub.freebsd.org (Postfix) with ESMTP id A129A37B503 for ; Mon, 16 Oct 2000 09:29:07 -0700 (PDT) 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 MAA17349; Mon, 16 Oct 2000 12:29:07 -0400 (EDT) Received: (from gallatin@localhost) by grasshopper.cs.duke.edu (8.11.0/8.9.1) id e9GGT7S89145; Mon, 16 Oct 2000 12:29:07 -0400 (EDT) (envelope-from gallatin@cs.duke.edu) From: Andrew Gallatin MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Mon, 16 Oct 2000 12:29:06 -0400 (EDT) To: Doug Rabson Cc: freebsd-alpha@freebsd.org Subject: Re: size problems with INVARIANTS/DIAGNOSTIC -current kernels In-Reply-To: References: <14823.2097.382096.942072@grasshopper.cs.duke.edu> X-Mailer: VM 6.43 under 20.4 "Emerald" XEmacs Lucid Message-ID: <14827.11266.106941.884245@grasshopper.cs.duke.edu> Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Doug Rabson writes: > > I think the safest might be to put it into the PALVECT macro. OK, the following gets me booting multi-user on my UP1000 with today's -current after I remove the random device (not sure why, but with the random device in the kerne, bootup stops at ldconfig, which is waiting in rnd_something).. Without modifying XentSys, I get bizzare panics just after init starts. I figured we'd also need it in XentUna1. Do you approve of the following patch? Index: alpha/exception.s =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/exception.s,v retrieving revision 1.3 diff -u -r1.3 exception.s --- alpha/exception.s 1999/08/28 00:38:26 1.3 +++ alpha/exception.s 2000/10/16 16:03:29 @@ -124,6 +124,8 @@ /* syscall number, passed in v0, is first arg, frame pointer second */ mov v0,a0 mov sp,a1 ; .loc 1 __LINE__ + br pv,XentSys1 +XentSys1: LDGP(pv) CALL(syscall) jmp zero, exception_return @@ -147,6 +149,8 @@ /* a0, a1, & a2 already set up */ ldiq a3, ALPHA_KENTRY_UNA mov sp, a4 ; .loc 1 __LINE__ + br pv, XentUna1 +XentUna1: LDGP(pv) CALL(trap) jmp zero, exception_return Index: include/asm.h =================================================================== RCS file: /home/ncvs/src/sys/alpha/include/asm.h,v retrieving revision 1.7 diff -u -r1.7 asm.h --- include/asm.h 2000/09/07 01:32:40 1.7 +++ include/asm.h 2000/10/16 14:33:47 @@ -250,7 +250,10 @@ #define PALVECT(_name_) \ ESETUP(_name_); \ - ERSAVE() + ERSAVE(); \ + br pv, _name_##lgp; \ +_name_##lgp:; \ + LDGP(pv) #define ESETUP(_name_) \ .loc 1 __LINE__; \ Thanks, Drew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message