Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/vax/vax Didn't reset interrupt flag after reading. ...
details: https://anonhg.NetBSD.org/src/rev/835b01065ac5
branches: trunk
changeset: 467629:835b01065ac5
user: ragge <ragge%NetBSD.org@localhost>
date: Fri Mar 26 19:35:30 1999 +0000
description:
Didn't reset interrupt flag after reading. From Christopher Sekiya.
diffstat:
sys/arch/vax/vax/scb.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 1629d93d7b09 -r 835b01065ac5 sys/arch/vax/vax/scb.c
--- a/sys/arch/vax/vax/scb.c Fri Mar 26 19:20:42 1999 +0000
+++ b/sys/arch/vax/vax/scb.c Fri Mar 26 19:35:30 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: scb.c,v 1.3 1999/03/13 15:16:48 ragge Exp $ */
+/* $NetBSD: scb.c,v 1.4 1999/03/26 19:35:30 ragge Exp $ */
/*
* Copyright (c) 1999 Ludd, University of Lule}, Sweden.
* All rights reserved.
@@ -125,12 +125,15 @@
scb_vecref(rvec, ripl)
int *rvec, *ripl;
{
+ int save;
+
if (rvec)
*rvec = vector;
if (ripl)
*ripl = ipl;
- vector = ipl = 0;
- return gotintr;
+ save = gotintr;
+ gotintr = vector = ipl = 0;
+ return save;
}
/*
Home |
Main Index |
Thread Index |
Old Index