Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Apr 2000 17:22:40 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        "David O'Brien" <obrien@FreeBSD.ORG>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   Re: (FWD) houston, we have a problem here....
Message-ID:  <Pine.BSF.4.05.10004251721450.89507-100000@semuta.feral.com>
In-Reply-To: <20000425162709.C3988@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.10004251721450.89507-100000>