Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/uebayasi-xip]: src/sys/uvm s/vm_physseg_find_direct/vm_physseg_find_device/
details: https://anonhg.NetBSD.org/src/rev/af2f2e60f5e0
branches: uebayasi-xip
changeset: 751758:af2f2e60f5e0
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Wed Aug 11 09:50:01 2010 +0000
description:
s/vm_physseg_find_direct/vm_physseg_find_device/
diffstat:
sys/uvm/uvm_page.c | 10 +++++-----
sys/uvm/uvm_page.h | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
diffs (63 lines):
diff -r 66bebd25bfb2 -r af2f2e60f5e0 sys/uvm/uvm_page.c
--- a/sys/uvm/uvm_page.c Thu Jul 29 09:47:40 2010 +0000
+++ b/sys/uvm/uvm_page.c Wed Aug 11 09:50:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.c,v 1.153.2.51 2010/07/27 01:47:43 uebayasi Exp $ */
+/* $NetBSD: uvm_page.c,v 1.153.2.52 2010/08/11 09:50:01 uebayasi Exp $ */
/*
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -97,7 +97,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.51 2010/07/27 01:47:43 uebayasi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_page.c,v 1.153.2.52 2010/08/11 09:50:01 uebayasi Exp $");
#include "opt_ddb.h"
#include "opt_uvmhist.h"
@@ -1041,7 +1041,7 @@
#ifdef XIP
int
-vm_physseg_find_direct(paddr_t pframe, int *offp)
+vm_physseg_find_device(paddr_t pframe, int *offp)
{
return VM_PHYSSEG_FIND(vm_physdev_ptrs, vm_nphysdev, VM_PHYSSEG_OP_PF,
@@ -1180,7 +1180,7 @@
int psi;
#ifdef XIP
- psi = vm_physseg_find_direct(pf, &off);
+ psi = vm_physseg_find_device(pf, &off);
if (psi != -1)
return(&vm_physdev_ptrs[psi]->pgs[off]);
#endif
@@ -2194,7 +2194,7 @@
return
#ifdef XIP
- (vm_physseg_find_direct(atop(pa), NULL) != -1) ||
+ (vm_physseg_find_device(atop(pa), NULL) != -1) ||
#endif
(vm_physseg_find(atop(pa), NULL) != -1);
}
diff -r 66bebd25bfb2 -r af2f2e60f5e0 sys/uvm/uvm_page.h
--- a/sys/uvm/uvm_page.h Thu Jul 29 09:47:40 2010 +0000
+++ b/sys/uvm/uvm_page.h Wed Aug 11 09:50:01 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: uvm_page.h,v 1.59.2.27 2010/07/22 07:49:45 uebayasi Exp $ */
+/* $NetBSD: uvm_page.h,v 1.59.2.28 2010/08/11 09:50:01 uebayasi Exp $ */
/*
* Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -311,7 +311,7 @@
struct vm_page *uvm_phys_to_vm_page(paddr_t);
paddr_t uvm_vm_page_to_phys(const struct vm_page *);
#ifdef XIP
-int vm_physseg_find_direct(paddr_t, int *);
+int vm_physseg_find_device(paddr_t, int *);
#endif
/*
Home |
Main Index |
Thread Index |
Old Index