Commit Graph

156559 Commits

Author SHA1 Message Date
thorpej f6d76ae22a TRUE -> true, FALSE -> false 2007-02-22 16:45:48 +00:00
martin 536c90c755 uvm.page_idle_zero now is a bool, not a 32bit value any more. 2007-02-22 16:29:03 +00:00
tsutsui ae63cdb7c0 Fix lossage on bool changes. 2007-02-22 14:39:34 +00:00
tsutsui 5ad868e1e0 - use todr_[gs]ettime_ymdhms
- use bool
- some KNF
2007-02-22 14:04:01 +00:00
tsutsui 37c7309453 Fix lossage on bool changes. 2007-02-22 13:50:36 +00:00
tsutsui fb41918548 Remove garbage in previous. 2007-02-22 13:44:05 +00:00
dyoung fef0ee84d5 Cosmetic: remove extraneous () on return statements, break a line
in two, join lines, compare pointers with NULL instead of testing
their "truth."
2007-02-22 09:30:33 +00:00
dyoung fea99925e4 Cosmetic: use TAILQ_EMPTY, TAILQ_FOREACH. 2007-02-22 09:23:38 +00:00
dyoung c4e796de1c Cosmetic: use TAILQ_FOREACH(). Remove extraneous () from return
statements.
2007-02-22 08:52:57 +00:00
dyoung 09fc9f4d08 Cosmetic: use TAILQ_FOREACH(). Join lines. 2007-02-22 08:43:43 +00:00
dyoung d3f547d96d Cosmetic: use __arraycount. In ip6_input, move type of parameter
into parentheses.
2007-02-22 08:39:27 +00:00
dyoung bc99546f43 Reverse sense of preference numbers: prefer source addresses with
higher preference numbers.  Thanks to Mihai Chelaru for pointing
out my mistake.
2007-02-22 08:08:40 +00:00
dyoung 9111c8b6e3 Add net.inet.ip.selectsrc.default even if GETIFA_DEBUG is not
#define'd.
2007-02-22 07:33:48 +00:00
thorpej ae01c745cb TRUE -> true, FALSE -> false 2007-02-22 06:47:16 +00:00
thorpej 4f3d5a9cc0 TRUE -> true, FALSE -> false 2007-02-22 06:34:42 +00:00
thorpej 7cc07e11dc TRUE -> true, FALSE -> false 2007-02-22 06:16:03 +00:00
thorpej b3667ada6d TRUE -> true, FALSE -> false 2007-02-22 06:05:00 +00:00
matt ab5a292aa4 Fix another boolean_t -> bool 2007-02-22 06:04:06 +00:00
thorpej f5d6b882ad TRUE -> true, FALSE -> false 2007-02-22 05:46:28 +00:00
thorpej 16ed6645b5 TRUE -> true, FALSE -> false 2007-02-22 05:31:52 +00:00
matt c8513022b4 Fix more boolean_t -> bool lossage 2007-02-22 05:28:53 +00:00
thorpej 8b3bae6275 TRUE -> true, FALSE -> false 2007-02-22 05:19:00 +00:00
matt 21669a0d68 More boolean_t -> bool fixes 2007-02-22 05:18:29 +00:00
thorpej ab87c6666d TRUE -> true, FALSE -> false 2007-02-22 05:14:04 +00:00
matt 2e4c2c683e More boolean_t -> bool 2007-02-22 05:10:30 +00:00
thorpej cfc07219e4 TRUE -> true, FALSE -> false 2007-02-22 05:04:11 +00:00
matt 2d58947dff Add missing initializer for _tag_needs_count 2007-02-22 04:58:26 +00:00
thorpej b25aff5288 TRUE -> true, FALSE -> false 2007-02-22 04:47:27 +00:00
matt c40caef899 More boolean_t -> bool lossage. 2007-02-22 04:47:07 +00:00
matt 93feeb1203 Fix lossage from boolean_t -> bool and updated x86 bus_dma. 2007-02-22 04:38:02 +00:00
hubertf 1de6c4ec42 That one needs ctype.h, too (which was removed from the mrouted/defs.h
file for cleanup earlier today)
2007-02-22 01:29:35 +00:00
hubertf 64cd915703 Pull in ctype.h after it was removed from 'defs.h' in previous commit
to src/usr.sbin/mrouted.
2007-02-22 01:25:13 +00:00
rumble b8aa615905 Make this compile again. 2007-02-22 01:04:18 +00:00
thorpej dd962f8680 Pick up some additional files that were missed before due to conflicts
with newlock2 merge:

Replace the Mach-derived boolean_t type with the C99 bool type.  A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 23:48:10 +00:00
thorpej 712239e366 Replace the Mach-derived boolean_t type with the C99 bool type. A
future commit will replace use of TRUE and FALSE with true and false.
2007-02-21 22:59:35 +00:00
mrg fe8ace86aa shave 9 insns off the tsb setup in cpu_initialize & cpu_mp_startup. 2007-02-21 22:39:22 +00:00
ad 1296e8508f - Put detached & exiting threads on the tail of the deadqueue, not head.
- Don't forget to set PT_FLAG_DETACHED.
2007-02-21 22:31:38 +00:00
ad dacd4bd9ca Minor optimisation to previous: only check for continued existence of
the thread if it was detached.
2007-02-21 22:25:57 +00:00
martin 77468bf668 Minor cosmetic changes and optimizations. 2007-02-21 22:14:24 +00:00
hubertf 9c23f96c50 Move ctype.h from headers to files which really need it
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:14:07 +00:00
mrg 46deb749ba document bus_dmatag_subregion(9) and bus_dmatag_destroy(9). 2007-02-21 21:13:01 +00:00
hubertf ee68ca46c0 Remove unnecessary ctype.h from libexec/comsat/comsat.c file
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:06:26 +00:00
hubertf b5f80fa241 Move ctype.h header from defs.h to main.c where it's really used
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 21:01:10 +00:00
hubertf 5873860993 - Removed unused ctype.h header
- ANSI'fy
  - Removed __P() macros

From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:57:55 +00:00
hubertf e6603d3964 Remove unneeded ctype.h header
From: Slava Semushin <slava.semushin@gmail.com>
2007-02-21 20:53:59 +00:00
hubertf e730edb6a7 Be a good citizen and close files that are no longer used.
Also s/exit/return/;

Filedescriptor patch from Slava Semushin <slava.semushin@gmail.com>,
return-change and testing by me.
2007-02-21 20:45:27 +00:00
mrg 4410329b87 add a pair of new bus_dma(9) functions:
int _bus_dmatag_subregion(bus_dma_tag_t tag,
				  bus_addr_t min_addr,
				  bus_addr_t max_addr,
				  bus_dma_tag_t *newtag,
				  int flags)
	void _bus_dmatag_destroy(bus_dma_tag_t tag)

that allow a (normally broken/limited) device to restrict the bus address
range it can talk to.  this is used by bce(4) to limit DMA addresses to
1GB range, the maximum the chip can address.

all this is from Yorick Hardy <yhardy@uj.ac.za> with input from several
people on tech-kern.

XXX: bus_dma(9) needs an update still.
2007-02-21 20:41:23 +00:00
hubertf 4c60e998e1 pw_lock(3): ``You should finish writing to and close the file descriptor
returned by pw_lock() before calling pw_mkdb().'' While there, also
close another open file descriptor that's no longer used.

Patch from Slava Semushin <slava.semushin@gmail.com>, tested by me.
2007-02-21 20:32:10 +00:00
hubertf f2799c52e5 <ctype.h> is unused. What's still needed is <sys/cdefs.h> (which is
usually included at that place anyways).

From Slava Semushin <slava.semushin@gmail.com>.
2007-02-21 20:15:17 +00:00
martin e82df7e165 Get rid of unused (thus always zero) "curlwp" variable hidden in assembler
code (C code always uses a cpuinfo based macro).
2007-02-21 20:07:42 +00:00