Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun3 Move cachectl1() declaration from sun3/machdep...



details:   https://anonhg.NetBSD.org/src/rev/ea0ecc377c9d
branches:  trunk
changeset: 503254:ea0ecc377c9d
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Feb 04 01:31:54 2001 +0000

description:
Move cachectl1() declaration from sun3/machdep.h to include/cpu.h;
it is refered by sys/compat/linux/arch/m68k/linux_machdep.c.

XXX: all declarations in machdep.h should be moved into cpu.h?

diffstat:

 sys/arch/sun3/include/cpu.h  |  4 +++-
 sys/arch/sun3/sun3/machdep.h |  4 +---
 2 files changed, 4 insertions(+), 4 deletions(-)

diffs (36 lines):

diff -r 677e8b9b50d1 -r ea0ecc377c9d sys/arch/sun3/include/cpu.h
--- a/sys/arch/sun3/include/cpu.h       Sun Feb 04 01:26:44 2001 +0000
+++ b/sys/arch/sun3/include/cpu.h       Sun Feb 04 01:31:54 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.26 2001/02/03 12:50:53 tsutsui Exp $ */
+/*     $NetBSD: cpu.h,v 1.27 2001/02/04 01:31:54 tsutsui Exp $ */
 
 /*
  * Copyright (c) 1994 Gordon W. Ross
@@ -154,6 +154,8 @@
 #define setsoftnet()   (sun3sir.sir_which[SIR_NET] = 1, setsoftint(1))
 #define setsoftclock() (sun3sir.sir_which[SIR_CLOCK] = 1, setsoftint(1))
 
+int    cachectl1 __P((unsigned long, vaddr_t, size_t, struct proc *));
+
 #endif /* _KERNEL */
 
 #include <m68k/sysctl.h>
diff -r 677e8b9b50d1 -r ea0ecc377c9d sys/arch/sun3/sun3/machdep.h
--- a/sys/arch/sun3/sun3/machdep.h      Sun Feb 04 01:26:44 2001 +0000
+++ b/sys/arch/sun3/sun3/machdep.h      Sun Feb 04 01:31:54 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.h,v 1.23 2001/02/03 12:53:23 tsutsui Exp $     */
+/*     $NetBSD: machdep.h,v 1.24 2001/02/04 01:31:56 tsutsui Exp $     */
 
 /*
  * Copyright (c) 1994 Gordon W. Ross
@@ -72,8 +72,6 @@
 void   DCIU __P((void));
 void   ICIA __P((void));
 
-int    cachectl1 __P((unsigned long, vaddr_t, size_t, struct proc *));
-
 void   child_return __P((void *));
 
 void   clock_init  __P((void));



Home | Main Index | Thread Index | Old Index