Commit graph

350 commits

Author SHA1 Message Date
Marc Fonvieille
9b5776d04c Update copuright year since this book have been updated in 2006. 2006-08-28 19:11:28 +00:00
Marc Fonvieille
e13bdf2a4b Various typo and punctuation fixes. 2006-08-28 18:59:16 +00:00
Maxim Konovalov
b65aee2fe7 o init_param1() sets kern.maxdsiz as well. 2006-06-20 19:34:37 +00:00
Joel Dahl
89b7bd9c19 Expand two contractions. 2006-04-24 19:25:21 +00:00
John Baldwin
74a685c1af - Set si_drv1 in mypci_attach().
- Add a note describing the new bus_*() functions that take a struct
  resource * and thus don't need the bus tag and handle in the softc
  that are in FreeBSD 7.0 and later.
- Minor fixups in return values and a compile nit in mypci.c.
2006-04-18 15:39:51 +00:00
Maxim Konovalov
6e14f80bcc o Fix a couple off-by-one errors, style(9). 2006-04-15 20:00:35 +00:00
Maxim Konovalov
13be634c09 o Add missed 'typedef'.
PR:		docs/78062
Submitted by:	ALeine

o Remove unused variable.
2006-04-14 11:14:55 +00:00
Hiroki Sato
b4bd9a39f7 Fix "Prev" navlink.
Pointed out by:	intron at intron dot ac
2006-04-07 15:37:12 +00:00
Xin LI
77b5c7ca76 Correct markup.
Pointed out by:	intron <intron at intron ac>
2006-01-22 16:20:37 +00:00
John Baldwin
d5cc81900b Various and sundry cleanups to the sample PCI driver:
- Split the first section into sub-sections instead of just paragraphs.
- Include a makefile for a kernel module for the sample driver and explain
  how to use 'make', 'make load', and 'make unload'.
- Use 'struct cdev *' rather than 'dev_t'.
- Add missing d_version to cdevsw.
- Explain how to use si_drv1 in struct cdev to get from a cdev back to the
  softc.
- Add a softc and move the cdev pointer into the softc.  Given the cdev
  a unique name and minor number for each device.
- Use better comments in several places.
- Actually call device_set_desc() in probe, and use BUS_PROBE_DEFAULT
  rather than 0.
- Add missing call to destroy_dev() in detach.
- Use DEFINE_CLASS_0.

PR:		docs/90830
Submitted by:	Marius Nuennerich marius dot nuennerich at gmx dot net
2006-01-06 21:29:52 +00:00
Xin LI
e140896ec8 Escape <, >, &'s, plus some cleanups against the SGML. There should not
be any content changes involved in this commit, however, localization
teams are encouraged to catch up with this change.

Requested by:	intron at intron ac
Reviewed by:	Niclas Zeising <lothrandil at n00b apagnu se>
Glanced by:	simon
2006-01-05 20:03:39 +00:00
Remko Lodder
287e5fe13b Fix various typo's and grammar nits.
Noticed by:		Samy Al Bahra <samy at kerneled dot org>
2005-08-04 18:32:10 +00:00
Marc Fonvieille
ee69cc70cd Fix links to daemonnews.org 2005-07-21 09:23:06 +00:00
Xin LI
13066979d9 Add a space between "thread" and "into" so this reads like what it
should be.

Submitted by:	Wojciech A. Koszek [dunstan@freebsd.czest.pl]
2005-07-03 04:49:17 +00:00
Murray Stokely
3b334d4892 Index this chapter. 2005-05-14 18:38:29 +00:00
John Baldwin
fa93dd8624 Whitespace fixups. 2005-05-12 21:33:12 +00:00
John Baldwin
cd44ed208a Clean up some confusing text and clarify that sched_pin/unpin only operate
on curthread on the current CPU.  Reference sched_bind/unbind for those
looking for something more general.
2005-05-12 21:24:42 +00:00
John Baldwin
5c855039bf - Add 2005 as a copyright year.
- Add markup to several variable, constant, and function names.
- Remove trailing () from marked up functions to be consistent.
- Split up a non-word into its two sub-words.
2005-05-12 21:23:08 +00:00
John Baldwin
0e417bc9ff Flesh out the sleep queue section. 2005-05-12 21:02:10 +00:00
Murray Stokely
0ccafc87cb * First pass at indexing.
* Add missing <literal> tag.
2005-05-05 00:08:49 +00:00
Murray Stokely
19e42de8a3 Use proper <chapterinfo><authorgroup> sections to record contributions
rather than ad-hoc <paras> at beginning of chapters.
2005-05-04 23:56:46 +00:00
Murray Stokely
fca3844a99 * Correctly use errorname and literal tags.
* Formally mark up author information in <chapterinfo><authorgroup>..
2005-05-04 23:49:08 +00:00
Murray Stokely
2129a93f77 Add indexterms, consistently spell CD-ROM, add more descriptive markup. 2005-05-04 23:37:19 +00:00
Murray Stokely
c8495b0052 Add indexterms and more descriptive markup (<literal>, <errorname>, etc..) 2005-05-04 23:21:38 +00:00
Murray Stokely
fcfbf156cd First pass at indexing. 2005-05-04 16:03:25 +00:00
Murray Stokely
59c15dde22 Use &unix; macro for conistent capitalization of Unix throughout this
book.
2005-05-04 15:44:19 +00:00
Murray Stokely
b4194b3507 Turn on nascent index. 2005-05-04 15:30:40 +00:00
Murray Stokely
0c07041d1a Index three more chapters. 2005-05-04 15:24:18 +00:00
Murray Stokely
ed547c75df First pass at indexing this chapter. 2005-05-04 15:10:49 +00:00
Murray Stokely
a5fa2ce44e Remove empty stub chapters and update copyright year. 2005-05-04 15:00:42 +00:00
Simon L. B. Nielsen
e822759e45 Remove more contractions.
PR:		docs/77774
Submitted by:	Joel Dahl <joel@automatvapen.se>
2005-02-20 14:14:45 +00:00
Ruslan Ermilov
0b88a917a5 Markup nits. 2005-01-28 13:07:55 +00:00
Robert Watson
b2f1130493 The timeout causes the boot2 code to break out, not brake out. 2005-01-23 00:35:23 +00:00
Robert Watson
e11179975f Change an ordered list to an itemized list.
Add mention of the mac_get_peer() interface, and also the ioctls to
get and set network interface labels.

Sponsored by:	SPAWAR, McAfee Research
Obtained from:	TrustedBSD Project
2005-01-22 18:27:28 +00:00
Robert Watson
da9db39793 A variety of minor wording tweaks to the MAC Framework chapter of the
architecture handbook.

Document the current set of MAC-related system calls.

Sponsored by:	SPAWAR, McAfee Research
Obtained from:	TrustedBSD Project
2005-01-22 18:17:12 +00:00
Ceri Davies
fae8f5f4e3 Correct some typos.
PR:		docs/75131
Submitted by:	Joel Dahl <joel at automatvapen dot se>
2004-12-15 21:35:17 +00:00
Ceri Davies
eb2cd84505 Internet Explorer fails to render some tables generated by the
informaltable element properly, unless the pgwide attribute is
explicitly set to 1.  Use this consistently within the (en) tree, and
update the FDP accordingly.  This should finally silence the demons in:

PR:		docs/73095
Submitted by:	Hilko Meyer <Hilko dot Meyer at gmx dot de>
2004-11-29 21:43:38 +00:00
John Baldwin
53bd474e4d Update the sample 'echo' character device driver for 5.x:
- Use an dynamic major number rather than a static one.
- Use 'struct cdev *' rather than 'dev_t'.
- Add d_version field to echo_devsw.
- Use malloc()/free() rather than the macros.

Submitted by:	Karl Andersson karland at home dot se (2,3)
2004-10-29 19:59:24 +00:00
John Baldwin
e13833ab9e More whitespace fixes to cleanup the previous commit. 2004-08-16 22:05:05 +00:00
John Baldwin
fd67a678b8 - Fix some minor nits in the description of preemption and thread
migration.
- Describe the thread pinning API implemented by jeffr@ via sched_pin/unpin
  rather than the theoretical API that had been described.
2004-08-16 21:09:14 +00:00
John Baldwin
06305fcf38 Whitespace only changes that rewrap some paragraphs. 2004-08-16 21:04:22 +00:00
Peter Pentchev
c22beb4998 Lowercase a couple more element and attribute names. 2004-08-11 17:25:04 +00:00
Hiroki Sato
c4cb2201ad Use lower-case characters for attribute name (s/URL=/url=/).
No content change.
2004-08-09 19:49:18 +00:00
Hiroki Sato
5fa082b1f8 Simplify parameter entities in doctype declaration.
Currently we have articles.ent and books.ent, and
for example, articles.ent can be used by putting the
following lines in the doctype declaration:

 <!ENTITY % articles.ent PUBLIC
            "-//FreeBSD//ENTITIES DocBook FreeBSD Articles Entity Set//EN">
 %articles.ent;

This pulls all of the necessary entities via share/sgml/articles.ent.

The translation teams can customize these entities by redefining
the articles.ent file in <langcode>/share/sgml.  See
ja_JP.eucJP/share/sgml for example.
2004-08-08 13:44:01 +00:00
Denis Peplin
c12c11040e Use url entities for links between docs 2004-08-05 10:04:31 +00:00
Robert Watson
d2b9ad4b57 Improve documentation of sleeping/non-sleeping memory allocation
relating to init entry points: expand description of socket allocation
entry points, and prefer "sleeping" to "blocking".
2004-07-16 03:44:49 +00:00
Robert Watson
e74ed3c9a8 Provide more information on locking for MAC policies now that locking
is better defined.

Remove an inaccurate sentence describing how labels work with policies.
Maybe we should do it that way, but we don't yet :-).
2004-07-16 03:22:16 +00:00
Robert Watson
2fb74c2d5f A bunch of small wording changes, clarifications, etc, that I've had
sitting in my tree for a while.
2004-07-16 02:35:46 +00:00
Murray Stokely
d05594021a Add 'frame="none"' attribute to <informaltable>s. 2004-07-09 09:50:34 +00:00
Hiroki Sato
84f8ee0a15 Use relative URLs when URL_RELPREFIX is defined and URLS_ABSOLUTE
is not defined.

- URL_RELPREFIX must always point the top page's URL
  (http://www.FreeBSD.org) in relative form, defined in Makefile.

- &url.base; can be used in doc/<langcode>/*.  It will be
  replaced with the real URL which points the top page.

For translators: Please make sure to define URL_RELPREFIX to
point the top page.  The localized docs have different directory
hierarchy in its URL from the English version.

Tested by:	den
2004-07-06 15:09:55 +00:00