3529 // At this point, (tmp-0) is the last address touched, so don't |
3529 // At this point, (tmp-0) is the last address touched, so don't |
3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp |
3530 // touch it again. (It was touched as (tmp-pagesize) but then tmp |
3531 // was post-decremented.) Skip this address by starting at i=1, and |
3531 // was post-decremented.) Skip this address by starting at i=1, and |
3532 // touch a few more pages below. N.B. It is important to touch all |
3532 // touch a few more pages below. N.B. It is important to touch all |
3533 // the way down to and including i=StackShadowPages. |
3533 // the way down to and including i=StackShadowPages. |
3534 for (int i = 1; i <= StackShadowPages; i++) { |
3534 for (int i = 1; i < StackShadowPages; i++) { |
3535 set((-i*offset)+STACK_BIAS, Rscratch); |
3535 set((-i*offset)+STACK_BIAS, Rscratch); |
3536 st(G0, Rtsp, Rscratch); |
3536 st(G0, Rtsp, Rscratch); |
3537 } |
3537 } |
3538 } |
3538 } |
3539 |
3539 |