From owner-freebsd-alpha Tue Apr 25 17:22:59 2000 Delivered-To: freebsd-alpha@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id B743137B539; Tue, 25 Apr 2000 17:22:55 -0700 (PDT) (envelope-from mjacob@feral.com) Received: from semuta.feral.com (semuta [192.67.166.70]) by feral.com (8.9.3/8.9.3) with ESMTP id RAA10048; Tue, 25 Apr 2000 17:21:48 -0700 Date: Tue, 25 Apr 2000 17:22:40 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: "David O'Brien" Cc: freebsd-alpha@FreeBSD.ORG Subject: Re: (FWD) houston, we have a problem here.... In-Reply-To: <20000425162709.C3988@dragon.nuxi.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-alpha@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Tue, 25 Apr 2000, David O'Brien wrote: > ----- Forwarded message > The change you made to kern_random.c breaks kernel builds on the alpha because > inthand2_t is defined differently between i386 && alpha. > ----- End forwarded message ----- > > At the moment kernel builds are broken on the Alpha. Unfortunately other > kernel build breakage got in my way. I hope to have this fixed tonight. > So, uh, what am I missing here...So, why *can't* inthand2_t's arg be a 'void *' on alpha? Index: alpha/alpha/machdep.c =================================================================== RCS file: /home/ncvs/src/sys/alpha/alpha/machdep.c,v retrieving revision 1.73 diff -u -r1.73 machdep.c --- alpha/alpha/machdep.c 2000/04/15 05:53:06 1.73 +++ alpha/alpha/machdep.c 2000/04/26 00:06:31 @@ -2115,13 +2115,3 @@ p->p_md.md_flags |= MDP_FPUSED; } - -/* - * dummy version of read_random() until the random driver is ported. - */ -int read_random __P((void)); -int -read_random(void) -{ - return (0); -} Index: alpha/include/types.h =================================================================== RCS file: /home/ncvs/src/sys/alpha/include/types.h,v retrieving revision 1.11 diff -u -r1.11 types.h --- alpha/include/types.h 1999/12/29 04:28:00 1.11 +++ alpha/include/types.h 2000/04/26 00:06:31 @@ -68,6 +68,6 @@ typedef __uint32_t intrmask_t; /* Interrupt handler function type - arg should be "void *" one day */ -typedef void inthand2_t(int _unit); +typedef void inthand2_t(void *); #endif /* _MACHTYPES_H_ */ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-alpha" in the body of the message