Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun2/sun2 Under DIAGNOSTIC, disabled a test that wa...



details:   https://anonhg.NetBSD.org/src/rev/07db7a3b0f48
branches:  trunk
changeset: 508366:07db7a3b0f48
user:      fredette <fredette%NetBSD.org@localhost>
date:      Tue Apr 10 12:29:10 2001 +0000

description:
Under DIAGNOSTIC, disabled a test that was using an
instruction not available on the 68010.  Also removed
more old sun3 cache-related code.

diffstat:

 sys/arch/sun2/sun2/locore.s |  28 +++++-----------------------
 1 files changed, 5 insertions(+), 23 deletions(-)

diffs (49 lines):

diff -r 7105fe3aaca4 -r 07db7a3b0f48 sys/arch/sun2/sun2/locore.s
--- a/sys/arch/sun2/sun2/locore.s       Tue Apr 10 12:27:40 2001 +0000
+++ b/sys/arch/sun2/sun2/locore.s       Tue Apr 10 12:29:10 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.2 2001/04/06 14:36:08 fredette Exp $      */
+/*     $NetBSD: locore.s,v 1.3 2001/04/10 12:29:10 fredette Exp $      */
 
 /*
  * Copyright (c) 2001 Matthew Fredette
@@ -768,8 +768,10 @@
         */
        movl    a0@(P_VMSPACE),a2       | vm = p->p_vmspace
 #ifdef DIAGNOSTIC
-       tstl    a2                      | vm == VM_MAP_NULL?
-       jeq     Lbadsw                  | panic
+| XXX fredette - tstl with an address register EA not supported
+| on the 68010, too lazy to fix this instance now.
+|      tstl    a2                      | vm == VM_MAP_NULL?
+|      jeq     Lbadsw                  | panic
 #endif
        /*
         * Call _pmap_switch().
@@ -832,26 +834,6 @@
        moveq   #0,d0                   | return 0
        rts
 
-/* suline() */
-/* TBIA, TBIS, TBIAS, TBIAU */
-
-/*
- * Invalidate instruction cache
- */
-ENTRY(ICIA)
-       rts
-
-/* DCIA, DCIS */
-
-/*
- * Invalidate data cache.
- */
-ENTRY(DCIU)
-       rts
-
-/* ICPL, ICPP, DCPL, DCPP, DCPA, DCFL, DCFP */
-/* PCIA, ecacheon, ecacheoff */
-
 /*
  * Get callers current SP value.
  * Note that simply taking the address of a local variable in a C function



Home | Main Index | Thread Index | Old Index