Commit Graph

166993 Commits

Author SHA1 Message Date
matt
aacb8057fd lfs_sb_cksum returns a uint32_t, not a u_long 2008-02-16 17:58:43 +00:00
matt
6a2c9c06cc Fix some inconsisent/conflicting definitions and missing parameters 2008-02-16 17:58:01 +00:00
matt
f664ab11b6 Change incorrect usage of CFLAGS to CPPFLAGS 2008-02-16 17:56:36 +00:00
matt
04686d0e18 yyerror returns void, not int 2008-02-16 17:56:11 +00:00
tnn
26fe2af07d minor pedanticism about glibc. Suggested by Joerg. 2008-02-16 17:45:39 +00:00
apb
267197ec1e For all files under src/common, as well as related man pages under
src/lib/libc, or related headers under src/sys/sys: change u_intNN_t to
uintNN_t.
2008-02-16 17:37:13 +00:00
apb
cf01a0f8c8 C99 is no longer "very recent". Adjust a comment accordingly, and
start using uintNN_t instead of u_intNN_t in the definitions of
sha2_{byte,word32,word64}.
2008-02-16 17:15:32 +00:00
elad
e99760e7e4 Fold KAUTH_REQ_PROCESS_SCHEDULER_* to KAUTH_PROCESS_SCHEDULER_*. In other
words, don't pass an action and a request, and just use a single action to
indicate what is the operation in question.

This is the first step in fixing PR/37986, which calls for policy/priority
checking in the secmodel code. Right now we're lacking room for another
parameter required to make a decision, and this change makes room for such.
2008-02-16 16:39:34 +00:00
apb
75e064ab6b Don't mention <machine/int_fmtio.h>; code should just
include <inttypes.h> to get intmax_t, PRIdMAX, and friends.
2008-02-16 14:22:16 +00:00
matt
156e0dc02f scnkey is const char [][HEIGHT], not char [][HEIGHT] 2008-02-16 07:33:25 +00:00
matt
33ffa22643 cksum returns uint32_t, not u_long 2008-02-16 07:32:22 +00:00
matt
de8753b3b0 cmdtab is supposed to be const. 2008-02-16 07:31:13 +00:00
matt
80d082b8df Change/fix tsptype to const char * const []; 2008-02-16 07:30:15 +00:00
matt
1cbe81874e Change inappropriate use of CFLAGS to CPPFLAGS. 2008-02-16 07:27:29 +00:00
matt
05f7d79518 Fix incorrect prototype. 2008-02-16 07:26:54 +00:00
matt
f09665b707 Fix inconsistent prototype. Do some constification. 2008-02-16 07:26:00 +00:00
matt
435b563099 Add build_header.h to DPSRCS 2008-02-16 07:24:36 +00:00
matt
71217509be Change incorrect use of CFLAGS to CPPFLAGS. 2008-02-16 07:23:37 +00:00
matt
d8485be816 Fix numerous inconsistent variable declaration. Resulting in some minor
constification.
2008-02-16 07:20:54 +00:00
matt
2b18923184 siginfocodename returns const char *, not char *. 2008-02-16 07:19:23 +00:00
matt
34d8567b7b Add ${PROG}-ioctl.c to DPSRCS 2008-02-16 07:17:58 +00:00
matt
4ac975fb16 Add siginfo.c to DPSRCS 2008-02-16 07:17:31 +00:00
matt
3b1e7dbd0b Fix more -combine fallout. (mismatched definitions) 2008-02-16 07:16:01 +00:00
dyoung
c4923ea4ad Document -l, -Q, -R, and -S. 2008-02-16 02:00:37 +00:00
ad
99f27439b5 Implement yield(). 2008-02-15 23:36:26 +00:00
jmcneill
f92d4497eb Add missing register definitions. 2008-02-15 22:14:10 +00:00
christos
a686e4e754 back all changes out until I fix it properly. 2008-02-15 21:29:50 +00:00
christos
4b3df4502b Improve dh's fix:
- make sure i is initialized
	- don't subtract 1 in comparison, add 1 to the other side
2008-02-15 20:08:11 +00:00
matt
4498b1fe25 Fix inconsistent definitions 2008-02-15 17:26:06 +00:00
elad
d6faea9863 Allow no signatures file to be specified for the "load" command, and use
the default one in such cases.

Update command usage and documentation to reflect the above.
2008-02-15 15:33:56 +00:00
ad
fb00b83874 Give bbusy() an interlock argument. If the we need to wait for the buffer,
the interlock is dropped and reacquired when awoken. This allows for
busying buffers attached to a list that is not locked by bufcache_lock.
2008-02-15 13:46:04 +00:00
ad
b2fa822a33 The buffer LOCKED flag need not be under the protection of bufcache_lock,
BUSY is enough.
2008-02-15 13:30:56 +00:00
gson
f3b879c064 Fix unaligned write to PCI configuration space. Should fix PR kern/37824. 2008-02-15 13:28:25 +00:00
ad
b0dbb911e1 Regen. 2008-02-15 13:10:23 +00:00
ad
653195d46d Mark mount/unmount MPSAFE. PR kern/38034. 2008-02-15 13:09:57 +00:00
ad
74d14c2433 Add dummy hardclock_ticks. 2008-02-15 13:07:02 +00:00
ad
13df0c89b3 vflush: yield at least every 100ms. PR kern/38034. 2008-02-15 13:06:02 +00:00
tsutsui
00bd6f7500 Remove obsolete platform support options. 2008-02-15 12:28:09 +00:00
skrll
4cfa0739ca Cast via (uintptr_t) in RAS_ADDR to deal with hppa RAS_DECL weirdness. 2008-02-15 09:50:40 +00:00
he
75194e6a79 Typo correction: s/than/that/ in one instance. 2008-02-15 09:24:52 +00:00
dholland
cb84a8637d fix typo in comment 2008-02-15 09:18:56 +00:00
dholland
a9c8da72a1 Avoid SIGSEGV caused by signed/unsigned mismatch. (hi xtos) 2008-02-15 08:55:31 +00:00
uwe
16d9a389fe sh4_switch_resume: Now that r2 is free use it to keep SH4_PTEH to
avoid re-fetching it uncached while running on P2.
2008-02-15 04:37:37 +00:00
uwe
cbd01ac88b Prettify sh4_switch_resume - <TAB> between operands only makes the
code hard to read as any intdended "neatly lined up" effect is
destroyed by long label names anyway.

G/c unused SH4_ITLB_AA.

No functional change.
2008-02-15 04:11:08 +00:00
uwe
1e93965e99 Use dt instruction for the loop, free r2 we used as a counter. 2008-02-15 04:03:17 +00:00
uwe
b5a1661b3f sh4_switch_resume: don't jump back to P1 b/c we are going to return
immediately after that anyway and our caller is in P1.

Besides we were not switching to P1 anyway, b/c mova is pc-relative so
without additional arithmetic we were still jumping to a P2 address.
2008-02-15 03:52:15 +00:00
uwe
10bd77c376 We don't need to/can't wire u-area if we use P1_STACK.
Not actually tested the P1_STACK case, but I guess it was never tested
on SH4 anyway (it would write garbage to TLB).  It used to work on SH3
b/c "wiring" was done using curupte hack and that was just an
innocuous pointer update.
2008-02-15 03:16:10 +00:00
uwe
2a753fff49 G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.
sh3_switch_setup() has nothing to do now so don't bother calling it.
2008-02-15 03:02:43 +00:00
uwe
5130d8b2db G/c vestiges of curpute hack that was obsoleted by the fast TLB miss handler.
sh3_switch_setup() has nothing to do now.
2008-02-15 02:55:57 +00:00
christos
e654b454bc remove error/noerror const 2008-02-15 02:50:53 +00:00