diff options
author | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-12 20:28:56 +0000 |
---|---|---|
committer | Dale Rahn <drahn@cvs.openbsd.org> | 2002-07-12 20:28:56 +0000 |
commit | b4960b50c2e62a0c67d2682a92f36ee7567d0fec (patch) | |
tree | 2050351dd3ae4fae79e3141384c6fb9bef8600cb /sys/arch/powerpc/include/pmap.h | |
parent | 80402e9cf360236b13306bcaf6d797f76f687dba (diff) |
Cleanup: use less _t typedefs, use the structure itself.
pmap_t is the exception, it is required by the MI code so pmap_t will
be used instead of using 'struct pmap *' in the code. (consistency)
Diffstat (limited to 'sys/arch/powerpc/include/pmap.h')
-rw-r--r-- | sys/arch/powerpc/include/pmap.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h index 35e297e4fb9..7762e98f6de 100644 --- a/sys/arch/powerpc/include/pmap.h +++ b/sys/arch/powerpc/include/pmap.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.h,v 1.25 2002/03/14 01:26:42 millert Exp $ */ +/* $OpenBSD: pmap.h,v 1.26 2002/07/12 20:28:55 drahn Exp $ */ /* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */ /*- @@ -60,7 +60,6 @@ typedef u_int sr_t; */ #ifndef _LOCORE /* V->P mapping data */ -typedef struct pmapvp pmapvp_t; #define VP_SR_SIZE 16 #define VP_SR_MASK (VP_SR_SIZE-1) #define VP_SR_POS 28 @@ -84,7 +83,7 @@ void pmap_kenter_cache( vaddr_t va, paddr_t pa, vm_prot_t prot, int cacheable); */ struct pmap { sr_t pm_sr[16]; /* segments used in this pmap */ - pmapvp_t *pm_vp[VP_SR_SIZE]; /* virtual to physical table */ + struct pmapvp *pm_vp[VP_SR_SIZE]; /* virtual to physical table */ int pm_refs; /* ref count */ struct pmap_statistics pm_stats; /* pmap statistics */ }; |