summaryrefslogtreecommitdiff
path: root/sys/arch/sun3
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-11-28 16:13:30 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-11-28 16:13:30 +0000
commit18fa55b7c0a57038bc44966e200e42c95c1548cd (patch)
treef15be45f48de10a2cf3069a322d112dd49b3c21b /sys/arch/sun3
parentc838246d36eaa84d99978e74064e65cd79f105d2 (diff)
zap some typedefs.
vm_map_t -> struct vm_map * vm_map_entry_t -> struct vm_map_entry * simple_lock_data_t -> struct simplelock (uvm not done yet, coming in the next commit)
Diffstat (limited to 'sys/arch/sun3')
-rw-r--r--sys/arch/sun3/include/pmap.h4
-rw-r--r--sys/arch/sun3/sun3/machdep.c8
-rw-r--r--sys/arch/sun3/sun3/trap.c10
3 files changed, 11 insertions, 11 deletions
diff --git a/sys/arch/sun3/include/pmap.h b/sys/arch/sun3/include/pmap.h
index 25fbee6dbed..1cbdc0cb6da 100644
--- a/sys/arch/sun3/include/pmap.h
+++ b/sys/arch/sun3/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.10 2001/11/28 15:34:17 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.11 2001/11/28 16:13:29 art Exp $ */
/* $NetBSD: pmap.h,v 1.18 1997/01/27 19:41:06 gwr Exp $ */
/*-
@@ -46,7 +46,7 @@
struct pmap {
int pm_refcount; /* pmap reference count */
- simple_lock_data_t pm_lock; /* lock on pmap */
+ struct simplelock pm_lock; /* lock on pmap */
struct pmap_statistics pm_stats; /* pmap statistics */
int pm_version;
int pm_ctxnum;
diff --git a/sys/arch/sun3/sun3/machdep.c b/sys/arch/sun3/sun3/machdep.c
index 7979000eba5..5d3a40c7ffb 100644
--- a/sys/arch/sun3/sun3/machdep.c
+++ b/sys/arch/sun3/sun3/machdep.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: machdep.c,v 1.45 2001/11/28 13:47:39 art Exp $ */
+/* $OpenBSD: machdep.c,v 1.46 2001/11/28 16:13:29 art Exp $ */
/* $NetBSD: machdep.c,v 1.77 1996/10/13 03:47:51 christos Exp $ */
/*
@@ -102,9 +102,9 @@ int fputype;
label_t *nofault;
vm_offset_t vmmap;
-vm_map_t exec_map = NULL;
-vm_map_t mb_map = NULL;
-vm_map_t phys_map = NULL;
+struct vm_map *exec_map = NULL;
+struct vm_map *mb_map = NULL;
+struct vm_map *phys_map = NULL;
/*
* safepri is a safe priority for sleep to set for a spin-wait
diff --git a/sys/arch/sun3/sun3/trap.c b/sys/arch/sun3/sun3/trap.c
index 23b43ba8a6f..4ff91c75db8 100644
--- a/sys/arch/sun3/sun3/trap.c
+++ b/sys/arch/sun3/sun3/trap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trap.c,v 1.30 2001/11/28 13:47:39 art Exp $ */
+/* $OpenBSD: trap.c,v 1.31 2001/11/28 16:13:29 art Exp $ */
/* $NetBSD: trap.c,v 1.63-1.65ish 1997/01/16 15:41:40 gwr Exp $ */
/*
@@ -451,12 +451,12 @@ trap(type, code, v, frame)
/*FALLTHROUGH*/
case T_MMUFLT|T_USER: { /* page fault */
- register vm_offset_t va;
- register struct vmspace *vm = NULL;
- register vm_map_t map;
+ vm_offset_t va;
+ struct vmspace *vm = NULL;
+ struct vm_map *map;
int rv;
vm_prot_t ftype, vftype;
- extern vm_map_t kernel_map;
+ extern struct vm_map *kernel_map;
/* vmspace only significant if T_USER */
if (p)