From fb91456ba6319fea258dec4fa2dace2ff202c2ea Mon Sep 17 00:00:00 2001 From: tsutsui Date: Wed, 5 Sep 2001 13:31:36 +0000 Subject: [PATCH] vm_offset_t -> vaddr_t --- sys/arch/sun3/include/pte.h | 6 +++--- sys/arch/sun3/stand/libsa/sun3.c | 12 ++++++------ sys/arch/sun3/stand/libsa/sun3x.c | 6 +++--- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/arch/sun3/include/pte.h b/sys/arch/sun3/include/pte.h index 53d227de7c1b..9beb58b7ac24 100644 --- a/sys/arch/sun3/include/pte.h +++ b/sys/arch/sun3/include/pte.h @@ -1,4 +1,4 @@ -/* $NetBSD: pte.h,v 1.16 1998/02/05 04:56:59 gwr Exp $ */ +/* $NetBSD: pte.h,v 1.17 2001/09/05 13:31:36 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -44,8 +44,8 @@ #endif /* SUN3X */ #if defined(_KERNEL) || defined(_STANDALONE) -u_int get_pte __P((vm_offset_t va)); -void set_pte __P((vm_offset_t va, u_int pte)); +u_int get_pte __P((vaddr_t va)); +void set_pte __P((vaddr_t va, u_int pte)); #endif /* _KERNEL */ #endif /* _MACHINE_PTE_H */ diff --git a/sys/arch/sun3/stand/libsa/sun3.c b/sys/arch/sun3/stand/libsa/sun3.c index d41b2db8b765..9ae4230e881d 100644 --- a/sys/arch/sun3/stand/libsa/sun3.c +++ b/sys/arch/sun3/stand/libsa/sun3.c @@ -1,4 +1,4 @@ -/* $NetBSD: sun3.c,v 1.3 1999/03/04 07:56:41 gwr Exp $ */ +/* $NetBSD: sun3.c,v 1.4 2001/09/05 13:34:54 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -227,7 +227,7 @@ dvma3_free(char *dvma, int len) u_int get_pte(va) - vm_offset_t va; + vaddr_t va; { va = CONTROL_ADDR_BUILD(PGMAP_BASE, va); return (get_control_word(va)); @@ -235,7 +235,7 @@ get_pte(va) void set_pte(va, pte) - vm_offset_t va; + vaddr_t va; u_int pte; { va = CONTROL_ADDR_BUILD(PGMAP_BASE, va); @@ -244,7 +244,7 @@ set_pte(va, pte) int get_segmap(va) - vm_offset_t va; + vaddr_t va; { va = CONTROL_ADDR_BUILD(SEGMAP_BASE, va); return (get_control_byte(va)); @@ -252,7 +252,7 @@ get_segmap(va) void set_segmap(va, sme) - vm_offset_t va; + vaddr_t va; int sme; { va = CONTROL_ADDR_BUILD(SEGMAP_BASE, va); @@ -266,7 +266,7 @@ set_segmap(va, sme) void sun3_getidprom(u_char *dst) { - vm_offset_t src; /* control space address */ + vaddr_t src; /* control space address */ int len, x; src = IDPROM_BASE; diff --git a/sys/arch/sun3/stand/libsa/sun3x.c b/sys/arch/sun3/stand/libsa/sun3x.c index 786de0096dfb..961a97b7e8c4 100644 --- a/sys/arch/sun3/stand/libsa/sun3x.c +++ b/sys/arch/sun3/stand/libsa/sun3x.c @@ -1,4 +1,4 @@ -/* $NetBSD: sun3x.c,v 1.3 1998/06/29 20:06:34 gwr Exp $ */ +/* $NetBSD: sun3x.c,v 1.4 2001/09/05 13:34:54 tsutsui Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -223,7 +223,7 @@ dvma3x_free(char *dvma, int len) u_int get_pte(va) - vm_offset_t va; /* virt. address */ + vaddr_t va; /* virt. address */ { u_int pn; mmu_short_pte_t *tbl; @@ -248,7 +248,7 @@ get_pte(va) void set_pte(va, pa) - vm_offset_t va; /* virt. address */ + vvaddr_t va; /* virt. address */ u_int pa; /* phys. address */ { u_int pn;