From owner-svn-src-user@FreeBSD.ORG Sat Feb 27 21:03:27 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 A8C66106566B; Sat, 27 Feb 2010 21:03:27 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6A1E88FC13; Sat, 27 Feb 2010 21:03:27 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o1RKwNko024055; Sat, 27 Feb 2010 13:58:23 -0700 (MST) (envelope-from imp@bsdimp.com) Date: Sat, 27 Feb 2010 13:58:36 -0700 (MST) Message-Id: <20100227.135836.886429907132150964.imp@bsdimp.com> To: jmallett@FreeBSD.org From: "M. Warner Losh" In-Reply-To: <201002270555.o1R5t4HU071104@svn.freebsd.org> References: <201002270555.o1R5t4HU071104@svn.freebsd.org> X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: src-committers@FreeBSD.org, svn-src-user@FreeBSD.org Subject: Re: svn commit: r204400 - user/jmallett/octeon/sys/mips/cavium 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: Sat, 27 Feb 2010 21:03:27 -0000 In message: <201002270555.o1R5t4HU071104@svn.freebsd.org> Juli Mallett writes: : Author: jmallett : Date: Sat Feb 27 05:55:04 2010 : New Revision: 204400 : URL: http://svn.freebsd.org/changeset/base/204400 : : Log: : Fix test for address size. : : Modified: : user/jmallett/octeon/sys/mips/cavium/octeon_pcmap_regs.h : : Modified: user/jmallett/octeon/sys/mips/cavium/octeon_pcmap_regs.h : ============================================================================== : --- user/jmallett/octeon/sys/mips/cavium/octeon_pcmap_regs.h Sat Feb 27 05:46:40 2010 (r204399) : +++ user/jmallett/octeon/sys/mips/cavium/octeon_pcmap_regs.h Sat Feb 27 05:55:04 2010 (r204400) : @@ -594,7 +594,7 @@ typedef enum { : : /* PTR_SIZE == sizeof(uint32_t) */ : : -#ifdef ISA_MIPS32 : +#ifdef __mips_n32 The ISA_MIPS32 define was used for the weird o32-but-really-64-bit hack in too many places :( : #define mipsx_addr_size uint32_t // u_int64 : #define MIPSX_ADDR_SIZE_KSEGX_BIT_SHIFT 30 // 62 : #define MIPSX_ADDR_SIZE_KSEGX_MASK_REMOVED 0x1fffffff // 0x1fffffff :