PERFORCE change 28828 for review

Robert Drehmel robert at FreeBSD.org
Sat Apr 12 09:21:17 PDT 2003


http://perforce.freebsd.org/chv.cgi?CH=28828

Change 28828 by robert at robert_spes on 2003/04/12 09:20:25

	If compiling for an `sgimips' platform, define an ARC pointer
	to have exactly the same size as an `void *' has.

Affected files ...

.. //depot/projects/mips/sys/boot/arc/include/arctypes.h#2 edit

Differences ...

==== //depot/projects/mips/sys/boot/arc/include/arctypes.h#2 (text+ko) ====

@@ -69,9 +69,15 @@
 
 #endif /* 0 */
 
+#if defined(__alpha__)
 typedef struct {
    int32_t adr;
 } arcptr;
+#elif defined(sgimips)
+typedef struct {
+   void *adr;
+} arcptr;
+#endif
 
 typedef struct {
    u_int32_t	SPBSignature;


More information about the p4-projects mailing list