Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/shark/shark Rename cache clean area variables from ...



details:   https://anonhg.NetBSD.org/src/rev/2b901e845d91
branches:  trunk
changeset: 526471:2b901e845d91
user:      rjs <rjs%NetBSD.org@localhost>
date:      Fri May 03 21:28:11 2002 +0000

description:
Rename cache clean area variables from sa110_* to sa1_*.

diffstat:

 sys/arch/shark/shark/shark_machdep.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 89b63104d620 -r 2b901e845d91 sys/arch/shark/shark/shark_machdep.c
--- a/sys/arch/shark/shark/shark_machdep.c      Fri May 03 20:54:18 2002 +0000
+++ b/sys/arch/shark/shark/shark_machdep.c      Fri May 03 21:28:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: shark_machdep.c,v 1.3 2002/04/05 16:58:12 thorpej Exp $        */
+/*     $NetBSD: shark_machdep.c,v 1.4 2002/05/03 21:28:11 rjs Exp $    */
 
 /*
  * Copyright 1997
@@ -132,8 +132,8 @@
  * on total size boundry so the banks can be alternated by
  * xorring the size bit (assumes the bank size is a power of 2)
  */
-extern unsigned int sa110_cache_clean_addr;
-extern unsigned int sa110_cache_clean_size;
+extern unsigned int sa1_cache_clean_addr;
+extern unsigned int sa1_cache_clean_size;
 
 struct cfattach ofbus_root_ca = {
        sizeof(struct device), ofbus_match, ofbus_attach
@@ -240,9 +240,9 @@
 
        /* allocate a cache clean space */
        if ((pclean = ofw_getcleaninfo()) != -1) {
-               sa110_cache_clean_addr = ofw_map(pclean, 0x4000 * 2,
+               sa1_cache_clean_addr = ofw_map(pclean, 0x4000 * 2,
                     L2_B | L2_C);
-               sa110_cache_clean_size = 0x4000;
+               sa1_cache_clean_size = 0x4000;
        }
 
        /* Configure memory. */



Home | Main Index | Thread Index | Old Index