diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1999-09-10 23:41:40 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1999-09-10 23:41:40 +0000 |
commit | 4b67ba396861acda560c43fc02a4e4f3bd7a608f (patch) | |
tree | 572bcc1da750c55cccfc113975b32765ff1b9e52 /sys | |
parent | 4885a7e1d87e445da0d672ca0d4199c982863b3b (diff) |
art@ added access arg to pmap_enter. Not used here
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/alpha/alpha/pmap.old.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/arch/alpha/alpha/pmap.old.c b/sys/arch/alpha/alpha/pmap.old.c index 89bb0ba6843..9c4ba24aece 100644 --- a/sys/arch/alpha/alpha/pmap.old.c +++ b/sys/arch/alpha/alpha/pmap.old.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.old.c,v 1.5 1999/07/18 18:00:02 deraadt Exp $ */ +/* $OpenBSD: pmap.old.c,v 1.6 1999/09/10 23:41:39 kstailey Exp $ */ /* $NetBSD: pmap.old.c,v 1.14 1996/11/13 21:13:10 cgd Exp $ */ /* @@ -562,7 +562,7 @@ pmap_map(virt, start, end, prot) printf("pmap_map(%lx, %lx, %lx, %x)\n", virt, start, end, prot); #endif while (start < end) { - pmap_enter(pmap_kernel(), virt, start, prot, FALSE); + pmap_enter(pmap_kernel(), virt, start, prot, FALSE, 0); virt += PAGE_SIZE; start += PAGE_SIZE; } @@ -919,12 +919,13 @@ pmap_protect(pmap, sva, eva, prot) * insert this page into the given map NOW. */ void -pmap_enter(pmap, va, pa, prot, wired) +pmap_enter(pmap, va, pa, prot, wired, access_type) register pmap_t pmap; vm_offset_t va; register vm_offset_t pa; vm_prot_t prot; boolean_t wired; + vm_prot_t access_type; { register pt_entry_t *pte; register pt_entry_t npte; @@ -2018,7 +2019,7 @@ pmap_enter_ptpage(pmap, va) kpt_used_list = kpt; ptpa = kpt->kpt_pa; bzero((caddr_t)kpt->kpt_va, ALPHA_PAGE_SIZE); - pmap_enter(pmap, va, ptpa, VM_PROT_DEFAULT, TRUE); + pmap_enter(pmap, va, ptpa, VM_PROT_DEFAULT, TRUE, 0); #ifdef DEBUG if (pmapdebug & (PDB_ENTER|PDB_PTPAGE)) { int ix = pmap_ste(pmap, va) - pmap_ste(pmap, 0); |