Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/arch follow uvm_km_pgremove prototype change.
details: https://anonhg.NetBSD.org/src/rev/d914f01ffe5a
branches: yamt-km
changeset: 573306:d914f01ffe5a
user: yamt <yamt%NetBSD.org@localhost>
date: Thu Jan 27 14:30:33 2005 +0000
description:
follow uvm_km_pgremove prototype change.
diffstat:
sys/arch/amiga/amiga/pmap.c | 10 ++++------
sys/arch/atari/atari/pmap.c | 8 +++-----
sys/arch/m68k/m68k/pmap_motorola.c | 10 ++++------
3 files changed, 11 insertions(+), 17 deletions(-)
diffs (87 lines):
diff -r 87a41eb95f76 -r d914f01ffe5a sys/arch/amiga/amiga/pmap.c
--- a/sys/arch/amiga/amiga/pmap.c Wed Jan 26 12:14:39 2005 +0000
+++ b/sys/arch/amiga/amiga/pmap.c Thu Jan 27 14:30:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap.c,v 1.111 2005/01/01 21:02:12 yamt Exp $ */
+/* $NetBSD: pmap.c,v 1.111.4.1 2005/01/27 14:32:39 yamt Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -107,7 +107,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.111 2005/01/01 21:02:12 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.111.4.1 2005/01/27 14:32:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -900,10 +900,8 @@
if (pmap->pm_ptab) {
pmap_remove(pmap_kernel(), (vaddr_t)pmap->pm_ptab,
(vaddr_t)pmap->pm_ptab + AMIGA_UPTSIZE);
- uvm_km_pgremove(uvm.kernel_object,
- (vaddr_t)pmap->pm_ptab - vm_map_min(kernel_map),
- (vaddr_t)pmap->pm_ptab + AMIGA_UPTSIZE
- - vm_map_min(kernel_map));
+ uvm_km_pgremove((vaddr_t)pmap->pm_ptab,
+ (vaddr_t)pmap->pm_ptab + AMIGA_UPTSIZE);
uvm_km_free_wakeup(pt_map, (vaddr_t)pmap->pm_ptab,
AMIGA_UPTSIZE);
}
diff -r 87a41eb95f76 -r d914f01ffe5a sys/arch/atari/atari/pmap.c
--- a/sys/arch/atari/atari/pmap.c Wed Jan 26 12:14:39 2005 +0000
+++ b/sys/arch/atari/atari/pmap.c Thu Jan 27 14:30:33 2005 +0000
@@ -106,7 +106,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.87.4.1 2005/01/26 11:56:45 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.87.4.2 2005/01/27 14:31:48 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -860,10 +860,8 @@
if (pmap->pm_ptab) {
pmap_remove(pmap_kernel(), (vaddr_t)pmap->pm_ptab,
(vaddr_t)pmap->pm_ptab + ATARI_UPTSIZE);
- uvm_km_pgremove(uvm.kernel_object,
- (vaddr_t)pmap->pm_ptab - vm_map_min(kernel_map),
- (vaddr_t)pmap->pm_ptab + ATARI_UPTSIZE
- - vm_map_min(kernel_map));
+ uvm_km_pgremove((vaddr_t)pmap->pm_ptab,
+ (vaddr_t)pmap->pm_ptab + ATARI_UPTSIZE);
uvm_km_free(pt_map, (vaddr_t)pmap->pm_ptab,
ATARI_UPTSIZE, UVM_KMF_VAONLY);
}
diff -r 87a41eb95f76 -r d914f01ffe5a sys/arch/m68k/m68k/pmap_motorola.c
--- a/sys/arch/m68k/m68k/pmap_motorola.c Wed Jan 26 12:14:39 2005 +0000
+++ b/sys/arch/m68k/m68k/pmap_motorola.c Thu Jan 27 14:30:33 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pmap_motorola.c,v 1.12.4.1 2005/01/26 12:10:35 yamt Exp $ */
+/* $NetBSD: pmap_motorola.c,v 1.12.4.2 2005/01/27 14:30:33 yamt Exp $ */
/*-
* Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.12.4.1 2005/01/26 12:10:35 yamt Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap_motorola.c,v 1.12.4.2 2005/01/27 14:30:33 yamt Exp $");
#include "opt_compat_hpux.h"
@@ -821,10 +821,8 @@
if (pmap->pm_ptab) {
pmap_remove(pmap_kernel(), (vaddr_t)pmap->pm_ptab,
(vaddr_t)pmap->pm_ptab + M68K_MAX_PTSIZE);
- uvm_km_pgremove(uvm.kernel_object,
- (vaddr_t)pmap->pm_ptab - vm_map_min(kernel_map),
- (vaddr_t)pmap->pm_ptab + M68K_MAX_PTSIZE
- - vm_map_min(kernel_map));
+ uvm_km_pgremove((vaddr_t)pmap->pm_ptab,
+ (vaddr_t)pmap->pm_ptab + M68K_MAX_PTSIZE);
uvm_km_free(pt_map, (vaddr_t)pmap->pm_ptab,
M68K_MAX_PTSIZE, UVM_KMF_VAONLY);
}
Home |
Main Index |
Thread Index |
Old Index