Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/arc/include back out previous changes as stopgap.



details:   https://anonhg.NetBSD.org/src/rev/147a7943eaa8
branches:  trunk
changeset: 485944:147a7943eaa8
user:      soda <soda%NetBSD.org@localhost>
date:      Tue May 09 07:27:04 2000 +0000

description:
back out previous changes as stopgap.
arc port still relies on MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV.
(cpu_intr() of arc port should be rewritten completely, but not yet.)

diffstat:

 sys/arch/arc/include/cpu.h |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r 84e80c7ef722 -r 147a7943eaa8 sys/arch/arc/include/cpu.h
--- a/sys/arch/arc/include/cpu.h        Tue May 09 06:23:40 2000 +0000
+++ b/sys/arch/arc/include/cpu.h        Tue May 09 07:27:04 2000 +0000
@@ -1,9 +1,14 @@
-/*     $NetBSD: cpu.h,v 1.13 2000/05/05 03:18:25 soren Exp $   */
+/*     $NetBSD: cpu.h,v 1.14 2000/05/09 07:27:04 soda Exp $    */
 /*     $OpenBSD: cpu.h,v 1.9 1998/01/28 13:46:10 pefo Exp $ */
 
 #ifndef _ARC_CPU_H_
 #define _ARC_CPU_H_
 
+/*
+ *  Internal timer causes hard interrupt 5.
+ */
+#define MIPS_INT_MASK_CLOCK    MIPS_INT_MASK_5
+
 #include <mips/cpu.h>
 #include <mips/cpuregs.h>
 
@@ -13,6 +18,8 @@
  */
 #define        COPY_SIGCODE            /* copy sigcode above user stack in exec */
 
+#define        INT_MASK_REAL_DEV       MIPS3_HARD_INT_MASK     /* XXX */
+
 #ifndef _LOCORE
 struct tlb;
 extern void mips3_TLBWriteIndexedVPS __P((u_int index, struct tlb *tlb));



Home | Main Index | Thread Index | Old Index