Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/sun68k/sun68k vm_offset_t -> vaddr_t



details:   https://anonhg.NetBSD.org/src/rev/65b9d483f024
branches:  trunk
changeset: 518457:65b9d483f024
user:      fredette <fredette%NetBSD.org@localhost>
date:      Fri Nov 30 17:47:04 2001 +0000

description:
vm_offset_t -> vaddr_t
Removed register qualifiers.

diffstat:

 sys/arch/sun68k/sun68k/control.h      |  20 +++++++-------------
 sys/arch/sun68k/sun68k/isr.c          |   6 +++---
 sys/arch/sun68k/sun68k/kgdb_machdep.c |   4 ++--
 3 files changed, 12 insertions(+), 18 deletions(-)

diffs (83 lines):

diff -r 550891a641d4 -r 65b9d483f024 sys/arch/sun68k/sun68k/control.h
--- a/sys/arch/sun68k/sun68k/control.h  Fri Nov 30 16:21:16 2001 +0000
+++ b/sys/arch/sun68k/sun68k/control.h  Fri Nov 30 17:47:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: control.h,v 1.1 2001/06/14 12:57:17 fredette Exp $     */
+/*     $NetBSD: control.h,v 1.2 2001/11/30 17:47:04 fredette Exp $     */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -39,22 +39,16 @@
 #if defined(_KERNEL) || defined(_STANDALONE)
 
 /* ctrlsp.S */
-int   get_control_byte __P((vm_offset_t));
-void  set_control_byte __P((vm_offset_t, int));
-u_int get_control_word __P((vm_offset_t));
-void  set_control_word __P((vm_offset_t, u_int));
+int   get_control_byte __P((vaddr_t));
+void  set_control_byte __P((vaddr_t, int));
+u_int get_control_word __P((vaddr_t));
+void  set_control_word __P((vaddr_t, u_int));
 
 /* control.c */
 int  get_context __P((void));
 void set_context __P((int));
 
-int  get_segmap __P((vm_offset_t));
-void set_segmap __P((vm_offset_t, int));
-
-#if 0
-/* Moved to pte.h (now a common interface). */
-int  get_pte __P((vm_offset_t));
-void set_pte __P((vm_offset_t, int));
-#endif
+int  get_segmap __P((vaddr_t));
+void set_segmap __P((vaddr_t, int));
 
 #endif /* _KERNEL | _STANDALONE */
diff -r 550891a641d4 -r 65b9d483f024 sys/arch/sun68k/sun68k/isr.c
--- a/sys/arch/sun68k/sun68k/isr.c      Fri Nov 30 16:21:16 2001 +0000
+++ b/sys/arch/sun68k/sun68k/isr.c      Fri Nov 30 17:47:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: isr.c,v 1.1 2001/06/27 02:48:32 fredette Exp $ */
+/*     $NetBSD: isr.c,v 1.2 2001/11/30 17:47:04 fredette Exp $ */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -133,7 +133,7 @@
        struct clockframe cf;
 {
        struct isr *isr;
-       register int n, ipl, vec;
+       int n, ipl, vec;
 
        vec = (cf.cf_vo & 0xFFF) >> 2;
        if ((vec < AUTOVEC_BASE) || (vec >= (AUTOVEC_BASE+8)))
@@ -201,7 +201,7 @@
        struct clockframe cf;
 {
        struct vector_handler *vh;
-       register int ipl, vec;
+       int ipl, vec;
 
        vec = (cf.cf_vo & 0xFFF) >> 2;
        ipl = _getsr();
diff -r 550891a641d4 -r 65b9d483f024 sys/arch/sun68k/sun68k/kgdb_machdep.c
--- a/sys/arch/sun68k/sun68k/kgdb_machdep.c     Fri Nov 30 16:21:16 2001 +0000
+++ b/sys/arch/sun68k/sun68k/kgdb_machdep.c     Fri Nov 30 17:47:04 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kgdb_machdep.c,v 1.1 2001/06/14 13:08:11 fredette Exp $        */
+/*     $NetBSD: kgdb_machdep.c,v 1.2 2001/11/30 17:47:04 fredette Exp $        */
 
 /*
  * Copyright (c) 1990, 1993
@@ -57,7 +57,7 @@
  */
 int
 kgdb_acc(va, ulen)
-       vm_offset_t va;
+       vaddr_t va;
        size_t ulen;
 {
 



Home | Main Index | Thread Index | Old Index