diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1996-05-03 09:10:29 +0000 |
commit | 595cbd2e050401adf0cab2bab6ce52f902dfbb54 (patch) | |
tree | 8474c159022572bb93d15b7f2c287d1044321bc1 /sys/arch/vax/include/pmap.h | |
parent | 3472e7ae763d3e453e57b218243b6d60ece25b43 (diff) |
sync w/ 0430
Diffstat (limited to 'sys/arch/vax/include/pmap.h')
-rw-r--r-- | sys/arch/vax/include/pmap.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/sys/arch/vax/include/pmap.h b/sys/arch/vax/include/pmap.h index bfc1996e920..870776d4a5e 100644 --- a/sys/arch/vax/include/pmap.h +++ b/sys/arch/vax/include/pmap.h @@ -1,4 +1,4 @@ -/* $NetBSD: pmap.h,v 1.11 1995/11/12 14:41:41 ragge Exp $ */ +/* $NetBSD: pmap.h,v 1.16 1996/04/08 18:35:51 ragge Exp $ */ /* * Copyright (c) 1987 Carnegie-Mellon University @@ -46,7 +46,7 @@ #ifndef PMAP_H #define PMAP_H -#include "machine/mtpr.h" +#include <machine/mtpr.h> #define VAX_PAGE_SIZE NBPG @@ -99,13 +99,11 @@ typedef struct pv_entry { avail_start += (count) * NBPG; #ifdef _KERNEL -pv_entry_t pv_table; /* array of entries, - one per LOGICAL page */ -struct pmap kernel_pmap_store; - #define pa_index(pa) atop(pa) #define pa_to_pvh(pa) (&pv_table[atop(pa)]) +extern struct pmap kernel_pmap_store; + #define pmap_kernel() (&kernel_pmap_store) #endif /* _KERNEL */ @@ -117,6 +115,10 @@ struct pmap kernel_pmap_store; #define pmap_collect(pmap) /* No need so far */ #define pmap_reference(pmap) if(pmap) (pmap)->ref_count++ #define pmap_pinit(pmap) (pmap)->ref_count=1; -#define pmap_phys_address(phys) ((u_int)(phys)<<PAGE_SIZE) +#define pmap_phys_address(phys) ((u_int)(phys)<<PAGE_SHIFT) +/* Prototypes */ +void pmap_bootstrap __P((void)); +void pmap_expandp0 __P((struct pmap *, int)); +void pmap_expandp1 __P((struct pmap *)); #endif PMAP_H |