CVSROOT: /cvs Module name: src Changes by: o...@cvs.openbsd.org 2009/06/06 20:01:54
Modified files: sys/arch/amd64/amd64: machdep.c sys/uvm : uvm_extern.h uvm_page.c uvm_page.h uvm_pmemrange.c Log message: extend uvm_page_physload to have the ability to add "device" pages to the system. This is needed in the case where you need managed pages so you can handle faulting and pmap_page_protect() on said pages when you manage memory in such regions (i'm looking at you, graphics cards). these pages are flagged PG_DEV, and shall never be on the freelists, assert this. behaviour remains unchanged in the non-device case, specifically for all archs currently in the tree we panic if called after bootstrap. ok art@, kettenis@, ariane@, b...@.