Date: Sat, 27 Feb 2010 13:58:36 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: jmallett@FreeBSD.org Cc: src-committers@FreeBSD.org, svn-src-user@FreeBSD.org Subject: Re: svn commit: r204400 - user/jmallett/octeon/sys/mips/cavium Message-ID: <20100227.135836.886429907132150964.imp@bsdimp.com> In-Reply-To: <201002270555.o1R5t4HU071104@svn.freebsd.org> References: <201002270555.o1R5t4HU071104@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <201002270555.o1R5t4HU071104@svn.freebsd.org> Juli Mallett <jmallett@FreeBSD.org> 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 :
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100227.135836.886429907132150964.imp>