svn commit: r206243 - user/jmallett/octeon/sys/mips/include
Juli Mallett
jmallett at FreeBSD.org
Tue Apr 6 04:57:41 UTC 2010
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
More information about the svn-src-user
mailing list