summaryrefslogtreecommitdiff
path: root/sys/uvm/uvm_pmap.h
AgeCommit message (Collapse)Author
2009-02-05Add some (currently unused) MD pmap flags to be used for pushing inOwain Ainsworth
parameters such as cacheability, which is too different per-arch to be MI. discussed with miod, kettenis and art. ok miod@, art@.
2007-09-10Introduce a md pmap hook, pmap_remove_holes(), which is supposed to markMiod Vallat
the holes a MMU may have from a given vm_map. This will be automagically invoked for newly created vmspaces. On platforms with MMU holes (e.g. sun4, sun4c and vax), this prevents mmap(2) hints which would end up being in the hole to be accepted as valid, causing unexpected signals when the process tries to access the hole (since pmap can not fill the hole anyway). Unfortunately, the logic mmap() uses to pick a valid address for anonymous mappings needs work, as it will only try to find an address higher than the hint, which causes all mmap() with a hint in the hole to fail on vax. This will be improved later.
2005-04-04Nuke pmap_bootstrap_alloc(), not used anymore.Miod Vallat
2004-01-29fix prototype of pmap_update(), ok miod@Dale Rahn
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2002-09-10Change the pmap_zero_page and pmap_copy_page API to take the struct vm_page *Artur Grabowski
instead of the pa. Most callers already had it handy and those who didn't only called it for managed pages and were outside time-critical code. This will allow us to make those functions clean and fast on sparc and sparc64 letting us to avoid unnecessary cache flushes. deraadt@ miod@ drahn@ ok.
2002-03-18These are macro inlines on vax, so check if they're defined beforeHugh Graham
trying to prototype them. millert@ ok.
2002-03-18$OpenBSD$Hugh Graham
2002-03-14Prototype pmap_unwire() only if it's not already defined. ok drahn@.Daniel Hartmeier
2002-03-14do not proto pmap(de)activate if one was definedMichael Shalayeff
2002-03-14First round of __P removal in sysTodd C. Miller
2002-03-14Don't prototype pmap_copy() if it is a macroTodd C. Miller
2002-02-16Don't prototype functions if they are really just macros.Todd C. Miller
2001-12-19UBC was a disaster. It worked very good when it worked, but on someArtur Grabowski
machines or some configurations or in some phase of the moon (we actually don't know when or why) files disappeared. Since we've not been able to track down the problem in two weeks intense debugging and we need -current to be stable, back out everything to a state it had before UBC. We apologise for the inconvenience.
2001-12-04Yet another sync to NetBSD uvm.Artur Grabowski
Today we add a pmap argument to pmap_update() and allocate map entries for kernel_map from kmem_map instead of using the static entries. This should get rid of MAX_KMAPENT panics. Also some uvm_loan problems are fixed.
2001-11-28Sync in more uvm from NetBSD. Mostly just cosmetic stuff.Artur Grabowski
Contains also support for page coloring.
2001-11-28more sync to netbsd. some bugfixes in uvm_km_kmemalloc, lots of fixes in ↵Artur Grabowski
uvm_loan.
2001-11-28make pmap_virtual_space madatory in all pmaps.Artur Grabowski
2001-11-28pmap_kenter_pgs is not used and not really useful. remove.Artur Grabowski
2001-11-06Move the last content from vm/ to uvm/Artur Grabowski
The only thing left in vm/ are just dumb wrappers. vm/vm.h includes uvm/uvm_extern.h vm/pmap.h includes uvm/uvm_pmap.h vm/vm_page.h includes uvm/uvm_page.h