Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Apr 2013 22:47:16 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 227300 for review
Message-ID:  <201304012247.r31MlGNb045709@skunkworks.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://p4web.freebsd.org/@@227300?ac=10

Change 227300 by rwatson@rwatson_zenith_cl_cam_ac_uk on 2013/04/01 22:46:32

	For now, convince FICL that MIPS is 64-bit; later, we'll want to
	teach it that MIPS can also be 32-bit.

Affected files ...

.. //depot/projects/ctsrd/beribsd/src/sys/boot/ficl/mips/sysdep.h#3 edit

Differences ...

==== //depot/projects/ctsrd/beribsd/src/sys/boot/ficl/mips/sysdep.h#3 (text+ko) ====

@@ -105,11 +105,11 @@
 ** (11/2000: same for FICL_FLOAT)
 */
 #if !defined FICL_INT
-#define FICL_INT INT32
+#define FICL_INT long
 #endif
 
 #if !defined FICL_UNS
-#define FICL_UNS UNS32
+#define FICL_UNS unsigned long
 #endif
 
 #if !defined FICL_FLOAT
@@ -120,7 +120,7 @@
 ** Ficl presently supports values of 32 and 64 for BITS_PER_CELL
 */
 #if !defined BITS_PER_CELL
-#define BITS_PER_CELL 32
+#define BITS_PER_CELL 64
 #endif
 
 #if ((BITS_PER_CELL != 32) && (BITS_PER_CELL != 64))
@@ -366,7 +366,7 @@
 ** machine. 3 would be appropriate for a 64 bit machine.
 */
 #if !defined FICL_ALIGN
-#define FICL_ALIGN 2
+#define FICL_ALIGN 3
 #define FICL_ALIGN_ADD ((1 << FICL_ALIGN) - 1)
 #endif
 



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