Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/arch/arm/imx Adapt to the new uvm_page_physload_d...
details: https://anonhg.NetBSD.org/src/rev/22d0f2e51d98
branches: uebayasi-xip
changeset: 751706:22d0f2e51d98
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Thu Apr 29 03:16:18 2010 +0000
description:
Adapt to the new uvm_page_physload_device(9).
diffstat:
sys/arch/arm/imx/imx31_space.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (34 lines):
diff -r bd94444fa08c -r 22d0f2e51d98 sys/arch/arm/imx/imx31_space.c
--- a/sys/arch/arm/imx/imx31_space.c Thu Apr 29 03:15:10 2010 +0000
+++ b/sys/arch/arm/imx/imx31_space.c Thu Apr 29 03:16:18 2010 +0000
@@ -1,7 +1,7 @@
-/* $Id: imx31_space.c,v 1.3.2.1 2010/04/28 14:56:14 uebayasi Exp $ */
+/* $Id: imx31_space.c,v 1.3.2.2 2010/04/29 03:16:18 uebayasi Exp $ */
/* derived from: */
-/* $NetBSD: imx31_space.c,v 1.3.2.1 2010/04/28 14:56:14 uebayasi Exp $ */
+/* $NetBSD: imx31_space.c,v 1.3.2.2 2010/04/29 03:16:18 uebayasi Exp $ */
/*
* Copyright (c) 2001, 2002 Wasabi Systems, Inc.
@@ -287,6 +287,7 @@
void *
imx31_bs_physload(void *t, bus_addr_t addr, bus_size_t size, int prot, int flags)
{
+ /* XXX */
const paddr_t start = imx31_bs_mmap(t, addr, 0, prot, flags);
const paddr_t end = imx31_bs_mmap(t, addr + size, 0, prot, flags);
@@ -303,10 +304,11 @@
void *
imx31_bs_physload_device(void *t, bus_addr_t addr, bus_size_t size, int prot, int flags)
{
+ /* XXX */
const paddr_t start = imx31_bs_mmap(t, addr, 0, prot, flags);
const paddr_t end = imx31_bs_mmap(t, addr + size, 0, prot, flags);
- return uvm_page_physload_device(start, end, start, end, 0/* XXX freelist */);
+ return uvm_page_physload_device(start, end, start, end, prot, flags);
}
void
Home |
Main Index |
Thread Index |
Old Index