svn commit: r204400 - user/jmallett/octeon/sys/mips/cavium

M. Warner Losh imp at bsdimp.com
Sat Feb 27 21:03:27 UTC 2010


In message: <201002270555.o1R5t4HU071104 at svn.freebsd.org>
            Juli Mallett <jmallett at 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
: 


More information about the svn-src-user mailing list