Date: Tue, 6 Apr 2010 04:57:41 +0000 (UTC) From: Juli Mallett <jmallett@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r206243 - user/jmallett/octeon/sys/mips/include Message-ID: <201004060457.o364vf0l050772@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jmallett Date: Tue Apr 6 04:57:41 2010 New Revision: 206243 URL: http://svn.freebsd.org/changeset/base/206243 Log: Fix xkphys->phys macro. Modified: user/jmallett/octeon/sys/mips/include/cpuregs.h Modified: user/jmallett/octeon/sys/mips/include/cpuregs.h ============================================================================== --- user/jmallett/octeon/sys/mips/include/cpuregs.h Tue Apr 6 03:07:39 2010 (r206242) +++ user/jmallett/octeon/sys/mips/include/cpuregs.h Tue Apr 6 04:57:41 2010 (r206243) @@ -111,7 +111,7 @@ #define MIPS_PHYS_TO_XKPHYS(cca,x) \ ((0x2ULL << 62) | ((unsigned long long)(cca) << 59) | (x)) -#define MIPS_XKPHYS_TO_PHYS(x) ((x) & 0x0effffffffffffffULL) +#define MIPS_XKPHYS_TO_PHYS(x) ((x) & 0x07ffffffffffffffULL) /* CPU dependent mtc0 hazard hook */ #ifdef TARGET_OCTEON
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201004060457.o364vf0l050772>