summaryrefslogtreecommitdiff
path: root/sys/vm/pmap.h
AgeCommit message (Collapse)Author
2001-07-31pmap_steal_memory takes to vaddr_t * as arguments, not paddr_t *.Artur Grabowski
For some strange (ehmm) reason, only the prototype was wrong. The implementations were right.
2001-07-25Change the pmap_enter interface to merge access_type and the wired booleanArtur Grabowski
and arbitrary flags into one argument. One new flag is PMAP_CANFAIL that tells pmap_enter that it can fail if there are not enough resources to satisfy the request. If this flag is not passed, pmap_enter should panic as it should have done before this change (XXX - many pmaps are still not doing that). Only i386 and alpha implement CANFAIL for now. Includes uvm updates from NetBSD.
2001-07-18Get rid of the PMAP_NEW option by making it mandatory for all archs.Artur Grabowski
The archs that didn't have a proper PMAP_NEW now have a dummy implementation with wrappers around the old functions.
2001-06-27MNN is no longer an option.Artur Grabowski
2001-06-08Change the paddr_t pmap_extract(struct pmap *, vaddr_t) interface toArtur Grabowski
boolean_t pmap_extract(struct pmap *, vaddr_t, paddr_t *). Matches NetBSD. Tested by various people on various platforms.
2001-05-09More sync to NetBSD.Artur Grabowski
- Change pmap_change_wiring to pmap_unwire because it's only called that way. - Remove pmap_pageable because it's seldom implemented and when it is, it's either almost useless or incorrect. The same information is already passed to the pmap anyway by pmap_enter and pmap_unwire.
2001-03-26Add to ifdef confusion.Artur Grabowski
The _pmap_enter kludge only applies to i386.
2001-03-22Merge in NetBSD's PMAP_NEW, still disabledNiklas Hallqvist
2000-03-13zap #if 0 codeArtur Grabowski
1999-12-29fix return type for pmap_growkernel; art@ okMichael Shalayeff
1999-09-03Change the pmap_enter api to pass down an argument that indicatesArtur Grabowski
the access type that caused this mapping. This is to simplify pmaps with mod/ref emulation (none for the moment) and in some cases speed up pmap_is_{referenced,modified}. At the same time, clean up some mappings that had too high protection. XXX - the access type is incorrect in old vm, it's only used by uvm and MD code. The actual use of this in pmap_enter implementations is not in this commit.
1999-07-18pmap_activate() and pmap_deactivate() are MDTheo de Raadt
1999-07-09vm_offset_t -> {v,p}addr_t and vm_size_t -> {v,p}size_tArtur Grabowski
1998-03-20Some cleanup of page stealsNiklas Hallqvist
1998-03-02Move some pmap_* protos out of PMAP_EXCLUDE_DECLS as sparc does not need/wantNiklas Hallqvist
them virtualized
1998-03-01Put back former pmap_steal_memory in non MNN case, at least i386 stillNiklas Hallqvist
needs it.
1998-03-01Merge of MACHINE_NEW_CONTIG (aka MNN) code from Chuck Cranor,Niklas Hallqvist
<chuck@openbsd.org>. This code is as of yet disabled on all platforms, actually not yet supported on more than mvme68k, although other platforms are expected soon, as code is already available. This code makes handling of multiple physical memory regions consistent over all platforms, as well as keeping the performance of maintaining a single continuous memory chunk. It is also a requirement for the upcoming UVM replacement VM system. What I did in this merge: just declared the pmap_map function in a MD include file per port that needs it. It's not an exported pmap interface, says Chuck. It ended up in differnt include files on differnet ports, as I tried to follow the current policy on a per-arch basis.
1996-08-02Fix long-standing swap-leak. Add OpenBSD tags. Optimize thread_wakeup.Niklas Hallqvist
1996-05-28thread changesTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1995-10-18initial import of NetBSD treeTheo de Raadt