Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/sun2/include Purge vm_offset_t.
details: https://anonhg.NetBSD.org/src/rev/436b7fb00099
branches: trunk
changeset: 518459:436b7fb00099
user: fredette <fredette%NetBSD.org@localhost>
date: Fri Nov 30 17:52:33 2001 +0000
description:
Purge vm_offset_t.
diffstat:
sys/arch/sun2/include/db_machdep.h | 6 +++---
sys/arch/sun2/include/pmap.h | 10 +++++-----
sys/arch/sun2/include/pte.h | 6 +++---
sys/arch/sun2/include/vmparam.h | 12 ++++++------
4 files changed, 17 insertions(+), 17 deletions(-)
diffs (100 lines):
diff -r eb6a952a6e05 -r 436b7fb00099 sys/arch/sun2/include/db_machdep.h
--- a/sys/arch/sun2/include/db_machdep.h Fri Nov 30 17:49:10 2001 +0000
+++ b/sys/arch/sun2/include/db_machdep.h Fri Nov 30 17:52:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: db_machdep.h,v 1.2 2001/11/09 06:52:25 thorpej Exp $ */
+/* $NetBSD: db_machdep.h,v 1.3 2001/11/30 17:52:33 fredette Exp $ */
/*
* Mach Operating System
@@ -46,7 +46,7 @@
extern char *esym; /* end of symbols */
/* These are in db_memrw.c */
-extern void db_read_bytes __P((vm_offset_t addr, size_t size, char *data));
-extern void db_write_bytes __P((vm_offset_t addr, size_t size, char *data));
+extern void db_read_bytes __P((db_addr_t addr, size_t size, char *data));
+extern void db_write_bytes __P((db_addr_t addr, size_t size, char *data));
#endif /* _SUN2_DB_MACHDEP_H_ */
diff -r eb6a952a6e05 -r 436b7fb00099 sys/arch/sun2/include/pmap.h
--- a/sys/arch/sun2/include/pmap.h Fri Nov 30 17:49:10 2001 +0000
+++ b/sys/arch/sun2/include/pmap.h Fri Nov 30 17:52:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.h,v 1.10 2001/09/10 21:19:40 chris Exp $ */
+/* $NetBSD: pmap.h,v 1.11 2001/11/30 17:52:33 fredette Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -68,10 +68,10 @@
* This function does that, and calls vm_fault if it
* could not resolve the fault by reloading the MMU.
*/
-int _pmap_fault __P((struct vm_map *, vm_offset_t, vm_prot_t));
+int _pmap_fault __P((struct vm_map *, vaddr_t, vm_prot_t));
/* This lets us have some say in choosing VA locations. */
-extern void pmap_prefer(vm_offset_t, vm_offset_t *);
+extern void pmap_prefer __P((vaddr_t, vaddr_t *));
#define PMAP_PREFER(fo, ap) pmap_prefer((fo), (ap))
/* This needs to be a macro for kern_sysctl.c */
@@ -88,10 +88,10 @@
#define pmap_update(pmap) /* nothing (yet) */
/* Map a given physical region to a virtual region */
-extern vm_offset_t pmap_map __P((vm_offset_t, vm_offset_t, vm_offset_t, int));
+extern vaddr_t pmap_map __P((vaddr_t, paddr_t, paddr_t, int));
/* Extract the PMEG for a given physical address. */
-extern int _pmap_extract_pmeg __P((pmap_t, vm_offset_t));
+extern int _pmap_extract_pmeg __P((pmap_t, vaddr_t));
/*
* Since PTEs also contain type bits, we have to have some way
diff -r eb6a952a6e05 -r 436b7fb00099 sys/arch/sun2/include/pte.h
--- a/sys/arch/sun2/include/pte.h Fri Nov 30 17:49:10 2001 +0000
+++ b/sys/arch/sun2/include/pte.h Fri Nov 30 17:52:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pte.h,v 1.3 2001/06/27 18:48:30 fredette Exp $ */
+/* $NetBSD: pte.h,v 1.4 2001/11/30 17:52:34 fredette Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -188,8 +188,8 @@
#if defined(_KERNEL) || defined(_STANDALONE)
#define kernel_context() get_context(); set_context(0)
#define restore_context set_context
-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 eb6a952a6e05 -r 436b7fb00099 sys/arch/sun2/include/vmparam.h
--- a/sys/arch/sun2/include/vmparam.h Fri Nov 30 17:49:10 2001 +0000
+++ b/sys/arch/sun2/include/vmparam.h Fri Nov 30 17:52:33 2001 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmparam.h,v 1.6 2001/11/15 18:06:18 soren Exp $ */
+/* $NetBSD: vmparam.h,v 1.7 2001/11/30 17:52:34 fredette Exp $ */
/*-
* Copyright (c) 1998 The NetBSD Foundation, Inc.
@@ -102,11 +102,11 @@
*/
/* user/kernel map constants */
-#define VM_MIN_ADDRESS ((vm_offset_t)0)
-#define VM_MAX_ADDRESS ((vm_offset_t)USRSTACK)
-#define VM_MAXUSER_ADDRESS ((vm_offset_t)USRSTACK)
-#define VM_MIN_KERNEL_ADDRESS ((vm_offset_t)KERNBASE)
-#define VM_MAX_KERNEL_ADDRESS ((vm_offset_t)KERN_END)
+#define VM_MIN_ADDRESS ((vaddr_t)0)
+#define VM_MAX_ADDRESS ((vaddr_t)USRSTACK)
+#define VM_MAXUSER_ADDRESS ((vaddr_t)USRSTACK)
+#define VM_MIN_KERNEL_ADDRESS ((vaddr_t)KERNBASE)
+#define VM_MAX_KERNEL_ADDRESS ((vaddr_t)KERN_END)
/* virtual sizes (bytes) for various kernel submaps */
#define VM_PHYS_SIZE (USRIOSIZE*NBPG)
Home |
Main Index |
Thread Index |
Old Index