Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/yamt-km]: src/sys/arch/iyonix/iyonix use new apis.
details: https://anonhg.NetBSD.org/src/rev/ff2bdb77122d
branches: yamt-km
changeset: 573330:ff2bdb77122d
user: yamt <yamt%NetBSD.org@localhost>
date: Fri Feb 11 13:59:39 2005 +0000
description:
use new apis.
diffstat:
sys/arch/iyonix/iyonix/obio_space.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r b1d601115b51 -r ff2bdb77122d sys/arch/iyonix/iyonix/obio_space.c
--- a/sys/arch/iyonix/iyonix/obio_space.c Fri Feb 11 13:57:16 2005 +0000
+++ b/sys/arch/iyonix/iyonix/obio_space.c Fri Feb 11 13:59:39 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obio_space.c,v 1.1 2004/10/13 23:28:36 gavan Exp $ */
+/* $NetBSD: obio_space.c,v 1.1.8.1 2005/02/11 13:59:39 yamt Exp $ */
/*
* Copyright (c) 2001, 2002, 2003 Wasabi Systems, Inc.
@@ -40,7 +40,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.1 2004/10/13 23:28:36 gavan Exp $");
+__KERNEL_RCSID(0, "$NetBSD: obio_space.c,v 1.1.8.1 2005/02/11 13:59:39 yamt Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -155,7 +155,7 @@
offset = bpa & PAGE_MASK;
startpa = trunc_page(bpa);
- va = uvm_km_valloc(kernel_map, endpa - startpa);
+ va = uvm_km_alloc(kernel_map, endpa - startpa, 0, UVM_KMF_VAONLY);
if (va == 0)
return (ENOMEM);
@@ -196,7 +196,7 @@
va = trunc_page(bsh);
pmap_kremove(va, endva - va);
- uvm_km_free(kernel_map, va, endva - va);
+ uvm_km_free(kernel_map, va, endva - va, UVM_KMF_VAONLY);
}
void
Home |
Main Index |
Thread Index |
Old Index