Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/m68k/m68k vm_offset_t -> db_addr_t (mostly), v_addr...



details:   https://anonhg.NetBSD.org/src/rev/9133b4b10a90
branches:  trunk
changeset: 476706:9133b4b10a90
user:      is <is%NetBSD.org@localhost>
date:      Sat Sep 25 21:11:55 1999 +0000

description:
vm_offset_t -> db_addr_t (mostly), v_addr_t (one place).

diffstat:

 sys/arch/m68k/m68k/db_disasm.c |  8 ++++----
 sys/arch/m68k/m68k/db_disasm.h |  4 ++--
 sys/arch/m68k/m68k/db_memrw.c  |  6 +++---
 sys/arch/m68k/m68k/db_trace.c  |  8 ++++----
 4 files changed, 13 insertions(+), 13 deletions(-)

diffs (89 lines):

diff -r ad115ca58462 -r 9133b4b10a90 sys/arch/m68k/m68k/db_disasm.c
--- a/sys/arch/m68k/m68k/db_disasm.c    Sat Sep 25 20:43:43 1999 +0000
+++ b/sys/arch/m68k/m68k/db_disasm.c    Sat Sep 25 21:11:55 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.c,v 1.23 1999/06/09 07:53:22 scottr Exp $    */
+/*     $NetBSD: db_disasm.c,v 1.24 1999/09/25 21:11:55 is Exp $        */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -164,9 +164,9 @@
 static char asm_buffer[256];
 static char info_buffer[256];
 
-vm_offset_t 
-db_disasm(loc, moto_syntax)
-       vm_offset_t loc;
+db_addr_t 
+db_disasm(db_addr_t, moto_syntax)
+       db_addr_t loc;
        boolean_t moto_syntax;
 {
        u_short opc;
diff -r ad115ca58462 -r 9133b4b10a90 sys/arch/m68k/m68k/db_disasm.h
--- a/sys/arch/m68k/m68k/db_disasm.h    Sat Sep 25 20:43:43 1999 +0000
+++ b/sys/arch/m68k/m68k/db_disasm.h    Sat Sep 25 21:11:55 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_disasm.h,v 1.4 1996/04/01 01:38:12 briggs Exp $     */
+/*     $NetBSD: db_disasm.h,v 1.5 1999/09/25 21:11:55 is Exp $ */
 
 /*
  * Copyright (c) 1994 Christian E. Hopps
@@ -425,7 +425,7 @@
 #define PRINT_DREG(dbuf, reg) addstr(dbuf, dregs[reg])
 #define PRINT_AREG(dbuf, reg) addstr(dbuf, aregs[reg])
 
-vm_offset_t    db_disasm __P((vm_offset_t loc, boolean_t moto_syntax));
+db_addr_t      db_disasm __P((db_addr_t loc, boolean_t moto_syntax));
 void   get_modregstr_moto __P((dis_buffer_t *dbuf, int bit, int mod, int sz, int dd));
 void   get_modregstr_mit __P((dis_buffer_t *dbuf, int bit, int mod, int sz, int dd));
 u_long get_areg_val __P((int reg));
diff -r ad115ca58462 -r 9133b4b10a90 sys/arch/m68k/m68k/db_memrw.c
--- a/sys/arch/m68k/m68k/db_memrw.c     Sat Sep 25 20:43:43 1999 +0000
+++ b/sys/arch/m68k/m68k/db_memrw.c     Sat Sep 25 21:11:55 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_memrw.c,v 1.1 1996/02/22 23:23:35 gwr Exp $ */
+/*     $NetBSD: db_memrw.c,v 1.2 1999/09/25 21:11:55 is Exp $  */
 
 /* 
  * Mach Operating System
@@ -51,7 +51,7 @@
  */
 void
 db_read_bytes(addr, size, data)
-       vm_offset_t     addr;
+       db_addr_t       addr;
        register size_t size;
        register char   *data;
 {
@@ -78,7 +78,7 @@
  */
 void
 db_write_bytes(addr, size, data)
-       vm_offset_t     addr;
+       db_addr_t       addr;
        register size_t size;
        register char   *data;
 {
diff -r ad115ca58462 -r 9133b4b10a90 sys/arch/m68k/m68k/db_trace.c
--- a/sys/arch/m68k/m68k/db_trace.c     Sat Sep 25 20:43:43 1999 +0000
+++ b/sys/arch/m68k/m68k/db_trace.c     Sat Sep 25 21:11:55 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: db_trace.c,v 1.25 1999/04/05 17:17:04 scw Exp $        */
+/*     $NetBSD: db_trace.c,v 1.26 1999/09/25 21:11:55 is Exp $ */
 
 /* 
  * Mach Operating System
@@ -86,9 +86,9 @@
 #define        MAXINT  0x7fffffff
 
 #if 0
-#define        INKERNEL(va)    (((vm_offset_t)(va)) >= VM_MIN_KERNEL_ADDRESS && \
-                        (((vm_offset_t)(va)) < (USRSTACK - MAXSSIZ) || \
-                         ((vm_offset_t)(va)) >= USRSTACK))
+#define        INKERNEL(va)    (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS && \
+                        (((vaddr_t)(va)) < (USRSTACK - MAXSSIZ) || \
+                         ((vaddr_t)(va)) >= USRSTACK))
 #else
 /* XXX - Slight hack... */
 extern int curpcb;



Home | Main Index | Thread Index | Old Index