Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/hpcmips/hpcmips deal with INT_MASK_REAL_DEV removal.
details: https://anonhg.NetBSD.org/src/rev/648dd32bdd7e
branches: trunk
changeset: 485953:648dd32bdd7e
user: shin <shin%NetBSD.org@localhost>
date: Tue May 09 13:20:55 2000 +0000
description:
deal with INT_MASK_REAL_DEV removal.
diffstat:
sys/arch/hpcmips/hpcmips/machdep.c | 12 +++++++++---
1 files changed, 9 insertions(+), 3 deletions(-)
diffs (35 lines):
diff -r ea36a8a33b6d -r 648dd32bdd7e sys/arch/hpcmips/hpcmips/machdep.c
--- a/sys/arch/hpcmips/hpcmips/machdep.c Tue May 09 13:19:54 2000 +0000
+++ b/sys/arch/hpcmips/hpcmips/machdep.c Tue May 09 13:20:55 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: machdep.c,v 1.23 2000/04/15 22:02:26 soda Exp $ */
+/* $NetBSD: machdep.c,v 1.24 2000/05/09 13:20:55 shin Exp $ */
/*
* Copyright (c) 1988 University of Utah.
@@ -43,7 +43,7 @@
#include <sys/cdefs.h> /* RCS ID & Copyright macro defns */
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.23 2000/04/15 22:02:26 soda Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.24 2000/05/09 13:20:55 shin Exp $");
/* from: Utah Hdr: machdep.c 1.63 91/04/24 */
#include "opt_vr41x1.h"
@@ -742,9 +742,15 @@
#endif /* MIPS3 && MIPS_INT_MASK_CLOCK */
/* device interrupts */
- if (ipending & INT_MASK_REAL_DEV) {
+#ifdef ENABLE_MIPS_TX3900
+ if (ipending & MIPS_HARD_INT_MASK) {
_splset((*platform.iointr)(status, cause, pc, ipending));
}
+#else
+ if (ipending & MIPS3_HARD_INT_MASK) {
+ _splset((*platform.iointr)(status, cause, pc, ipending));
+ }
+#endif
/* software simulated interrupt */
if ((ipending & MIPS_SOFT_INT_MASK_1)
Home |
Main Index |
Thread Index |
Old Index