Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2010 04:10:14 +0000 (UTC)
From:      Juli Mallett <jmallett@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r206587 - user/jmallett/octeon/sys/mips/mips
Message-ID:  <201004140410.o3E4AELl059673@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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