From owner-svn-src-user@FreeBSD.ORG Wed Apr 14 04:10:14 2010 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 50F2A1065675; Wed, 14 Apr 2010 04:10:14 +0000 (UTC) (envelope-from jmallett@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 3FC4C8FC13; Wed, 14 Apr 2010 04:10:14 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o3E4AE8V059676; Wed, 14 Apr 2010 04:10:14 GMT (envelope-from jmallett@svn.freebsd.org) Received: (from jmallett@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o3E4AELl059673; Wed, 14 Apr 2010 04:10:14 GMT (envelope-from jmallett@svn.freebsd.org) Message-Id: <201004140410.o3E4AELl059673@svn.freebsd.org> From: Juli Mallett Date: Wed, 14 Apr 2010 04:10:14 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r206587 - user/jmallett/octeon/sys/mips/mips X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2010 04:10:14 -0000 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 -#define TRAP_DEBUG #ifdef TRAP_DEBUG int trap_debug = 1; #endif