Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sparc/sparc Make the address argument of pcache_flu...



details:   https://anonhg.NetBSD.org/src/rev/8b8fd962c596
branches:  trunk
changeset: 487323:8b8fd962c596
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jun 06 07:56:40 2000 +0000

description:
Make the address argument of pcache_flush_page() a `paddr_t'.

diffstat:

 sys/arch/sparc/sparc/cache.h  |  4 ++--
 sys/arch/sparc/sparc/cpuvar.h |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 6c4ad584ed32 -r 8b8fd962c596 sys/arch/sparc/sparc/cache.h
--- a/sys/arch/sparc/sparc/cache.h      Tue Jun 06 07:55:50 2000 +0000
+++ b/sys/arch/sparc/sparc/cache.h      Tue Jun 06 07:56:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cache.h,v 1.21 2000/06/05 20:38:24 pk Exp $ */
+/*     $NetBSD: cache.h,v 1.22 2000/06/06 07:56:40 pk Exp $ */
 
 /*
  * Copyright (c) 1996
@@ -193,7 +193,7 @@
 #define noop_cache_flush \
        (void (*)__P((caddr_t, u_int))) sparc_noop
 #define noop_pcache_flush_page \
-       (void (*)__P((int, int))) sparc_noop
+       (void (*)__P((paddr_t, int))) sparc_noop
 #define noop_pure_vcache_flush \
        (void (*)__P((void))) sparc_noop
 #define noop_cache_flush_all \
diff -r 6c4ad584ed32 -r 8b8fd962c596 sys/arch/sparc/sparc/cpuvar.h
--- a/sys/arch/sparc/sparc/cpuvar.h     Tue Jun 06 07:55:50 2000 +0000
+++ b/sys/arch/sparc/sparc/cpuvar.h     Tue Jun 06 07:56:40 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpuvar.h,v 1.27 2000/06/05 20:38:25 pk Exp $ */
+/*     $NetBSD: cpuvar.h,v 1.28 2000/06/06 07:56:40 pk Exp $ */
 
 /*
  *  Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -78,7 +78,7 @@
        void (*sp_vcache_flush_segment)__P((int, int));
        void (*sp_vcache_flush_region)__P((int));
        void (*sp_vcache_flush_context)__P((void));
-       void (*pcache_flush_page)__P((int, int));
+       void (*pcache_flush_page)__P((paddr_t, int));
        void (*pure_vcache_flush)__P((void));
        void (*cache_flush_all)__P((void));
        void (*memerr)__P((unsigned, u_int, u_int, struct trapframe *));
@@ -280,7 +280,7 @@
        void    (*vcache_flush_context)__P((void));
        void    (*sp_vcache_flush_context)__P((void));
 
-       void    (*pcache_flush_page)__P((int, int));
+       void    (*pcache_flush_page)__P((paddr_t, int));
        void    (*pure_vcache_flush)__P((void));
        void    (*cache_flush_all)__P((void));
 



Home | Main Index | Thread Index | Old Index