Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sparc/sparc `fdcio_intrcnt.ev_count' is a 64-bit va...
details: https://anonhg.NetBSD.org/src/rev/93a94c551305
branches: trunk
changeset: 533203:93a94c551305
user: pk <pk%NetBSD.org@localhost>
date: Mon Jun 24 09:24:37 2002 +0000
description:
`fdcio_intrcnt.ev_count' is a 64-bit variable.
diffstat:
sys/arch/sparc/sparc/bsd_fdintr.s | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diffs (43 lines):
diff -r a71e0a9794fc -r 93a94c551305 sys/arch/sparc/sparc/bsd_fdintr.s
--- a/sys/arch/sparc/sparc/bsd_fdintr.s Mon Jun 24 08:42:33 2002 +0000
+++ b/sys/arch/sparc/sparc/bsd_fdintr.s Mon Jun 24 09:24:37 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bsd_fdintr.s,v 1.20 2002/05/31 19:59:00 thorpej Exp $ */
+/* $NetBSD: bsd_fdintr.s,v 1.21 2002/06/24 09:24:37 pk Exp $ */
/*
* Copyright (c) 1995 Paul Kranenburg
@@ -143,7 +143,7 @@
#define R_stat %l3
#define R_nstat %l4
#define R_stcnt %l5
-/* use %l6 and %l7 as short term temporaries */
+/* use %l6 and %l7 as short-term temporaries */
.seg "data"
@@ -167,7 +167,7 @@
std %l0, [%l7]
st %l2, [%l7 + 8]
- ! tally interrupt
+ ! tally interrupt (uvmexp.intrs++)
sethi %hi(_C_LABEL(uvmexp)+V_INTR), %l7
ld [%l7 + %lo(_C_LABEL(uvmexp)+V_INTR)], %l6
inc %l6
@@ -177,10 +177,11 @@
sethi %hi(_C_LABEL(fdciop)), %l7
ld [%l7 + %lo(_C_LABEL(fdciop))], R_fdc
- ! tally interrupt
- ld [R_fdc + FDC_EVCNT], %l6
- inc %l6
- st %l6, [R_fdc + FDC_EVCNT]
+ ! tally interrupt (fdcio_intrcnt.ev_count++)
+ ldd [R_fdc + FDC_EVCNT], %l6
+ addcc %l7, 1, %l7
+ addx %l6, 0, %l6
+ std %l6, [R_fdc + FDC_EVCNT]
/*
* load chips register addresses
Home |
Main Index |
Thread Index |
Old Index