svn commit: r266532 - stable/10/sys/powerpc/aim
Justin Hibbits
jhibbits at FreeBSD.org
Thu May 22 05:20:22 UTC 2014
Author: jhibbits
Date: Thu May 22 05:20:21 2014
New Revision: 266532
URL: http://svnweb.freebsd.org/changeset/base/266532
Log:
MFC r266116,r266136
A page mask size is 12-bits, not 11.
Modified:
stable/10/sys/powerpc/aim/trap_subr32.S
stable/10/sys/powerpc/aim/trap_subr64.S
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/powerpc/aim/trap_subr32.S
==============================================================================
--- stable/10/sys/powerpc/aim/trap_subr32.S Thu May 22 05:04:40 2014 (r266531)
+++ stable/10/sys/powerpc/aim/trap_subr32.S Thu May 22 05:20:21 2014 (r266532)
@@ -677,7 +677,7 @@ disitrap:
mtcr %r31
bt 17,realtrap /* branch is user mode */
mfsprg1 %r31 /* get old SP */
- clrrwi %r31,%r31,11 /* Round SP down to nearest page */
+ clrrwi %r31,%r31,12 /* Round SP down to nearest page */
sub. %r30,%r31,%r30 /* SP - DAR */
bge 1f
neg %r30,%r30 /* modulo value */
Modified: stable/10/sys/powerpc/aim/trap_subr64.S
==============================================================================
--- stable/10/sys/powerpc/aim/trap_subr64.S Thu May 22 05:04:40 2014 (r266531)
+++ stable/10/sys/powerpc/aim/trap_subr64.S Thu May 22 05:20:21 2014 (r266532)
@@ -585,7 +585,7 @@ disitrap:
mtcr %r31
bt 17,realtrap /* branch is user mode */
mfsprg1 %r31 /* get old SP */
- clrrdi %r31,%r31,11 /* Round SP down to nearest page */
+ clrrdi %r31,%r31,12 /* Round SP down to nearest page */
sub. %r30,%r31,%r30 /* SP - DAR */
bge 1f
neg %r30,%r30 /* modulo value */
More information about the svn-src-stable
mailing list