Commit Graph

142791 Commits

Author SHA1 Message Date
martin
f6234a13ab Do not access out of bounds argv when mixing non-getopt -<digit> arguments
with regular getopt-handled options.
Fixes PR bin/32596.
2006-01-22 15:24:38 +00:00
tsutsui
00d4bf02ec Do ${MAKESUMS} for miniroot image. 2006-01-22 14:46:45 +00:00
tsutsui
76dc80af73 Do ${MAKESUMS} for install floppies. 2006-01-22 14:42:34 +00:00
dsl
37bad86d4f Add an explicit -I for sys/lib/libsa so that we find the <iodesc.h>
requested inside sys/lib/libsa/net.h
This used to be "iodesc.h" but another build needs to override it with
a local copy.
2006-01-22 09:17:14 +00:00
uwe
43f9c9c93e Use bsr instead of mova+jsr. 2006-01-22 06:25:25 +00:00
uwe
c4ef153e79 LINTSTUBs. 2006-01-22 06:08:51 +00:00
uwe
c5b4a6c241 Use macros from <machine/asm.h>. Provide .size
Provide LINTSTUBs.
2006-01-22 05:56:58 +00:00
uwe
897e70ab5c Provide .size 2006-01-22 05:16:58 +00:00
uwe
7bff50c8fd LINTSTUBs. 2006-01-22 05:14:02 +00:00
uwe
a881c52408 Rewrite to support LINTSTUB in multiline comments.
Be more flexible in what we accept as a valid LINTSTUB directive.
Don't abort on first error.

Separate LINTSTUB comments look ugly if the function/variable already
has a descriptive comment.  People don't like to write ugly code.
Now one can write:

/*
 * LINTSTUB: Func: type function(args)
 *    Some descriptive comment about the function.
 */
2006-01-22 05:11:11 +00:00
uwe
adcd5c2d11 db_show_sched_qs: fix pointer cast lint considers troublesome. 2006-01-22 01:08:50 +00:00
uwe
19707b27a5 Add /l to show all procs usage. 2006-01-22 00:50:51 +00:00
uwe
91321511a9 This is not IOCCC. Replace " >"[cp == p] with conditional expression.
Makes lint happy.  Probably generates better code too (does on sh3).
2006-01-22 00:47:50 +00:00
wiz
7e91ac6596 Sort SEE ALSO. 2006-01-22 00:33:27 +00:00
wiz
5e86832ad4 Drop trailing whitespace. Remove superfluous .br. 2006-01-22 00:32:54 +00:00
christos
8918ce44a0 Default to 2 drives for products not listed. 2006-01-22 00:08:38 +00:00
wiz
e5337b60a4 Drop trailing whitespace. 2006-01-21 23:40:30 +00:00
wiz
ebc97249c0 Capitalize PostScript correctly. Bump date for previous. 2006-01-21 23:36:31 +00:00
wiz
2d00c446d6 Bump date for previous. 2006-01-21 23:34:45 +00:00
wiz
186c108f3c Use .Aq instead of <>. 2006-01-21 23:33:21 +00:00
uwe
131f43967d pfckbd_input: make edge and mask unsigned ints to avoid lint warning
about obscure semantics change in ANSI C.  Saves one extu.w too.
Move edge assignment out of if conditional expression.
2006-01-21 23:16:57 +00:00
uwe
4c693ad431 Use C99 __func__ instead of gcc __FUNCTION__ to make lint happy. 2006-01-21 22:55:34 +00:00
uwe
722d3e38c8 CONSTCOND. 2006-01-21 22:10:59 +00:00
chs
2933005205 avoid checking if an unsigned number is less than 0. fixes PR 29948. 2006-01-21 19:28:44 +00:00
dsl
363c3a143d Check the 'job_pipe' for the error token 'E' before every job, including
the first one for each make.  This significantly speeds up the detection
of errors in other branches of the make (ie those running in a different
make process).  The cost of reading and writing a byte from the pipe
should be insignificant.
Defer replacing job tokens until we've decided there is an error.
If we detect an error in another branch of the make, then call Fatal(),
setting 'aborting' and failing to return a token leads to infinite loops.
Now parallel makes actually stop with the failing command on the screen.
2006-01-21 19:18:37 +00:00
dsl
0f1b985d1a Add .MAKE to all targets that use ${MAKEDIRTARGET} otherwise make closes
the job-token pipe and the sub-makes have their own '-j n' processes.
As well as giving unexpected parallelism, it makes it impossible to stop
the build promptly on errors.
2006-01-21 19:01:15 +00:00
matt
7db3afd210 Fix u_int64_t -> uint64_t stragglers. 2006-01-21 18:57:45 +00:00
bouyer
891dda192c Update pciide at pnpbios to work with the last changes to wdc(4), especially
the deferral of drive probe.
Patch tested by James Haggerty, should fix kern/23192.
2006-01-21 18:37:40 +00:00
elad
7402304bc3 add SAD, SPD. 2006-01-21 15:19:20 +00:00
elad
b56478d644 add PFS. 2006-01-21 15:05:24 +00:00
reinoud
0071238956 Propagate an appropiate error code in nestiobuf_iodone() to the master
buffer when the passed nested buffer has no B_ERROR flag set but not all
was transfered for the nested iobuf extent.

Discussed on tech-kern and ok'd by Takashi
2006-01-21 14:09:35 +00:00
elad
a0983a83f6 add DPD. 2006-01-21 13:49:35 +00:00
yamt
e8e7ab8637 implement compat_linux mremap. 2006-01-21 13:34:15 +00:00
yamt
651bed2a01 - uvm_fault: move a common code of 1B and 2B to a new function.
don't attempt to allocate anons with kernel_map locked.  PR/32543.
- amap_copy: add an assertion.
2006-01-21 13:13:07 +00:00
yamt
5865f6ed1d uvm_map_replace: remove a wrong comment. 2006-01-21 13:10:41 +00:00
simonb
e37b3f410c Use 64-bit arithmetic to calculate fragsperinodeblk, avoiding 32-bit
overflows for large values of "-i bytes-per-inode".
2006-01-21 12:32:14 +00:00
dsl
09d4a5d5c8 Izumi Tsutsui pointed out that we don't need vfslist.c (from ../mount)
if we are defining SMALL.
2006-01-21 11:59:53 +00:00
yamt
7273d6e313 whitespace. 2006-01-21 10:55:56 +00:00
dsl
8d95ea8400 Remove COMPAT_10..COMPAT_16, KERNFS, attimer, pcppi and 'le at pci'
Re-instate st
KERNFS was there for dmesg! but the program is smaller
IIRC attimer and pcppi are only used for beeps
The pcn driver does a better job than le.
2006-01-21 10:38:04 +00:00
dsl
3dd504cd3b Set -DSMALL if SMALLPROG defined - ie building install ramdisk images.
Removes the code that uses rpc to query remote systems about nfs mounts.
The last references to the xdr routines escape - saving 64k+
2006-01-21 10:34:32 +00:00
dsl
a16ca1845f Use the rpc code from sys/lib/libsa to determine the root file handle.
Saves the code from depending on the xdr functions.
Tested on i386 and IPv4, may need tweaking for IPv6 and using TCP for the
portmap/mount functions.
2006-01-21 10:32:23 +00:00
dsl
05b5a4b77a Adjust code so that it will work when _STANDALONE isn't defined.
Allows it to be used for mount_nfs when SMALL is set - eg install floppies/
2006-01-21 10:06:06 +00:00
fvdl
4cc8486856 GDT data and code entries for 32bit mode should use VM_MAXUSER_ADDRESS32 2006-01-21 09:54:53 +00:00
kleink
ce1abcb4d5 zoneinfo/SystemV is gone; forgot to commit this with tzdata2005r. 2006-01-21 09:54:03 +00:00
dsl
1253e7b15e Remove mount_kernfs and mbrlabel.
The kernfs filesystem is no longer in the install kernel, and the mbrlabel
is not needed because the kernel will generate a disklabel from the mbr
information.
2006-01-21 09:22:10 +00:00
uwe
530e77af35 Use foo &= ~(type)mask; instead of foo &= (type)~mask; to make lint happy.
While here, convert to uintN_t.
2006-01-21 04:57:07 +00:00
uwe
ffc34314e2 Add lint comments. Hide computed goto in cpu_reset() from lint.
Remove infinite loop from cpu_reset(), gcc accepts computed goto as
the sign that function never returns.
2006-01-21 04:26:56 +00:00
uwe
a1695713e9 Declare cpu_reset as __attribute__((__noreturn__)). 2006-01-21 04:24:12 +00:00
uwe
2f21a084a1 ANSI'fy. 2006-01-21 04:12:22 +00:00
uwe
d0928cda19 Lintable no-ops for LOCKDEBUG macros. 2006-01-21 03:57:48 +00:00