PERFORCE change 132534 for review

Oleksandr Tymoshenko gonzo at FreeBSD.org
Fri Jan 4 15:01:56 PST 2008


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

Change 132534 by gonzo at 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


More information about the p4-projects mailing list