Commit Graph

32 Commits

Author SHA1 Message Date
simonb 58e3217148 Explicitly mention that pmap_extract() should deal with KSEG-style
kernel addresses.
2006-12-18 00:41:21 +00:00
tsutsui 6e4dd0bf16 Sync PMAP_PREFER(9) usage with -current implemetation. 2006-09-24 01:34:19 +00:00
wiz 10a241c2eb Uppercase CPU. Remove a superfluous double quote. Use Dv for defined
values.
2005-09-09 20:33:54 +00:00
yamt 2edce77c87 document pmap_procwr. 2005-08-11 11:20:48 +00:00
wiz 92cf03c9ee Grammar improvements. 2005-01-11 09:43:19 +00:00
yamt 34b7d2ff5a document PMAP_PREFER. bump date. 2005-01-09 09:53:32 +00:00
simonb 9bc855a931 s/the the/the/ (only in sources that aren't regularly imported from
elsewhere).
2004-04-23 02:58:27 +00:00
pooka 614a86b119 pmap_{de,}activate() take struct lwp * now
+ bump date!
2004-01-20 10:40:03 +00:00
thorpej a6bb9a13b4 Back out the following chagne:
http://mail-index.netbsd.org/source-changes/2003/05/08/0068.html

There were some side-effects that I didn't anticipate, and fixing them
is proving to be more difficult than I thought, do just eject for now.
Maybe one day we can look at this again.

Fixes PR kern/21517.
2003-05-10 21:13:27 +00:00
thorpej 97b3b91fa8 Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

Simplify the way the bounds of the managed kernel virtual address
space is advertised to UVM by making virtual_avail and virtual_end
first-class exported variables by UVM.  Machine-dependent code is
responsible for initializing them before main() is called.  Anything
that steals KVA must adjust these variables accordingly.

This reduces the number of instances of this info from 3 to 1, and
simplifies the pmap(9) interface by removing the pmap_virtual_space()
function call, and removing two arguments from pmap_steal_memory().

This also eliminates some kludges such as having to burn kernel_map
entries on space used by the kernel and stolen KVA.

This also eliminates use of VM_{MIN,MAX}_KERNEL_ADDRESS from MI code,
this giving MD code greater flexibility over the bounds of the managed
kernel virtual address space if a given port's specific platforms can
vary in this regard (this is especially true of the evb* ports).
2003-05-08 18:16:20 +00:00
wiz 472351e13d Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
2003-04-16 13:34:34 +00:00
wiz 334bfb30b4 More e.g. cleanup. Igor Sobrado, PR 19692. 2003-04-07 07:04:49 +00:00
grant 7dc9239d40 The correct capitalisation of 'NetBSD.org' is (you
guessed it) 'NetBSD.org'.

some mdoc fixes.
2003-02-14 15:20:17 +00:00
perry 43e0efbdeb "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 22:38:15 +00:00
wiz 79bd62667c Bump date for pmap_remove addition.
Begin new sentences on new lines.
Use .Aq as much as possible instead of \*[Lt]foo\*[Gt].
2002-09-27 07:46:37 +00:00
chs 50bcbb066e document new stuff:
UVM_KMF_CANFAIL, uvm_uarea_alloc(), uvm_uarea_free(), pmap_remove_all().
2002-09-22 07:22:27 +00:00
wiz f4091be169 Mdoc nits unrelated to last commit, and bump date for last commit. 2002-08-14 15:30:11 +00:00
thorpej b890d48c5a * Document the existing requirement that machine-independent code
not pmap_kenter_pa() a mapping at a virtual address for which a
  valid mapping already exists.
* Document the new requirement that machine-independent code not
  not pmap_kenter_pa() a mapping with VM_PROT_EXEC.
2002-08-14 15:25:50 +00:00
chs 272a0d7448 correct and clarify the previous revision. 2002-04-01 17:30:02 +00:00
eeh fe394d06b6 Explicitly document previously undocumented (and changed) semantics
of pmap_clear_reference and pmap_clear_modify.
2002-03-28 18:22:20 +00:00
ross 4fa402f116 Generate <>& symbolically. I'm avoiding .../dist/... directories for now. 2002-02-13 08:17:26 +00:00
ross 8bd7cb6a69 Edit -mdoc usage.
* There is no -indent option to .Bd or .Bl, although you would
  never know that from its frequent use in this tree. There is a
  "-offset indent" combination that makes sense, and you can certainly
  say "-width indent".

* Also, you can't markup the -width option argument, tho you CAN
  use a callable macro. So "-width Ar filename" doesn't make sense,
  but either "-width Ar" or "-width filename" does, as might something
  like "-width xxfilename" for a little extra space.

* There are a lot of needlessly complex hanging tag macros in man4 used
  to create simple item lists. Those should be simplified one of these
  days before someone copies and edits yet another man4 page.
2002-02-07 03:15:06 +00:00
wiz 3f37d4c950 Sort sections. 2001-12-26 01:07:45 +00:00
wiz 1f8c01ef58 Use standard section headers. 2001-09-10 23:32:29 +00:00
chris 526acc0e8f Update man page with pmap_update change. 2001-09-10 21:25:23 +00:00
wiz 42a2a8e490 Boring whitespace fixes. 2001-09-04 02:51:15 +00:00
matt baa8d41395 In the summary, fix pmap_steal_memory return type from void to vaddr_t. 2001-08-11 05:05:13 +00:00
chs f544ed60f2 vm_page_t -> struct vm_page *. 2001-07-28 16:24:13 +00:00
kleink 72eb13ae2a Tyop poleece. 2001-04-25 12:38:20 +00:00
bjh21 5a25454f00 Fix typo: maching -> machine 2001-04-25 12:05:24 +00:00
gmcgarry 4288d3f1e6 Minor punctuation corrections. 2001-04-24 04:29:33 +00:00
thorpej 25d921464e Add a manual page that describes the pmap(9) API and the requirements
of a pmap module.

Many thanks to Bill Sommerfeld for reviewing the document for me.
2001-04-24 02:55:34 +00:00