summaryrefslogtreecommitdiff
path: root/usr/src/uts/sfmmu
diff options
context:
space:
mode:
authorAmritpal Sandhu <Paul.Sandhu@Sun.COM>2008-12-08 10:48:29 -0800
committerAmritpal Sandhu <Paul.Sandhu@Sun.COM>2008-12-08 10:48:29 -0800
commit5f87cd85650b75d56c0833d286b882ee5ffb280a (patch)
treee65b4dcffc82037e8f75eb184c4c6e34f865f4cc /usr/src/uts/sfmmu
parent71443f5a40b6c951461366ce28749d9df235c6ef (diff)
downloadillumos-joyent-5f87cd85650b75d56c0833d286b882ee5ffb280a.tar.gz
6781315 panic and other errors on snv_104 with kmdb after sending a break
Diffstat (limited to 'usr/src/uts/sfmmu')
-rw-r--r--usr/src/uts/sfmmu/ml/sfmmu_kdi.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/sfmmu/ml/sfmmu_kdi.s b/usr/src/uts/sfmmu/ml/sfmmu_kdi.s
index 346a08aa5f..615066961a 100644
--- a/usr/src/uts/sfmmu/ml/sfmmu_kdi.s
+++ b/usr/src/uts/sfmmu/ml/sfmmu_kdi.s
@@ -138,7 +138,7 @@ bspage: /* TTE_PAGE_SHIFT in %g5 */ \
* uint64_t blkpap = hmebpa + HMEBP_HBLK;
* uint64_t blkpa;
*
- * while ((blkpa = lddphys(blkpap)) != NULL) {
+ * while ((blkpa = lddphys(blkpap)) != HMEBLK_ENDPA) {
* if (lddphys(blkpa + HMEBLK_TAG) == hblktag) {
* if ((sfmmu_t *)lddphys(blkpa + HMEBLK_TAG + 8) ==
* sfmmup)
@@ -163,8 +163,8 @@ bspage: /* TTE_PAGE_SHIFT in %g5 */ \
search_loop: \
ldxa [%g4]ASI_MEM, %g4; \
cmp %g4, HMEBLK_ENDPA; \
- be,pn %xcc, search_done; \
- nop; \
+ be,a,pn %xcc, search_done; \
+ clr %g4; \
\
add %g4, HMEBLK_TAG, %g4; /* %g4 is now hmeblk PA */ \
ldxa [%g4]ASI_MEM, %g6; \