Commit Graph

190878 Commits

Author SHA1 Message Date
haad
c8688b58cc Fix typo in comment. 2010-05-18 15:01:17 +00:00
pooka
b1b7862792 Make it possible to use the scheduler lock as the rumpuser condvar
interlock.  This is applicable in cases where the actual interlock
is the CPU the currently running thread is scheduled on.  Borrowing
the scheduler lock as the mutex mandated by pthread_cond_wait()
does away with need to have an additional mutex.  This both optimizes
runtime execution and simplifies code, as the extra lock typically
lead to quite some trickeries to avoid the dungeon collapsing due
to zaps from the wand of deadlock.
2010-05-18 14:58:41 +00:00
phx
49d7cce48e Set Synology extclk from 33.333333MHz to 33.164526MHz, which reduces the
error in the mftb timer from 5% to 0.002%.
The console port for QNAP and STORCENTER is 0x4500, not 0x4600.
2010-05-18 14:32:38 +00:00
jruoho
ba65e80ee0 Macros, not functions. 2010-05-18 11:20:12 +00:00
phx
577758b699 Synology PCI fixup, submitted by Toru Nishimura. 2010-05-18 10:41:30 +00:00
jruoho
177daa903e Fix .Nd. 2010-05-18 09:10:03 +00:00
jruoho
376c7b5fe6 Describe also the timespec() family of macros in timeradd(3). 2010-05-18 09:07:37 +00:00
jruoho
4e56c5c6e0 Fix a typo. 2010-05-18 07:31:15 +00:00
jruoho
51e86d90ef Refer to timeval(3) and only describe the legacy struct timezone here.
Improve markup.
2010-05-18 07:14:18 +00:00
jruoho
497c121b01 Add an introductory example. 2010-05-18 07:04:27 +00:00
jruoho
cd2244d3a2 Xref timespec(3). 2010-05-18 06:31:17 +00:00
jruoho
b01de5affa Note timeval(9). Add %D to the .Rs/.Re. 2010-05-18 06:05:08 +00:00
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