rmind
f46b67cca2
Convert to mutex(9). Replace ltsleep with mtsleep.
2011-05-14 02:58:27 +00:00
rmind
bb638787c4
Convert to mutex(9)/condvar(9). Use RUN_ONCE(9) to avoid racy init.
2011-05-14 02:27:35 +00:00
christos
018b374686
- don't assume aligned buffers.
...
- little KNF
2011-05-14 01:59:19 +00:00
nakayama
99c51b3804
Use %zd for ssize_t, and %zu for size_t.
2011-05-13 23:35:09 +00:00
nonaka
9af4d11fa4
Use "_end" instead of "end" for consistency with other architectures.
2011-05-13 23:14:36 +00:00
christos
1ff5a5dfd6
don't let readlink trash errno.;
2011-05-13 23:11:00 +00:00
rmind
6a0660a9b0
Replace some ltsleep() uses with kpause() and tsleep().
2011-05-13 22:35:50 +00:00
rmind
3c66f2d262
filemon_open: remove unnecessary check (which has a leak in error path).
2011-05-13 22:31:08 +00:00
rmind
3bc401dcc3
Eliminate few references to ltsleep.
2011-05-13 22:28:40 +00:00
rmind
2db2f4467c
- Replace shmmap_entry_pool with kmem(9), as pool is not worth.
...
- Sprinkle __cacheline_aligned and __read_mostly.
2011-05-13 22:22:55 +00:00
rmind
7507a4555c
Sprinkle __cacheline_aligned and __read_mostly, also const-ify.
2011-05-13 22:22:03 +00:00
rmind
f8060297de
Sprinkle __cacheline_aligned and __read_mostly, make some functions static.
2011-05-13 22:19:41 +00:00
rmind
f132c365c0
Sprinkle __cacheline_aligned and __read_mostly.
2011-05-13 22:16:43 +00:00
christos
5d62bbf09c
remove dup code.
2011-05-13 21:15:34 +00:00
phx
f2428d2dad
Create sd0, wd1 and cd0 devices, to allow mounting installation media via
...
USB, a second disk or a CDROM drive.
2011-05-13 19:14:17 +00:00
wiz
c2a5a3f0a6
new mdocml-1.11.2 out.
2011-05-13 06:39:39 +00:00
christos
e405d5e040
mention new file
2011-05-13 01:58:34 +00:00
christos
896e69ee4b
bump libmagic
2011-05-13 01:56:27 +00:00
christos
2344ff9853
resolve conflicts
2011-05-13 01:52:12 +00:00
msaitoh
f28852500d
regen.
2011-05-13 01:34:04 +00:00
msaitoh
452427b9ae
add entries for 82579LM and 82579V
2011-05-13 01:33:10 +00:00
christos
5ccaa8c050
from ftp.astron.com.
...
- many security related fixes
- no MAXPATHLEN limits
- fixed missing text specification on ascii magic
- new ``pascal'' style string formats
- whitespace comparison fix
- more magic
2011-05-12 20:46:28 +00:00
tsutsui
2ec6f05a03
Make intiobase and intiolimit unsigned for consistency.
2011-05-12 15:07:42 +00:00
joerg
46f5119e40
Update LLVM and Clang snapshot
2011-05-12 14:56:22 +00:00
manu
6b36a33563
Mont FUSE filesystem with proprer source and fstype so that df and mount
...
display something that makes sense
2011-05-12 10:32:41 +00:00
wiz
103f698f94
Sort options. Remove unnecessary quotes and Bk/Ek.
2011-05-12 08:42:24 +00:00
kiyohara
6b052232cf
Fix spl0(). Our IPL_NONE is not 0.
2011-05-12 08:14:36 +00:00
mrg
a7c78872c1
remove a sparc-specific comment.
2011-05-12 07:06:00 +00:00
mrg
c954fc0ec7
first steps towards fujitsu SPARC64 support:
...
- use cputyp when writing the kernel core
2011-05-12 05:44:09 +00:00
mrg
7a8f0fc003
first steps towards fujitsu SPARC64 support:
...
- SPARC64 systems have interrupts with upto 14 bits set, but we only look
at the first 11 bits. trim non IPI interrupts to 11 bits
2011-05-12 05:43:54 +00:00
mrg
c73cb1f76e
first steps towards fujitsu SPARC64 support:
...
- use CPU_IS_USIIIi()
- only apply spitfire erratum #54 on CPU_IS_SPITFIRE() systems (this faults
on SPARC64 cpus)
- sun4us and sun4v systems don't need dcache_flush_page or
blast_dcache ops
2011-05-12 05:43:40 +00:00
mrg
8be5702b71
first steps towards fujitsu SPARC64 support:
...
- use INTVEC() for the interrupt number, avoids overflow in the (normally)
11 bit interrupt number (from openbsd)
2011-05-12 05:43:06 +00:00
mrg
38bde52556
first steps towards fujitsu SPARC64 support:
...
- sun4us and sun4v systems don't need dcache_flush_page or
blast_icache ops
2011-05-12 05:42:42 +00:00
mrg
b83cc22fbe
first steps towards fujitsu SPARC64 support:
...
- re-add cputyp, default to sun4u
- set cputyp for sun4us or sun4v systems (from openbsd)
2011-05-12 05:42:22 +00:00
mrg
1d5014c0c3
first steps towards fujitsu SPARC64 support:
...
- add IMPL_* defines for fujitsu SPARC64 processors (mostly from openbsd)
- rename CPU_IS_JALAPENO() as CPU_IS_USIIIi()
- add GETVER_CPU_MANUF()
- add CPU_IS_SPITFIRE() and CPU_IS_SPARC64_V_UP()
2011-05-12 05:42:05 +00:00
mrg
73081ab660
first steps towards fujitsu SPARC64 support:
...
- add CPU_SUN4US and CPU_SUN4V defines
- re-introduce "cputyp" and use it for sun4u/sun4us/sun4v
2011-05-12 05:41:50 +00:00
christos
ce1401c437
use err(3) and warn(3) for error and warning printing, tiny knf.
2011-05-12 01:59:16 +00:00
joerg
7e04890838
Fix two rather obviousbuffer overflows, one of them hitting all the time.
...
Inspired by corresponding FreeBSD patch.
2011-05-11 23:20:46 +00:00
macallan
cfbcaa793f
when looking for a device's node we want to start with the child nodes of the
...
root bus, not its peers
2011-05-11 22:26:46 +00:00
dyoung
0d0dd0e146
Suppress whitespace at EOL to fix lib/librumphijack/t_tcpip.
2011-05-11 22:21:59 +00:00
njoly
de774efe6e
Remove shebang lines from test-script sources; avoids duplicate with
...
the build process which adds one too.
2011-05-11 22:08:12 +00:00
njoly
37bcf00e1a
Typo in error message.
2011-05-11 19:06:45 +00:00
mrg
8c36bb4b69
convert the main raidPtr mutex to a kmutex, and add a couple of cv's to
...
cover the old sleep/wakeup points for adding_hot_spare and waitForReconCond.
convert all remaining simple_lock's to kmutexes (they're not used or compiled
right now... even with all options enabled) and remove the support for them.
this leaves just a pair of tsleep()/wakeup() calls using old scheduling APIs.
2011-05-11 18:13:12 +00:00
dyoung
3d7646747e
Now that GENERIC32_IPX3x builds again, fix some pci_attach_args
...
constification that I'd missed.
2011-05-11 17:49:31 +00:00
zoltan
b3cd019cf9
Separate the IP and UDP code paths inside libsa, so I can add HTTP booting
...
later.
2011-05-11 16:23:40 +00:00
jakllsch
7124327c01
Make ${DBSYM} failure fatal.
2011-05-11 16:03:56 +00:00
drochner
4f6bdd19b5
use getmicrouptime(9) rather than microtime(9) for TIME_WAIT duration
...
calculation, because this doesn't get confused by system time changes,
and uses less CPU cycles
reviewed by dyoung
2011-05-11 15:08:59 +00:00
jakllsch
32dec9bd40
Use sysconf(_SC_PAGESIZE) instead of PAGE_SIZE.
2011-05-11 14:52:48 +00:00
tsutsui
2e447a4be0
Defer fpu_probe() call until curlwp and related variables are initialized.
...
Fixes pre-consinit KASSERT() in trap() caused by fnop instruction in
fpu_probe() on machines without FPU, including XM6i.
2011-05-11 14:17:29 +00:00
hauke
51a9336da1
Commit the patch from
...
<http://mail-index.netbsd.org/current-users/2010/09/12/msg014289.html >,
fixing a "panic: pool 'pfrktable' is IPL_NONE, but called from
interrupt context" that occurred on NetBSD/sparc.
2011-05-11 12:22:34 +00:00