Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc64/sparc64 sun4v: add comment documenting the ...
details: https://anonhg.NetBSD.org/src/rev/0a8f49cae0a7
branches: trunk
changeset: 448759:0a8f49cae0a7
user: palle <palle%NetBSD.org@localhost>
date: Fri Feb 08 19:26:25 2019 +0000
description:
sun4v: add comment documenting the contents of the %g2 register - no functional changes
diffstat:
sys/arch/sparc64/sparc64/locore.s | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 0bc3da3dd2b9 -r 0a8f49cae0a7 sys/arch/sparc64/sparc64/locore.s
--- a/sys/arch/sparc64/sparc64/locore.s Fri Feb 08 13:37:46 2019 +0000
+++ b/sys/arch/sparc64/sparc64/locore.s Fri Feb 08 19:26:25 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.s,v 1.415 2018/11/04 20:02:07 palle Exp $ */
+/* $NetBSD: locore.s,v 1.416 2019/02/08 19:26:25 palle Exp $ */
/*
* Copyright (c) 2006-2010 Matthew R. Green
@@ -3034,7 +3034,7 @@
# btst SUN4V_TLB_REAL_W|SUN4V_TLB_W, %g4 ! Is it a ref fault?
mov 1, %g2
- sllx %g2, 61, %g2
+ sllx %g2, 61, %g2 ! %g2 is now SUN4V_TLB_REAL_W
or %g2, SUN4V_TLB_W, %g2
btst %g2, %g4
bz,pn %xcc, sun4v_datatrap ! No -- really fault
@@ -3263,7 +3263,7 @@
# btst SUN4V_TLB_REAL_W|SUN4V_TLB_W, %g4 ! Is it a ref fault?
mov 1, %g2
- sllx %g2, 61, %g2
+ sllx %g2, 61, %g2 ! %g2 is now SUN4V_TLB_REAL_W
or %g2, SUN4V_TLB_W, %g2
btst %g2, %g4
bz,pn %xcc, sun4v_tl1_ptbl_miss ! No -- really fault
Home |
Main Index |
Thread Index |
Old Index