Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arc/arc Moved from /cvsroot/syssrc/sys/arch/pica/pi...



details:   https://anonhg.NetBSD.org/src/rev/69c987e65716
branches:  trunk
changeset: 481076:69c987e65716
user:      soda <soda%NetBSD.org@localhost>
date:      Sun Jan 23 20:08:52 2000 +0000

description:
Moved from /cvsroot/syssrc/sys/arch/pica/pica/locore_machdep.S,v

diffstat:

 sys/arch/arc/arc/locore_machdep.S |  49 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 49 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r 0263428d9570 -r 69c987e65716 sys/arch/arc/arc/locore_machdep.S
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/arch/arc/arc/locore_machdep.S Sun Jan 23 20:08:52 2000 +0000
@@ -0,0 +1,49 @@
+/*     $NetBSD: locore_machdep.S,v 1.4 2000/01/23 20:08:53 soda Exp $  */
+
+
+/*
+ * ARC-specific mips locore code
+ */
+
+#include <mips/asm.h>
+
+/*
+ * fillw(pat, addr, count)
+ */
+LEAF(fillw)
+1:
+       addiu   a2, a2, -1
+       sh      a0, 0(a1)
+       bne     a2,zero, 1b
+       addiu   a1, a1, 2
+
+       jr      ra
+       nop
+END(fillw)
+
+
+/*
+ * Interrupt counters for vmstat.
+ * XXX These aren't used yet.
+ */
+       .data
+       .globl intrcnt
+       .globl eintrcnt
+       .globl intrnames
+       .globl eintrnames
+intrnames:
+       .asciiz "spur"
+       .asciiz "hil"
+       .asciiz "lev2"
+       .asciiz "lev3"
+       .asciiz "lev4"
+       .asciiz "lev5"
+       .asciiz "dma"
+       .asciiz "clock"
+       .asciiz "statclock"
+       .asciiz "nmi"
+eintrnames:
+       .align  2
+intrcnt:
+       .word   0,0,0,0,0,0,0,0,0,0
+eintrcnt:



Home | Main Index | Thread Index | Old Index