svn commit: r206587 - user/jmallett/octeon/sys/mips/mips

Juli Mallett jmallett at FreeBSD.org
Wed Apr 14 04:10:14 UTC 2010


Author: jmallett
Date: Wed Apr 14 04:10:13 2010
New Revision: 206587
URL: http://svn.freebsd.org/changeset/base/206587

Log:
  o) Useful comment at the top of freebsd32_machdep.
  o) Remove TRAP_DEBUG.

Modified:
  user/jmallett/octeon/sys/mips/mips/freebsd32_machdep.c
  user/jmallett/octeon/sys/mips/mips/trap.c

Modified: user/jmallett/octeon/sys/mips/mips/freebsd32_machdep.c
==============================================================================
--- user/jmallett/octeon/sys/mips/mips/freebsd32_machdep.c	Wed Apr 14 03:58:21 2010	(r206586)
+++ user/jmallett/octeon/sys/mips/mips/freebsd32_machdep.c	Wed Apr 14 04:10:13 2010	(r206587)
@@ -58,6 +58,11 @@ __FBSDID("$FreeBSD: user/jmallett/octeon
 /*
  * XXX
  * Add a mechanism to distinguish between n32 and o32.
+ *
+ * For now this file is only for running n32 world on an n64 kernel.  Note also
+ * that it is pretty naive and incomplete and that at least sysarch and the
+ * mcontext-related functions are wrong due to pointer width.  Trivial to fix,
+ * but not done yet.
  */
 struct sysentvec elf32_freebsd_sysvec = {
 	.sv_size	= SYS_MAXSYSCALL,

Modified: user/jmallett/octeon/sys/mips/mips/trap.c
==============================================================================
--- user/jmallett/octeon/sys/mips/mips/trap.c	Wed Apr 14 03:58:21 2010	(r206586)
+++ user/jmallett/octeon/sys/mips/mips/trap.c	Wed Apr 14 04:10:13 2010	(r206587)
@@ -95,7 +95,6 @@ __FBSDID("$FreeBSD$");
 #include <sys/syslog.h>
 
 
-#define	TRAP_DEBUG
 #ifdef TRAP_DEBUG
 int trap_debug = 1;
 #endif


More information about the svn-src-user mailing list