Commit Graph

711 Commits

Author SHA1 Message Date
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
jmmv
4296d7d483 Drop trailing whitespace. Reviewed by wiz. 2003-05-06 10:46:41 +00:00
kleink
2320944ad7 Bring audio(9) back in sync with audio_if.h; from Murray Armfield in
PR misc/21432.
2003-05-05 20:52:52 +00:00
gmcgarry
62c18e05f7 Xr wsfont(4) 2003-05-03 23:20:15 +00:00
wiz
6a8058b52a Misc fixes from jmc@openbsd. 2003-05-03 19:01:05 +00:00
wiz
1ffa7b76c4 DMA, not dma nor Dma. 2003-05-03 18:10:37 +00:00
yamt
245e20c483 mdoc improvement.
(use the longest tag for width specifier)
2003-05-01 15:58:49 +00:00
yamt
07993bf5b9 redo a half of the previous correctly.
('op' arg of VOP_ADVLOCK)
2003-05-01 15:42:51 +00:00
yamt
307d26d6a8 VOP_ADVLOCK:
F_{RD,WR,UN}LCK is not for 'flags'.
2003-05-01 15:30:35 +00:00
uebayasi
8a940b232d Typos, mostly a -> an.
Reviewed by:	grant
2003-05-01 08:42:07 +00:00
wiz
39f7be757e Use .Aq instead of \*[Lt]...\*[Gt]. 2003-04-24 12:13:03 +00:00
gmcgarry
2eaa7e53cc Update to reflect caddr_t -> void * change. 2003-04-20 04:42:15 +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
d3de02ab6c Fix a typo, and improve grammar. 2003-04-16 10:14:05 +00:00
wiz
986d19cf10 Drop trailing space. 2003-04-16 09:31:35 +00:00
kleink
901550cf82 Following the pci(9) example, list cardbusreg.h here as well. 2003-04-14 18:34:26 +00:00
dbj
952f555608 grammar nit. "set to." changed to "to which" 2003-04-13 07:15:20 +00:00
yamt
32c3ac4c30 'indent' is now const. 2003-04-11 11:59:28 +00:00
gmcgarry
5abc9e573e vfs_setpublic.9 -> vfs_setpublicfs.9 2003-04-07 07:09:47 +00:00
wiz
334bfb30b4 More e.g. cleanup. Igor Sobrado, PR 19692. 2003-04-07 07:04:49 +00:00
wiz
e0837140d4 SunOS 4. From Igor Sobrado in PR 19820. 2003-04-06 20:54:16 +00:00
wiz
e6c0e52916 Grammar fix. 2003-04-06 18:22:56 +00:00
wiz
68caa698b2 Respect the law: Use A-law and mu-law as spellings as far as easily possible.
Inspired by Igor Sobrado in PR 19680.
2003-04-06 18:20:07 +00:00
wiz
24dd3383e1 Fix a typo, from Igor Sobrado in PR 19680. 2003-04-06 15:56:59 +00:00
wiz
ec59b4a790 Fix two typos, from Igor Sobrado in PR 19680. 2003-04-06 15:52:38 +00:00
wiz
c3397e3c5c description, not descripton. Igor Sobrado in PR 19680. 2003-04-06 15:50:17 +00:00
wiz
a777b1081b Fix a bug, and add a Dv before a NULL. Whitespace nits while here. 2003-04-06 10:00:46 +00:00
gmcgarry
2692486a9a Move vfs interface out of vfsops.9 into its own page. Document
it completely.
2003-04-06 07:09:47 +00:00
gmcgarry
cb0c25c5a7 Back out previous. 2003-04-06 07:07:41 +00:00
wiz
c8be46a52c Uncomment vfs_shutdown xref. 2003-04-04 20:58:27 +00:00
wiz
cb1e852e85 Minimally document vfs_shutdown(9). XXX: Right man page? 2003-04-04 20:55:25 +00:00
wiz
69b897b880 Refer pmap(9) for pmap_activate. 2003-04-04 20:33:21 +00:00
wiz
f67e95ee41 Refer ltsleep(9) instead of non-existing sleep(9). 2003-04-04 20:31:43 +00:00
wiz
a981ee0f3a vinvalbuf and vtruncbuf are using ltsleep(9), not the non-existing
sleep(9).
2003-04-04 19:39:17 +00:00
wiz
04508ad270 Sort SEE ALSO. 2003-04-04 19:34:21 +00:00
wiz
c748519600 Space before punctuation after macro argument (to avoid the punctuation
being marked up) and bump date.
2003-04-01 16:59:45 +00:00
perry
1d95bb4785 Fix a bit of grammar and remove some remnants I hadn't meant to commit
in the last.
2003-04-01 16:56:34 +00:00
perry
d6c006d00b Add bare-bones documentation for cnflush and cnhalt 2003-04-01 16:53:05 +00:00
wiz
5e6d862997 Separate "command" from "line". 2003-03-30 17:09:37 +00:00
thorpej
5472a338dd Document pci_vpd_read() and pci_vpd_write(). 2003-03-25 22:04:50 +00:00
wiz
83de4abed2 Use "its" instead of "it's" where appropriate.
From Soren Jacobsen in PR 20730.
2003-03-15 23:48:27 +00:00
manu
572d271ee8 Fix to uvm_map documentation, approved bu Chuck Silvers:
uvm_map size parameter is not in PAGE_SIZE units, it is a multiple of PAGE_SIZE.
2003-03-09 18:28:59 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
wiz
f7073a4b07 Bump date and copyright for last. 2003-02-23 21:43:31 +00:00
pk
8059957b3f Noet that knote() must not be called from interrupt contexts running at an
interrupt priority level higher than splsched().
2003-02-23 21:40:44 +00:00
wiz
60dacdf710 Fix some typos reported by Hiten Pandya in PR 20366. 2003-02-16 16:06:19 +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
996ded7b6d Note that cngetc returns 0 if there is no console input device. 2003-02-14 01:05:22 +00:00
thorpej
4c275f2081 Improve the wording regarding the relationship between bus_dmamap_sync()
and memory barriers.
2003-02-11 07:02:26 +00:00
drochner
25d3c2e03b remove leftover pre-UVM manpages 2003-02-10 13:08:00 +00:00