yamt
146e2f8297
sys__sched_setparam: use a correct lwp.
2008-02-18 02:00:08 +00:00
matt
c2b9622034
Don't need to that particular in mtprng_random(). Use 2 values instead of 8.
2008-02-17 22:49:11 +00:00
njoly
6d3975648f
Regen for pread/pwrite fixes.
2008-02-17 21:50:36 +00:00
njoly
fc9f8f74de
pread/pwrite fixes: use SCARG_P32 to access pointers, and update
...
syscalls definitions.
2008-02-17 21:49:17 +00:00
elad
0bb7f5ccb3
PR/37986: YAMAMOTO Takashi: any user can hog the all cpu with
...
_sched_setparam.
Pass proper context to kauth(9) for a decision to made based on the
scheduling policy and priority.
2008-02-17 19:22:35 +00:00
phx
55ec696662
Fixed compilation with DEBUG option for PMAP_OEA64_BRIDGE.
...
Approved by garbled.
2008-02-17 18:16:42 +00:00
bouyer
532742d958
The informations about console and store page number are long, so avoid
...
overflow on i386PAE when converting to machine address. Fix booting
XEN3PAE kernels when xen maps it above 4Gb.
2008-02-17 17:39:42 +00:00
bouyer
2720c9d6a3
Install xenio.h and xenio3.h in /usr/include/xen, for the benefit
...
of xentools3.
XXX ignore those in Makefile.ioctl-c, they don't compile properly outside
of the Xen context and the ioctls from xenio.h conflicts with
soundcard.h
2008-02-17 16:23:12 +00:00
bouyer
895da00e0d
Fix IOCTL_PRIVCMD_HYPERCALL issue which shows up with xen-3.1.3:
...
some hypercalls results are returned though the error path (depending on
sign, it's an error code or a result), and some results are interpreted in
a special way by the NetBSD kernel (e.g. -1).
Add a 'retval' member to the privcmd_hypercall_t argument, which holds
the hypercall result if it completed without error. The error code
is returned via the usual error path.
Handle the old IOCTL_PRIVCMD_HYPERCALL under COMPAT_40.
While there, make the double-inclusion protection #define match the
convention in xenio3.h and xenio.h.
2008-02-17 16:21:19 +00:00
bouyer
a9cd17640d
Add missing __KERNEL_RCSID()
2008-02-17 14:03:16 +00:00
uwe
67b202aca8
Use aprint_*, device_xname.
2008-02-17 06:03:13 +00:00
uwe
cf7d73cb17
hd64461_set_bus_width - use named constants instead of bit shift magic.
2008-02-17 05:38:30 +00:00
uwe
a01729fd26
Define constants for setting bus widths of physical space areas in BCR2.
2008-02-17 05:36:38 +00:00
uwe
45b20506a7
hd64461_info: Print correct full name for STBCR (s/system/standby/).
2008-02-17 04:10:45 +00:00
kiyohara
a69c196184
USER_SR defines 10, like prep.
2008-02-17 03:57:15 +00:00
kiyohara
a867585079
Interrupt setting of PCI from 3.1. In present interrupt, 32
...
BeInterruptController queues up following i8259(16).
2008-02-17 03:54:21 +00:00
macallan
4395e1dd05
use MTE for rectangle filling as well
...
TODO: figure out why the MTE freaks out when used for character drawing
2008-02-17 02:09:05 +00:00
macallan
d1dee12954
adjust some register names, also use MTE for scrolling down
2008-02-17 01:46:46 +00:00
macallan
eceb35ec40
use the memory transfer engine for scrolling when possible
...
currently that's only for scrolling upwards but the speedup should be very
noticeable
TODO: use MTE for erase rasops, figure out how to control the MTEs direction
2008-02-17 00:51:15 +00:00
jmcneill
cb2c90372d
Use aprint_* instead of printf during attach.
2008-02-16 23:26:05 +00:00
he
4d38f4204c
Reinstate an accidentally removed #if test, so that this builds again.
2008-02-16 22:02:15 +00:00
bouyer
cc046e71a2
Minor optimisation: for Xen amd64, copy to kernel map only the entries from
...
user map that are needed.
2008-02-16 22:01:16 +00:00
bouyer
43a668145e
Sync with GENERIC, add options ACPI_SCANPCI and MPBIOS_SCANPCI,
...
as well as commented out ACPI_ACTIVATE_DEV and ACPICA_PEDANTIC.
Should fix PR kern/37996.
2008-02-16 22:00:14 +00:00
ober
6235fe300c
More cleanup. Removal of debug comments.
2008-02-16 18:51:42 +00:00
matt
2bbccfb905
yyparse returns int, not void.
2008-02-16 18:29:39 +00:00
matt
63dd7847f0
Change incorrect usage of CFLAGS to CPPFLAGS
2008-02-16 18:27:48 +00:00
he
c8e663c5cb
Remove a now-superfluous & after the change to spc_lwplock in sched.h.
2008-02-16 18:17:36 +00:00
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