summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2001-12-05 00:11:52 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2001-12-05 00:11:52 +0000
commitfa0689f92d18b7b6403a25d4ccf5fe1e898bc4ac (patch)
treed9d87302c6b7f689a0bd490fcdd25ad85ed29c1b
parent2d6ebc6b1044ef771b2b25c09c2abffe0c0a0d3d (diff)
Update pmap_update macro for arches Art missed. Still just a noop.
-rw-r--r--sys/arch/alpha/include/pmap.h4
-rw-r--r--sys/arch/m68k/include/pmap_motorola.h4
-rw-r--r--sys/arch/m68k/m68k/pmap_motorola.c10
-rw-r--r--sys/arch/mvme88k/include/pmap.h4
-rw-r--r--sys/arch/powerpc/include/pmap.h4
-rw-r--r--sys/arch/sun3/include/pmap.h4
6 files changed, 15 insertions, 15 deletions
diff --git a/sys/arch/alpha/include/pmap.h b/sys/arch/alpha/include/pmap.h
index c47c85bc2d3..20ba20184c1 100644
--- a/sys/arch/alpha/include/pmap.h
+++ b/sys/arch/alpha/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.10 2001/11/28 15:34:16 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.11 2001/12/05 00:11:51 millert Exp $ */
/* $NetBSD: pmap.h,v 1.37 2000/11/19 03:16:35 thorpej Exp $ */
/*-
@@ -193,7 +193,7 @@ void pmap_tlb_shootdown_q_drain(u_long, boolean_t);
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
extern pt_entry_t *VPT; /* Virtual Page Table */
diff --git a/sys/arch/m68k/include/pmap_motorola.h b/sys/arch/m68k/include/pmap_motorola.h
index 7c71352bdab..028c4f61faa 100644
--- a/sys/arch/m68k/include/pmap_motorola.h
+++ b/sys/arch/m68k/include/pmap_motorola.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_motorola.h,v 1.1 2001/11/30 20:54:50 miod Exp $ */
+/* $OpenBSD: pmap_motorola.h,v 1.2 2001/12/05 00:11:51 millert Exp $ */
/*
* Copyright (c) 1987 Carnegie-Mellon University
@@ -143,7 +143,7 @@ extern struct pv_entry *pv_table; /* array of entries, one per page */
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
#define pmap_wired_count(pmap) ((pmap)->pm_stats.wired_count)
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
extern pt_entry_t *Sysmap;
extern char *vmmap; /* map for mem, dumps, etc. */
diff --git a/sys/arch/m68k/m68k/pmap_motorola.c b/sys/arch/m68k/m68k/pmap_motorola.c
index baca342bbba..fda1b55a7a9 100644
--- a/sys/arch/m68k/m68k/pmap_motorola.c
+++ b/sys/arch/m68k/m68k/pmap_motorola.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap_motorola.c,v 1.2 2001/12/02 02:01:52 millert Exp $ */
+/* $OpenBSD: pmap_motorola.c,v 1.3 2001/12/05 00:11:51 millert Exp $ */
/*
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -730,7 +730,7 @@ pmap_map(va, spa, epa, prot)
va += PAGE_SIZE;
spa += PAGE_SIZE;
}
- pmap_update();
+ pmap_update(pmap_kernel());
return (va);
}
@@ -1768,7 +1768,7 @@ pmap_collect(pmap)
* all necessary locking.
*/
pmap_remove(pmap, VM_MIN_ADDRESS, VM_MAX_ADDRESS);
- pmap_update();
+ pmap_update(pmap);
}
#ifdef notyet
@@ -2731,7 +2731,7 @@ pmap_enter_ptpage(pmap, va)
pmap_changebit(ptpa, PG_CI, 1);
}
#endif
- pmap_update();
+ pmap_update(pmap);
#ifdef DEBUG
if (pmapdebug & (PDB_ENTER|PDB_PTPAGE)) {
int ix = pmap_ste(pmap, va) - pmap_ste(pmap, 0);
@@ -2767,7 +2767,7 @@ pmap_enter_ptpage(pmap, va)
pmap_enter(pmap_kernel(), va, ptpa,
VM_PROT_READ | VM_PROT_WRITE,
VM_PROT_READ | VM_PROT_WRITE | PMAP_WIRED);
- pmap_update();
+ pmap_update(pmap_kernel());
}
#if defined(M68040) || defined(M68060)
/*
diff --git a/sys/arch/mvme88k/include/pmap.h b/sys/arch/mvme88k/include/pmap.h
index 4c156a1a76c..c00c7ed1258 100644
--- a/sys/arch/mvme88k/include/pmap.h
+++ b/sys/arch/mvme88k/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.19 2001/11/28 16:13:28 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.20 2001/12/05 00:11:51 millert Exp $ */
/*
* Mach Operating System
* Copyright (c) 1991 Carnegie Mellon University
@@ -75,7 +75,7 @@ extern caddr_t vmmap;
/* Used in builtin/device_pager.c */
#define pmap_phys_address(frame) ((vm_offset_t) (ptoa(frame)))
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
#define PMAP_ACTIVATE(proc) pmap_activate(proc)
#define PMAP_DEACTIVATE(proc) pmap_deactivate(proc)
diff --git a/sys/arch/powerpc/include/pmap.h b/sys/arch/powerpc/include/pmap.h
index dd75475f6e4..d83abbcd469 100644
--- a/sys/arch/powerpc/include/pmap.h
+++ b/sys/arch/powerpc/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.22 2001/11/28 15:34:16 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.23 2001/12/05 00:11:51 millert Exp $ */
/* $NetBSD: pmap.h,v 1.1 1996/09/30 16:34:29 ws Exp $ */
/*-
@@ -94,7 +94,7 @@ int ptebits(paddr_t pa, int bit);
#define pmap_is_referenced(page) (ptebits(VM_PAGE_TO_PHYS(page), PTE_REF))
#define pmap_unwire(pm, va)
#define pmap_phys_address(x) (x)
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
#define pmap_resident_count(pmap) ((pmap)->pm_stats.resident_count)
diff --git a/sys/arch/sun3/include/pmap.h b/sys/arch/sun3/include/pmap.h
index 1cbdc0cb6da..21670f5f7e5 100644
--- a/sys/arch/sun3/include/pmap.h
+++ b/sys/arch/sun3/include/pmap.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pmap.h,v 1.11 2001/11/28 16:13:29 art Exp $ */
+/* $OpenBSD: pmap.h,v 1.12 2001/12/05 00:11:51 millert Exp $ */
/* $NetBSD: pmap.h,v 1.18 1997/01/27 19:41:06 gwr Exp $ */
/*-
@@ -70,7 +70,7 @@ extern void pmap_prefer(vm_offset_t, vm_offset_t *);
extern segsz_t pmap_resident_pages(pmap_t);
#define pmap_resident_count(pmap) pmap_resident_pages(pmap)
-#define pmap_update() /* nothing */
+#define pmap_update(pmap) /* nothing (yet) */
/*
* Since PTEs also contain type bits, we have to have some way