Module Name: src Committed By: uebayasi Date: Tue Feb 23 07:44:25 UTC 2010
Modified Files: src/sys/uvm [uebayasi-xip]: uvm_extern.h uvm_page.c uvm_page.h Log Message: Introduce uvm_page_physload_device(). This registers a physical address range of a device, similar to uvm_page_physload() for memories. For now, this is supposed to be called by MD code. We have to consider the design when we'll manage mmap'able character devices. Expose paddr_t -> struct vm_page * conversion function for device pages, uvm_phys_to_vm_page_device(). This will be called by XIP vnode pager. Because it knows if a given vnode is a device page (and its physical address base) or not. Don't look up device segments, but directly make a cookie. To generate a diff of this commit: cvs rdiff -u -r1.161 -r1.161.2.1 src/sys/uvm/uvm_extern.h cvs rdiff -u -r1.153.2.12 -r1.153.2.13 src/sys/uvm/uvm_page.c cvs rdiff -u -r1.59.2.12 -r1.59.2.13 src/sys/uvm/uvm_page.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.