Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun3 vm_offset_t -> vaddr_t
details: https://anonhg.NetBSD.org/src/rev/f9fa9c7b953e
branches: trunk
changeset: 514558:f9fa9c7b953e
user: tsutsui <tsutsui%NetBSD.org@localhost>
date: Wed Sep 05 13:31:36 2001 +0000
description:
vm_offset_t -> vaddr_t
diffstat:
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(-)
diffs (101 lines):
diff -r 34ac4bc54688 -r f9fa9c7b953e sys/arch/sun3/include/pte.h
--- a/sys/arch/sun3/include/pte.h Wed Sep 05 13:30:24 2001 +0000
+++ b/sys/arch/sun3/include/pte.h Wed Sep 05 13:31:36 2001 +0000
@@ -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 -r 34ac4bc54688 -r f9fa9c7b953e sys/arch/sun3/stand/libsa/sun3.c
--- a/sys/arch/sun3/stand/libsa/sun3.c Wed Sep 05 13:30:24 2001 +0000
+++ b/sys/arch/sun3/stand/libsa/sun3.c Wed Sep 05 13:31:36 2001 +0000
@@ -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 @@
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 @@
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 @@
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 @@
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 @@
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 -r 34ac4bc54688 -r f9fa9c7b953e sys/arch/sun3/stand/libsa/sun3x.c
--- a/sys/arch/sun3/stand/libsa/sun3x.c Wed Sep 05 13:30:24 2001 +0000
+++ b/sys/arch/sun3/stand/libsa/sun3x.c Wed Sep 05 13:31:36 2001 +0000
@@ -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 @@
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 @@
void
set_pte(va, pa)
- vm_offset_t va; /* virt. address */
+ vvaddr_t va; /* virt. address */
u_int pa; /* phys. address */
{
u_int pn;
Home |
Main Index |
Thread Index |
Old Index