Commit Graph

190966 Commits

Author SHA1 Message Date
jruoho
1c11137b95 Note that struct bintime is described in timecounter(9). Improve wording. 2010-05-18 05:57:07 +00:00
mrg
121098a3ec move the mutex_init() for ci_ctx_lock inside cpu_attach() so that
we don't try to mutex_init() before lockdebug is available.

fixes LOCKDEBUG crashes at startup (for USII systems.)
2010-05-18 04:30:16 +00:00
jakllsch
4151797e7b Use wput_utf8() to improve conversion of UTF-16 GPT partition names to UTF-8.
Drop static CRC32 function in favor of the one from libkern.
2010-05-17 23:09:52 +00:00
phx
b2b23a924e Excluded KUROBOX from GENERIC.NAS because console is on a different port.
Add INET6 option to GENERIC(.NAS).
Build KUROBOX kernel together with GENERIC and GENERIC.NAS.
Patch submitted by Toru Nishimura.
2010-05-17 22:52:17 +00:00
jruoho
f6554b77a6 Due previous, remove STANDARDS. 2010-05-17 20:32:09 +00:00
jruoho
ccf0fdd5d1 Briefly describe and note also struct bintime. 2010-05-17 20:25:19 +00:00
jruoho
aac39b04a5 Xref timeval(3). 2010-05-17 20:18:30 +00:00
jruoho
e8cfad37a0 Reference only aio(3) in SEE ALSO as it is the central placeholder. Note
timespec(3). Markup: -width Er (not -width Dv), .Dv NULL (not null), etc.
2010-05-17 19:22:31 +00:00
jruoho
6683f39fe8 Fix a typo of a typo, and use .Sq in couple of places. 2010-05-17 19:04:55 +00:00
jruoho
e95625039b Writing, rereading, writing, reareading, and yet still one typo. 2010-05-17 17:55:49 +00:00
phx
870d3a3e4f CPPFLAGS cleanup, submited by Toru Nishimura. 2010-05-17 17:50:08 +00:00
phx
6ecd938dbf Set correct extclk for KuroBox, which is not 33MHz.
Patch submitted by Toru Nishimura.
2010-05-17 17:48:59 +00:00
jruoho
4e9ea952b8 Add an introductory manual page for the POSIX asynchronous I/O, aio(3).
This is hopefully enough for a reader to get started with the aio.

ok rmind@
2010-05-17 17:15:42 +00:00
christos
b724c2d39e put back canonicalization, but avoid doing it for files that don't contain /
From dholland
2010-05-17 17:01:16 +00:00
jruoho
4a800d153f Offset indent, .Dv. 2010-05-17 12:38:04 +00:00
njoly
d52f4f14b6 Regen for multiple inclusion protection. 2010-05-17 12:37:20 +00:00
njoly
a00a76ca8d Add multiple inclusion protection to rump_syscalls.h. 2010-05-17 12:35:20 +00:00
jruoho
8499504d78 Remove trailing comma. 2010-05-17 12:27:13 +00:00
jruoho
a6141e98fc Use -enum in the list for clarity. 2010-05-17 12:23:05 +00:00
jruoho
3ae57981ed Add subtitle. Break long paragraph. 2010-05-17 12:16:43 +00:00
jruoho
eb64068f04 Note that all stat-functions are standardized nowadays. 2010-05-17 12:12:35 +00:00
martin
2d50c08773 Simplify primary CPU startup slightly by using the fact that our cpuinfo's
curpcb pointer points to the uarea/pcb of lwp0 and by remembering the pointer
to this cpuinfo, thus avoiding a few CPUINFO_VA references.
2010-05-17 11:51:10 +00:00
kiyohara
8f2b8d16b7 Attach CPU only of the pretense. 2010-05-17 11:46:19 +00:00
kiyohara
e23571f7e8 Indent.
s/mainbus0/mainbus?/.
2010-05-17 11:41:28 +00:00
ahoka
550ce899de Handle the HAVE_NBTOOL_CONFIG_H case.
Fixes hp700 build with objdir.
2010-05-17 09:13:03 +00:00
jruoho
50faa93541 Fix .Dt. 2010-05-17 08:09:20 +00:00
jruoho
5717af9360 Reference timeval(3). 2010-05-17 07:22:03 +00:00
jruoho
39a44ad3b2 Add a manual page that describes the basic structures in <sys/time.h>. 2010-05-17 07:10:15 +00:00
jruoho
3dc60799a1 Try to describe the struct stat instead of copy-pasting it from the header.
Use xrefs to avoid duplication of effort. Note the S_IS*() macros.
2010-05-17 05:20:05 +00:00
jruoho
cbe8ce8cad Actually the previous is wrong; all of these can set the errno either via
each other or via something like malloc(3) or lseek(2).
2010-05-17 03:09:06 +00:00
jruoho
132817e96e Fix the note about errno in ERRORS; telldir(3), seekdir(3), and rewinddir(3)
do not set the errno.
2010-05-17 03:04:09 +00:00
jruoho
c7e72bf2a1 Fix the SYNOPSIS. 2010-05-16 15:56:39 +00:00
jruoho
15ccf6ccbe As was done with the man-page for <sys/types.h>, move dir(5) to dirent(3).
Add a table describing the stat <-> dirent types. Note IFTODT() and DTTOIF().
2010-05-16 15:33:29 +00:00
jruoho
9127e9f198 .Dv. 2010-05-16 12:36:32 +00:00
jruoho
e55b912b81 Add the Butenhof's book to SEE ALSO. (It was decent enough when I read it
years ago, but if there are better ones, please feel free to add those.)
2010-05-16 12:23:32 +00:00
jruoho
8292b0e60f Enumerate the functions in a table instead of a big SEE ALSO.
Also some stylistic changes.
2010-05-16 12:20:00 +00:00
wiz
972863c67c Sort sections. Fix typo. Fix xref. Improve wording in one case. 2010-05-16 11:37:06 +00:00
phx
5929d8aee3 Make netboot generate a BTINFO_NET bootinfo node for the Synology sk(4) NIC.
It will pass the MAC address, which is read from Flash ROM, into the kernel.
The kernel creates a "mac-address" device-property, which is used by sk(4),
when given, before reading the MAC from its EEPROM.
2010-05-16 11:27:49 +00:00
martin
5a6d00fa0a From Matt Thomas, suggested upstream:
* atof-generic.c (atof_generic): recognize snan and qnan in
	addition to nan and inf.
	* atof-vax.c (flonum_gen2vax): deal properly with nan, snan, qnan,
	and +Inf and -Inf codes.

This fixes PR toolchain/43303.
2010-05-16 11:20:01 +00:00
jruoho
120678dcc8 Add a note that the "whiteout inode", DT_WHT, is an implementation detail
and should not be seen in normal user applications.
2010-05-16 08:56:17 +00:00
jruoho
fb6ead4add At least one markup-typo slipped through the cracks. 2010-05-16 08:01:14 +00:00
jruoho
ce1c570bfe Rewrite much of the page.
Provide much more detailed and structured discussion. Notably, try to gather
some of the conditions around the famous undefined behavior; these functions
(or the implementations) are quite prone to such behavior.

Add compatibility notes. (The big change here is that in SUSv4 it is no
longer mandated that the directory streams are implemented by using file
descriptors.)

XXX: Please proofread this. Consider also adding some additional notes. For
     instance, I left the semantics about "." and ".." out.  The returned
     errno's should be enumerated as well.
2010-05-16 07:52:58 +00:00
dholland
b500f55a59 and, erm, bump date too. 2010-05-16 07:40:53 +00:00
dholland
50d151d5f4 Grammar, clarification, and note that the rusage information is total
as opposed to strict subprocess only.
2010-05-16 07:40:13 +00:00
agc
8755cbec2a When setting up res (results), errs (error) and outs (outputs) streams,
change the pre-defined stdio streams to be denoted by "<stdout>" and
"<stderr>", to distinguish them from file names.

In netpgpkeys(1), send the default "res" (results) stream to stdout,
rather than stderr. Requested by Anon Ymous (and makes perfect sense).
2010-05-16 06:48:52 +00:00
agc
b4f06d28e0 Avoid a possible overwrite of a value in the (key, value) array, in
the event that a reference to the value is passed to the
netpgp_setvar() function as the new value.  Problem noted, cause
detected, and most of the fix contributed by, Anon Ymous.  Thanks!
2010-05-16 06:21:14 +00:00
jruoho
4dc3500d9a IMPLEMENTATION NOTES back to NOTES. 2010-05-16 05:18:35 +00:00
jruoho
20136dbf99 Use .An as documented in mdoc.samples(7). 2010-05-16 05:17:02 +00:00
agc
37bb0457f6 fix a piece of lint 2010-05-16 02:46:25 +00:00
joerg
6394298f1b Follow the Fundamental Theory of Algebra. Disallow factorising of
numbers less than 2 as it is not
- naturally unique (negative numbers)
- finite (0)
- non-empty (1)

Discussed with the kristaps and wiz
2010-05-15 21:22:39 +00:00