Commit Graph

258 Commits

Author SHA1 Message Date
takemura 3c9d9276dc Add new powerhook argument values, PWR_SOFTSUSPEND, PWR_SOFTSTANDBY and
PWR_SOFTRESUME. Apm calls powerhook with the values in normal interrupt
priority level while others are protected with splhigh().
2000-11-26 11:08:57 +00:00
scw 7a09b2eab5 Document the bus_space_peek_N() and bus_space_poke_N() families
of functions, as proposed on tech-kern.

These provide a way to safely access bus space without crashing
the system if nothing responds on the bus.  c.f. `badaddr()'.
2000-11-23 22:56:53 +00:00
thorpej dcf80e02de Update for the new pfil framework. 2000-11-11 01:22:37 +00:00
eeh df87630144 Add console magic sequence framework. 2000-11-08 22:41:58 +00:00
lukem 279552d3db fix up various .Nm abuses:
- keep the case consistent between the actual name and what's referenced.
  e.g, if it's `foo', don't use '.Nm Foo' at the start of a sentence.
- remove unnecessary `.Nm foo' after the first occurrence (except for
  using `.Nm ""' if there's stuff following, or for the 2nd and so on
  occurrences in a SYNOPSIS
- use Sx, Ic, Li, Em, Sq, and Xr as appropriate
2000-11-07 06:43:24 +00:00
lukem ebcd47ebf3 use .Xr 2000-11-07 05:44:50 +00:00
eeh 26f192b24a Add manpage for new line discipline stuff. 2000-11-02 23:15:10 +00:00
itojun ce80048889 document m_dup(9). talk a little bit about issues with shared
external storage (M_EXT).
2000-10-13 04:19:58 +00:00
ad 82759dbdf5 Use .{B,Bs,F,N,O}x and fix miscellaneous errors. 2000-09-21 10:43:49 +00:00
thorpej b391d6cece Document spllock(). 2000-08-22 19:56:08 +00:00
enami f6836da7ad Fix two more typos. 2000-08-22 01:33:52 +00:00
thorpej a703d1e88e i before e except after c ... 2000-08-21 23:16:01 +00:00
thorpej c848fa23c5 Inject more truth into this document. 2000-08-21 22:53:53 +00:00
tv 7c8513ea3b MLINK2->M_LINK2, also make the listing of these three options be more in
line with the columnar layout.
2000-08-14 17:34:12 +00:00
deberg 0bcba35b9e fix typo 2000-08-14 02:37:37 +00:00
tv 9f8eb67559 Add manpage for bitmask_snprintf(9), describe tprintf(9), and simplify
kprintf(9) by removing the now unsupported "extra" printf format strings.
2000-08-09 03:12:33 +00:00
tv e371c5808a Terminate an unterminated .Bl. 2000-08-09 03:11:00 +00:00
augustss 8e63b5da59 Update documentation about order of hooks. 2000-08-06 02:07:15 +00:00
briggs 0ad393d6e3 On 20 Feb 2000, the humanize_number() function got a fifth argument--a
divisor.  This divisor replaces a hard-coded divisor of 1024.  To remain
consistent with the hard-coded SI prefix list, humanize_number should
probably only be called with a divisor of 1000 or 1024.
This is now documented.
2000-08-05 14:58:03 +00:00
jhawk 243d61d41b Xr ppsratecheck 2000-08-03 20:35:40 +00:00
briggs b9198e3e17 As noted by jhawk--'count' is a function argument when I note that that
functions which take a count of bytes have undefined results if the specified
(count) is zero.
2000-08-03 15:30:52 +00:00
itojun f7e4207188 add ppsratecheck(9). 2000-08-03 00:09:39 +00:00
itojun a43773b43f add a note on possible misbehavior when mininterval < 1/hz. 2000-08-02 23:51:07 +00:00
itojun 3454cf5286 add .Ed against .Bd 2000-08-02 23:43:52 +00:00
briggs c90e5bd9f6 Add some basic bus_space_*stream_N documentation. 2000-08-01 23:08:56 +00:00
pk ed1c92951c Add man page for a new time-of-day clock driver interface. Also documents the
already existing clock_secs_to_ymdhms() & clock_ymdhms_to_secs().
2000-07-25 21:12:45 +00:00
ad bcd6512016 Fix a couple of oversights. 2000-07-24 15:00:07 +00:00
gmcgarry 344dfcc9dc Back out previous. 2000-07-14 08:49:41 +00:00
gmcgarry 5f6dba69a0 uvn_attach.9 -> uvm_attach.9 2000-07-13 21:58:39 +00:00
gmcgarry da4ae70d1c Improve use of specific terms and definitions. 2000-07-07 01:26:13 +00:00
mrg 6f661cfcac <vm/vm.h> is gone. fix a few minor errors. 2000-06-29 06:08:44 +00:00
veego b04531906a Fix the broken spinlockmgr.9 link to lock.9 2000-06-26 13:22:43 +00:00
gmcgarry 692c6c4e03 lock(9) manpage. Not much, but it is a start. 2000-06-25 23:45:22 +00:00
cgd db755e7c76 sweep of my licenses (userland files w/o only my copyright) for
consistency.  (no functional changes)
2000-06-14 17:24:02 +00:00
cgd d220ca5ba3 fix up NetBSD RCS Ids to match the standard, and the leading comment as
to match as well.  No functional changes.
2000-06-14 06:48:47 +00:00
cgd ef767ee388 Replace my personal attribution string ("This product includes software
developed by Christopher G. Demetriou for the NetBSD Project.") with
a generic NetBSD one ("This product includes software developed for the
NetBSD Project.  See http://www.netbsd.org/ for information about NetBSD.")
so that this same set of terms can be used by others if they so desire.
(Eventually i'll be converting more/all of my code.)
2000-06-13 22:36:16 +00:00
cgd 31632fbb01 IPL-lowering functions are now defined to return `void.' See also my
post to tech-kern about the issue.  No ports updated yet; they should
be updated as time permits.
2000-06-08 06:45:24 +00:00
cgd cffb580806 Implement the more flexiable `evcnt' interface as discussed (briefly) on
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
matt 479163743d Note that softintr_schedule can safely be called multiple times
before the callback is invoked.
2000-06-02 22:12:11 +00:00
cgd a6921e9cfe in foo_softc example, actual struct device, not a pointer to one 2000-05-31 19:39:21 +00:00
pk bd447b03c0 Document pool_init(9) and generally Sync with Reality. 2000-05-31 15:27:33 +00:00
cgd a66fd057e2 documentation of the NetBSD machine-independent software interrupt
framework, dredged out of the January, 1997 tech-kern e-mail archives.
2000-05-31 00:40:51 +00:00
soren 08f5b3301d The datap argument to bus_space_write_{multi,region}_* should be const. 2000-05-27 01:55:42 +00:00
jhawk 1fe6e4844f If db_onpanic is unset and DDB is compiled in, panic() now calls
db_stack_trace_print(__builtin_frame_address(0),...), to printf() the
stack trace to the message bufffer and console. Idea from SunOS/Solaris.
Useful when dumping fails.
2000-05-26 20:25:57 +00:00
bouyer d7a4b673e1 Use my standart copyrigth notice. 2000-05-15 06:34:47 +00:00
mrg 6f214275ce feex speeling eroor 2000-05-07 17:09:32 +00:00
fvdl 015216d717 Clarify that you shouldn't use the bus_dma_segment_t return value from
bus_dmamem_alloc to program DMA registers, but that the dm_segs array
of a successfully loaded DMA mapping should be used.
2000-05-01 23:12:20 +00:00
drochner 4bc03f3617 -fix .Dv usage at one point
-The ucom_get_status() argument list gets messed up - should be .Fn
 anyway, so change it accordingly. Convert the other functions to
 .Fn/.Fa too for consistency.
2000-04-28 09:37:43 +00:00
soren da0560cb7d Typo. 2000-04-19 07:57:50 +00:00
drochner 295689ce1a -document the BUS_SPACE_MAP_PREFETCHABLE flag introduced a while ago
-add a missing link: bus_space_vaddr() to get a pointer from a handle;
 needed to make the BUS_SPACE_MAP_LINEAR flag useful
2000-04-17 09:52:21 +00:00