Commit Graph

147488 Commits

Author SHA1 Message Date
tsutsui
eeb8ad7128 Use the same bus_space_barrier(9) macro with other mips ports to avoid
possible unused variable warnings.
2006-05-26 13:25:21 +00:00
tsutsui
a465c6b884 Tweak bus_space_barrier(9) macro to appease
"left-hand operand of comma expression has no effect"
warnings by gcc4.
2006-05-26 13:23:34 +00:00
jnemeth
62381dbddf Coverity CID 3785: calling fclose() twice on same file pointer
Coverity CID 3780: dereference of NULL pointer
Approved by: christos@
2006-05-26 13:21:47 +00:00
blymn
a88dd3436a Clean up bogus whitespace 2006-05-26 12:52:45 +00:00
blymn
6b8a344329 Clean up bogus whitespace 2006-05-26 12:39:31 +00:00
drochner
f5015685d4 mention error return value, like getrawpartition(3) 2006-05-26 12:36:59 +00:00
blymn
44278a4fa1 Clean up bogus whitespace 2006-05-26 11:52:08 +00:00
jnemeth
305a7bfee2 In bincvt() use fdopen() on the fdesc returned by mkstemp(), instead
of fopen().
2006-05-26 11:45:31 +00:00
jnemeth
693e9aec19 Coverity CID 2977: failed to check for error return from ftell() 2006-05-26 11:13:20 +00:00
jnemeth
e10c71d2be Coverity CID 3685: memory leak
While here, check for failure to create temp file in bincvt() and close
unused file descriptor.

XXX bincvt() should be rewritten to use fork()/exec() instead of system().
2006-05-26 10:59:58 +00:00
jnemeth
1124e30e6e Coverity CID 3027: possible dereference of NULL pointer.
Also don't bother zero'ing memory immediately before reading the
.SYS file into it and check for errors while reading the file.
2006-05-26 09:25:27 +00:00
pavel
3b5ae171d2 New linker scripts for the i386 kernel. The main improvement is setting the
physical load address correctly. (Before, it was set to the same very high
value as the virtual address.)

Provided by Jason Thorpe in
http://mail-index.netbsd.org/port-i386/2006/02/10/0008.html
with some modifications by me, mainly to make the output more similar to
the current one, and to not hardwire the physical and virtual addresses.

See also:
http://mail-index.netbsd.org/port-i386/2006/05/19/0001.html

Now an unpatched grub can load a NetBSD Multiboot kernel.
2006-05-26 09:22:42 +00:00
jnemeth
14902917f6 Remove redundant check for end of list wrapping around on itself.
It this were to actually happen, then others parts would go into
infinite loop.  Also, fix KNF.  Found while checking Coverity
CID 3784.
2006-05-26 02:16:17 +00:00
uebayasi
b5775a5a4f Expose struct pool::struct callback_entry pr_reclaimerentry only when _KERNEL
is defined.  Fix build of src/sbin/mount/mount_tmpfs/mount_tmpfs.c.
2006-05-26 00:26:12 +00:00
cube
ac24e16176 Introduce two new statements:
obsolete defflag <option> [, <option> [, ...]]
    obsolete defparam <option> [, <option> [, ...]]

The two statements actually do the same thing (there could be only one),
but it makes things less cryptic that way.  The optional ": deps" part of
a 'defflag' or 'defparam' still has to be dropped when it gets obsoleted.

When the user has 'options OBSOLETE_OPTION' in his configuration file, it
is ignored (that is, opt_*.h files are generated as if it wasn't there),
and the user gets a warning about it.

Bump version to 20060525.

When someone first uses that syntax in the tree, a "version 20060525"
statement should be added before its occurrence, preferably at the top
of sys/conf/files.

Suggested by Matt Thomas a few months ago.
2006-05-25 22:28:38 +00:00
christos
fc19b961ac s/vax/__vax__/ 2006-05-25 22:06:53 +00:00
bouyer
bc93583ffe If we're going to byteswap fields in the TCP header, make sure the mbuf
area is writable first.
2006-05-25 21:49:19 +00:00
jnemeth
0b1276d17c Coverity annotation 2006-05-25 21:43:40 +00:00
bouyer
df9be102c5 Make sure the mbuf is writable before trying to write to it. 2006-05-25 21:33:12 +00:00
bouyer
ad55d247de Make the mbuf writable before calling in6_clearscope(). Based on patch sent
by David Young on tech-kern.
2006-05-25 21:32:47 +00:00
bouyer
5eda3c3cab Use xen_shm_* to map the packet sent to us by the domU, and attach it
as external storage to the mbuf.
2006-05-25 21:28:38 +00:00
bouyer
159a19cf73 Always include xen_shm_machdep.c for Xen3, theorically a domU could also
provide backend services to other domains.
2006-05-25 21:27:40 +00:00
bouyer
d1d1596e1e Convert xen_shm_map() and xen_shm_unmap() to the Xen3 grant table
interface.
2006-05-25 21:26:20 +00:00
agc
8a1a8b8c5c Include compat.h for the definition of uuid_t, in the case where we don't
have it from <uuid.h>
2006-05-25 19:41:06 +00:00
christos
7d40b7b07f Coverity CID 830: Fix dead code issue 2006-05-25 15:32:17 +00:00
christos
d49dbefade Coverity CID 3783: Fix uninit variable. 2006-05-25 15:27:35 +00:00
liamjfoy
14c608becb remove a little white space 2006-05-25 15:22:05 +00:00
freza
cf3f32f664 Add myself to the list of developers. 2006-05-25 15:07:08 +00:00
yamt
c24f70bcad move wait points for kva from upper layers to vm_map. PR/33185 #1.
XXX there is a concern about interaction with kva fragmentation.
see: http://mail-index.NetBSD.org/tech-kern/2006/05/11/0000.html
2006-05-25 14:27:28 +00:00
yamt
67c564ace6 sa_upcall_userret: yield cpu on stack starvation so that it's
killable at least.  PR/28612 from ITOH Yasufumi.
2006-05-25 14:13:29 +00:00
blymn
1e545a5a2b Include kauth header for function prototypes
Whitespace cleanup.
2006-05-25 11:24:00 +00:00
blymn
3018e35533 Add kauth header for function prototypes
Whitespace clean up.
2006-05-25 11:23:11 +00:00
wiz
cb3fc8886b \- is a minus. 2006-05-25 10:56:08 +00:00
mrg
a4337fd012 update the uninit list 2006-05-25 09:05:40 +00:00
mrg
5f6c58ab32 apply a few casts to quieten GCC4. 2006-05-25 09:04:37 +00:00
dan
f96b430610 read config more strictly, from Maximillian Dornseif 2006-05-25 07:11:54 +00:00
gdamore
60a298a64e Rename flash to athflash to reflect MD nature. Approved by simon@ and dyoung@ 2006-05-25 06:37:47 +00:00
gdamore
fef1104692 Rename MD flash to athflash to avoid confusion. This only renames the major
number.  The driver itself still needs to be done as well. :-)
2006-05-25 06:29:21 +00:00
rpaulo
4ac8517cec wpa_supplicant 0.4.9. 2006-05-25 04:10:09 +00:00
rpaulo
b28216dab7 Resolve conflicts for wpa_supplicant 0.4.9 import. 2006-05-25 04:07:22 +00:00
rpaulo
ed48ac28e7 Import of WPA supplicant 0.4.9 2006-05-25 04:01:24 +00:00
rpaulo
605de1ab8d hostapd 0.4.9 2006-05-25 03:58:30 +00:00
rpaulo
62355884c5 Import of hostapd 0.4.9 2006-05-25 03:53:38 +00:00
gdamore
473eede9de Add flash device support. 2006-05-25 03:19:43 +00:00
christos
e4dddba9c6 typo s/fp/fpw/ 2006-05-25 03:17:43 +00:00
gdamore
0a959690d5 Add RBLE bit to flash enable. 2006-05-25 03:17:36 +00:00
christos
862f4856b8 typo s/fp/fpw/ 2006-05-25 03:17:26 +00:00
gdamore
1f55482fd5 Add major number for flash device. 2006-05-25 03:16:29 +00:00
christos
cc17521d3c Coverity CID 2959: Check before deref dammit. 2006-05-25 03:03:39 +00:00
christos
785022eb47 Coverity CID 2984: Static array overrun. 2006-05-25 03:02:25 +00:00