Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbsh5/evbsh5 - Make sure not to sign-extend the PA...



details:   https://anonhg.NetBSD.org/src/rev/5f234fddd583
branches:  trunk
changeset: 537935:5f234fddd583
user:      scw <scw%NetBSD.org@localhost>
date:      Tue Oct 08 15:52:02 2002 +0000

description:
- Make sure not to sign-extend the PA of KSEG0, particulary in 64-bit mode,
- Moved intrnames/eintrnames here, since they're pretty much board-specific.

diffstat:

 sys/arch/evbsh5/evbsh5/locore.S |  32 ++++++++++++++++++++++++++++++--
 1 files changed, 30 insertions(+), 2 deletions(-)

diffs (50 lines):

diff -r 0495284a604f -r 5f234fddd583 sys/arch/evbsh5/evbsh5/locore.S
--- a/sys/arch/evbsh5/evbsh5/locore.S   Tue Oct 08 15:50:11 2002 +0000
+++ b/sys/arch/evbsh5/evbsh5/locore.S   Tue Oct 08 15:52:02 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.S,v 1.6 2002/10/04 09:23:27 scw Exp $   */
+/*     $NetBSD: locore.S,v 1.7 2002/10/08 15:52:02 scw Exp $   */
 
 /*
  * Copyright 2002 Wasabi Systems, Inc.
@@ -140,7 +140,7 @@
         * void pmap_bootstrap(vaddr_t avail, paddr_t kseg0base,
         *                     struct mem_region *mr);
         */
-       LDSC32(0x80000000, r3)
+       LDUC32(0x80000000, r3)
        LEA(Lmem_regions, r4)
        LEAF(_C_LABEL(pmap_bootstrap), r0)
        ptabs/l r0, tr0
@@ -365,3 +365,31 @@
 GLOBAL(_evbsh5_dtf_buffer)
        .space  4096,0
 #endif
+
+       .data
+       .balign 4
+
+/*
+ * Interrupt names for Cayman
+ *
+ * These are here because some userland tools insist on grovelling
+ * for intrnames/eintrnames.
+ */
+GLOBAL(intrnames)
+       .asciz  "spurious"
+       .asciz  "softmisc"
+       .asciz  "softclock"
+       .asciz  "softnet"
+       .asciz  "irq4"
+       .asciz  "isa-lan"
+       .asciz  "pci"
+       .asciz  "irq7"
+       .asciz  "irq8"
+       .asciz  "irq9"
+       .asciz  "softserial"
+       .asciz  "irq11"
+       .asciz  "scif"
+       .asciz  "irq13"
+       .asciz  "clock"
+       .asciz  "irq15"
+GLOBAL(eintrnames)



Home | Main Index | Thread Index | Old Index