Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jan 2008 23:01:55 GMT
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 132534 for review
Message-ID:  <200801042301.m04N1tVW070170@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132534

Change 132534 by gonzo@gonzo_jeeves on 2008/01/04 23:01:44

	o Define MACHINE and MACHINE_ARCH properly
	o Get rid of several netbsdism that prevented userland from successfull 
	    build.

Affected files ...

.. //depot/projects/mips2-jnpr/src/sys/mips/include/param.h#5 edit

Differences ...

==== //depot/projects/mips2-jnpr/src/sys/mips/include/param.h#5 (text+ko) ====

@@ -51,8 +51,12 @@
 #endif
 #endif
 
+#ifndef MACHINE
+#define	MACHINE		"mips"
+#endif
+#ifndef MACHINE_ARCH
 #define	MACHINE_ARCH	"mips"
-#define	_MACHINE_ARCH	mips
+#endif
 
 /*
  * OBJFORMAT_NAMES is a comma-separated list of the object formats
@@ -115,10 +119,6 @@
 #define	CLBYTES		(CLSIZE * NBPG)
 #define	CLSIZELOG2	0
 
-/* NOTE: SSIZE, SINCR and UPAGES must be multiples of CLSIZE */
-#define	SSIZE		1		/* initial stack size/NBPG */
-#define	SINCR		1		/* increment of stack/NBPG */
-
 /*
  * NOTE: In FreeBSD, Uarea's don't have a fixed address.
  *	 Therefore, any code imported from OpenBSD which depends on



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801042301.m04N1tVW070170>