Commit Graph

166777 Commits

Author SHA1 Message Date
junyoung
f59892f81b u_intXX_t -> uintXX_t. 2008-02-09 14:56:20 +00:00
ad
a180c2a1f7 membar_enter was doing the wrong thing. For x86 we can alias:
membar_enter -> membar_consumer
	membar_exit -> membar_producer
2008-02-09 13:42:21 +00:00
ad
d418b9fe8b Some glue for atomic ops in userspace. 2008-02-09 13:30:54 +00:00
chris
08a72f8b45 Further tweaks to Kinetic support. All memory in ths sytem is now used.
Non-Kinetic memory is placed into a seperate freelist so preference is
given to the kinetic memory.
2008-02-09 13:17:32 +00:00
jmmv
e9ac11d090 Beleatedly note the addition of the new modules framework (options MODULAR)
and the new versions of modload, modstat and modunload that was done by ad@
on January 16th.
2008-02-09 13:02:13 +00:00
yamt
67ab67abb3 if DEBUG, over-allocate 1 byte to detect overrun. 2008-02-09 12:56:20 +00:00
ober
5b57893f60 Intel PRO/Wireless LAN 4965AGN Mini-PCI Adapter Driver ported from OpenBSD
by deroote@.  OK nick@ moof@
2008-02-09 12:25:43 +00:00
skrll
ba36d19a6b Catch up with kernel frames on amd64. 2008-02-09 11:43:58 +00:00
mlelstv
5c1a4dd94c Fix a segfault when doing 'stat -f %R' on the stdin file handle, instead
fake the filename '(stdin)' like the %N format.
2008-02-09 09:18:07 +00:00
jmmv
2630bb2c25 Document dehumanize_number(3). 2008-02-09 09:09:04 +00:00
mrg
04ac16e077 also add -pthread to LDFLAGS; now this actually passes. 2008-02-09 08:38:08 +00:00
dholland
c60100b138 Use STDIN_FILENO and friends instead of magic constants 0/1/2.
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 05:07:26 +00:00
dholland
3ad5f9069e Document the behavior of dup2 when oldfd == newfd: nothing happens.
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 04:58:30 +00:00
dholland
2069154485 Mention utmpx/wtmpx as well as utmp/wtmp. Suggested by the patches in
PR bin/36551 by Greg A. Woods. Also, while I'm here, fix a miscapitalized
word.
2008-02-09 04:50:57 +00:00
dholland
322ddd589b Set off symbolic signal names (SIG...) with .Dv, and crossreference init(8).
From PR bin/36551 by Greg A. Woods. And while I'm here, fix a grammar nit.
2008-02-09 04:31:43 +00:00
dholland
317c569692 Add warn() in a couple places where it was missing, and clarify one of
the existing warnings slightly. Suggested by PR bin/36551 by Greg A. Woods.
2008-02-09 04:27:06 +00:00
dholland
311ef454d2 Improvements and clarifications to log messages and also to the man page.
Partially cherry-picked from or inspired by PR bin/36551 by Greg A. Woods,
plus some additional grammar/usage/clarity adjustments while I was passing
through. Any mistakes are mine.
2008-02-09 04:09:22 +00:00
mrg
5139f277b1 note gcc 4.1.3-20080802 2008-02-09 02:43:22 +00:00
mrg
d638eaddc1 m68k/Makefile.inc:
- add __mmap.S to SRCS.
- add _lwp_getprivate.S mremap.S to ASM.
sys/Makefile.inc:
- look for __glue.S as well as glue.S.
- introduce a new ASM_MD and set it to "_lwp_getprivate.S mremap.S".
  this is used for assembler files that may have non-default
  implementations.

now m68k and m68000 mostly build again.
2008-02-09 02:41:06 +00:00
mrg
ecc90aa046 make all sun2 use -O0 and move most of the hacks out into just 3 files. 2008-02-09 02:37:21 +00:00
mrg
b757a71702 only use -Wuninitialized with -O>0. 2008-02-09 02:36:12 +00:00
mrg
eff6f27b55 regenerate all mknative-gcc files after skrll@'s fix to grab the
objc config.h.  use this config.h in libobjc4.

this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
christos
c44d05fa14 add a unit-test for threaded libobjc. 2008-02-08 20:04:50 +00:00
ad
54cd701e44 breakpoint: set up a stack frame so not to confuse gdb. 2008-02-08 18:17:39 +00:00
christos
c7312b8578 The probe function hijacks 2 idt vectors and then restores them back. There
is no reason to permanently allocate idtvec[0x2d], which could be used
by compat_svr4 as the system call gate.
2008-02-08 18:10:40 +00:00
skrll
11670328a2 Collect the libobjc config.h 2008-02-08 18:06:48 +00:00
kiyohara
40e0856c1f Fix some bugs since ppcoea-renovation.
It status is reach asking boot device now.
2008-02-08 16:53:34 +00:00
yamt
f7048cc403 uvm_uarea_init: fix compilation where PAGE_SIZE is not a constant. (sparc)
reported by Tom Spindler.
2008-02-08 11:49:40 +00:00
joerg
2ec9a34ee9 Deal with statvfs compat issue by including it in nbcompat.h for now. 2008-02-07 23:46:47 +00:00
joerg
d32599e755 Import pkg_install-20080208 2008-02-07 23:42:16 +00:00
joerg
80b711a35e Reimplement in4_cksum to not copy data, but sum up directly.
Tested on sparc and m68k by martin@.
2008-02-07 22:45:20 +00:00
xtraeme
96da5b3142 lm_refresh_volt: don't overwrite the state of the sensor. Patch by
Fukumoto Atsushi - PR kern/37977.
2008-02-07 20:35:44 +00:00
garbled
23c459473f Add some simple code to print out what the OFW thinks the cache
configuration of the machine is.  Amusingly, the OFW on the pegasos is
dead wrong.

Bump CPU_MAXNUM to 8, because, thats probably a reasonable number for now.
2008-02-07 19:48:37 +00:00
agc
5025457bc5 Update the autoconf glue to version 20080207 of the portable NetBSD
iSCSI initiator and target.
2008-02-07 19:12:26 +00:00
agc
c00abf65a9 Changes to make the iSCSI initiator have a chance of building on
other platforms - include ${PREFIX}/include when compiling, and
${PREFIX}/lib when linking.

Fill out the dependency information correctly.
2008-02-07 19:10:52 +00:00
agc
02806300b2 If we're doing discovery, and the TSIH cannot be found, set it to
the disk number held in the session parameters - avoid using a negative
index to the array of target disks.
2008-02-07 19:09:02 +00:00
macallan
1d2e5fa7a1 mention hw acceleration for crmfb 2008-02-07 15:05:56 +00:00
yamt
071f43904b constify. 2008-02-07 14:37:40 +00:00
itohy
c6575c9320 Whitespace police. 2008-02-07 14:36:40 +00:00
xtraeme
b2498de159 Move a debug printf into the ATA_RAID_DEBUG block. 2008-02-07 13:48:33 +00:00
yamt
79c62b78b6 nonresident_rotate: avoid too long loops which can happen on some workloads. 2008-02-07 12:27:38 +00:00
skrll
46fa39e270 Fix a comment. 2008-02-07 12:25:42 +00:00
yamt
7608362b58 swapcluster_flush: handle nused==0, which can happen if swapcluster_add failed.
PR/37669 from Andrew Doran.
2008-02-07 12:24:16 +00:00
yamt
cb964fe917 uvm_uarea_init: make #if about PR_NOALIGN clearer and add a comment
to explain it.
2008-02-07 12:21:24 +00:00
ad
f23e4dd8ed sonewconn: inherit FNONBLOCK from the parent. 2008-02-07 12:14:43 +00:00
martin
035ac59527 Make it compile w/o INET6 2008-02-07 08:48:16 +00:00
agc
5a37868bfa Define the version of the FUSE ABI we're working with specifically.
Don't hand all the argv options to fuse_main() - it's only interested
in the ones we haven't parsed ourselves.

These changes make the initiator compile and perform discovery successfully
on FreeBSD 6.3. Full login doesn't work yet due to a KSE related bug.
2008-02-07 07:33:37 +00:00
agc
5ca5718e92 Set a definitive FUSE ABI before including fuse.h, to avoid situations
where different operating ssystems default to different levels.
2008-02-07 07:21:15 +00:00
xtraeme
4f2a32a138 Remove neticp (network info commpage) stuff that dyoung added
accidentally to make this build again.
2008-02-07 04:44:21 +00:00
garbled
5532ebb058 Code to disable BAT use on cpu's that either don't have BAT's, or don't
gain any benefit from them.  This nets a small speedup on the POWER3, and
is probably needed for POWER5, which might not emulate BATs like the 3 does.
Also, thanks to Matt Thomas, who suggested re-using alitrap rather than
writing a new dsinobattrap that would have looked remarkably identical
when finished.
2008-02-07 03:20:16 +00:00