Commit Graph

223035 Commits

Author SHA1 Message Date
wiz
8883725705 Reinstate typo since kre claims it's by purpose.
Discussion in PR 48442.
2013-12-11 11:52:27 +00:00
wiz
5b306c5f1f Error and typo fixes from OpenBSD and FreeBSD via Henning Petersen
in PR 48443.

While here, remove a duplication, fix another typo, and
don't claim that Mr. Sheperd was the first man in space.
2013-12-11 11:33:49 +00:00
wiz
f309df15dc Error and typo fixes from OpenBSD and FreeBSD via Henning Petersen
in PR 48442.
2013-12-11 11:24:56 +00:00
pooka
ef738750b7 reregengen 2013-12-11 09:45:01 +00:00
pooka
e69be3f980 create rump kernel wrapper for utrace() too 2013-12-11 09:40:56 +00:00
matt
7118e2b334 Make sure the __CTOR_LIST__ is just aligned to a pointer boundary.
By default, mips N32 will aligned to a 64-bit boundary not 32-bit
which causes an extra NULL entry to be added.
2013-12-11 06:55:24 +00:00
dholland
473e706d2d Remove entirely bogus /* NOTREACHED */ annotation. 2013-12-11 06:00:11 +00:00
msaitoh
7abb5a02b6 Make new function named tsc_is_invariant() to avoid code duplication.
The behavior of acpicpu_md_flags() will change on some CPUs because
the detecting code of invariant TSC is replaced with newer code.
2013-12-11 02:14:08 +00:00
joerg
75a5993e4d Moved to src/common. 2013-12-11 01:29:29 +00:00
joerg
aceb213538 Allow kernel code to access constant databases by moving cdbr(3) and the
required mi_vector_hash(3) into src/common.
2013-12-11 01:24:08 +00:00
christos
2c96d15abe CID 1135779: Fix resource leak 2013-12-10 20:58:45 +00:00
dsl
990e5659dc Add a few comments about some perversities of the xhci specification.
XXX: I can't see any code that ensures there is space in the rings.
XXX: Nothing stops buffer fragments crossing 64kB boundaries.
2013-12-10 19:39:42 +00:00
christos
9c43792b5f CID 975205: Unchecked return value 2013-12-10 18:20:32 +00:00
bouyer
0700bebfda Fix bad cut'n'paste in previous commit.
This should fix the remaining loogson build issues.
2013-12-10 18:15:43 +00:00
macallan
ccab43d8c7 shut up an unused variable warning that shows up in UP kernels 2013-12-10 17:24:47 +00:00
joerg
6b39b5ec99 Move alignment attribute onto the types, not the variable instances.
Drop (unused) packed attribute.
2013-12-10 16:30:36 +00:00
njoly
b5db486fb6 Regen. 2013-12-10 14:55:07 +00:00
njoly
2882c93e6b Add *at() syscalls like other arches. 2013-12-10 14:54:36 +00:00
riz
9d05585a8d Fix the build setlists for MKLINT=yes + MKRUMP=yes 2013-12-10 01:09:31 +00:00
jnemeth
53733ab887 Explicitly state which partition was added/modified. 2013-12-10 01:05:00 +00:00
pooka
4bb2a888c3 regen 2013-12-09 21:13:21 +00:00
pooka
8dd50f0fc0 one newline is enough 2013-12-09 21:12:45 +00:00
pooka
cb1b7ccb56 need string.h now for !_KERNEL 2013-12-09 21:11:15 +00:00
pooka
6cddbc313d Now that Makefile.rump is included here first, do not override any
SRCS it adds.  This is required for linksyms_sun.c used when linking
with the Solaris linker.
2013-12-09 20:44:00 +00:00
pooka
7b1b5f1abc Reenable calls to KPREEMPT_EN/DISABLE(). I'm almost certain I commented
them out accidentally in rev 1.30.

... not that they do much in rump kernels which are always
run-to-completion, but maybe there's some driver debugging value.
2013-12-09 19:47:59 +00:00
pooka
e5b8d78b8e regen 2013-12-09 19:31:36 +00:00
pooka
5335d68dd3 include ktrace constants 2013-12-09 19:31:00 +00:00
pooka
a32f91a34e regen 2013-12-09 19:19:39 +00:00
pooka
d5af12a417 Initialize the syscall "frame" to 0 before setting parameters.
Otherwise things which treat syscall parameters as register_t (like
ktrace) will encounter garbage for parameters which are of smaller size
than register_t.  Using memset is probably not the most optimal way,
but oh well.
2013-12-09 19:18:52 +00:00
pooka
3d49ec1a72 As long as we're using #ifdef to decide which stubs get generated, might
as well use __strong_alias instead of __weak_alias.  Some toolchains
such as the cygwin pecoff one get weak aliases a bit wrong, so avoiding
unnecessary weak alises helps there.
2013-12-09 18:06:27 +00:00
pooka
0ba40768c8 Make ktrace a compile-time option 2013-12-09 17:57:11 +00:00
pooka
a7d2aa0550 include necessary headers 2013-12-09 17:43:58 +00:00
dsl
63182a7c15 Include machine/npx.h here.
The only file that needs 'struct freebsd_save87' includes it already.
2013-12-09 17:39:53 +00:00
pooka
2f027c575e regen 2013-12-09 17:15:11 +00:00
pooka
c21ebec4d0 Create rump kernel wrappers for {f,}ktrace 2013-12-09 17:13:17 +00:00
pooka
33ab42bca0 make !LOCKDEBUG work too 2013-12-09 17:03:41 +00:00
pooka
f4f26b55de need ktrace.h now 2013-12-09 16:56:11 +00:00
pooka
5624f8eb6b Support ktrace for rump kernels.
Requested by Justin Cormack on rumpkernel-users.
2013-12-09 16:54:20 +00:00
pooka
9737cfdd2b Group more syscall related routines together (kern_subr -> kern_syscall) 2013-12-09 16:49:43 +00:00
pooka
b4e2514736 Put vfs bits of ktrace into kern_ktrace_vfs.c per convention. 2013-12-09 16:45:23 +00:00
pooka
a639bb644d regen 2013-12-09 16:35:12 +00:00
pooka
1aff7d0261 Echo generated file names so that you can just copypaste & cvs ci
without having to resort to the blazingly fast help of cvs diff.
2013-12-09 16:32:06 +00:00
pooka
f5fe7e313f Rump kernels now use sy_invoke(), which initializes the return
value registers, so no need to do it individually in each wrapper.
2013-12-09 16:27:15 +00:00
pooka
257a0d4d1f Use sy_invoke() instead of sy_call() directly. 2013-12-09 16:23:10 +00:00
pooka
afc932bfaa stop ktrace at process exit 2013-12-09 16:21:15 +00:00
wiz
d860f590d4 Fix typo ("then" instead of "than") 2013-12-09 09:35:16 +00:00
wiz
918b300e20 Fix typo. 2013-12-09 09:22:44 +00:00
dsl
8acb81ad2b Missing change to the fxsave structure rename 2013-12-09 08:33:48 +00:00
jnemeth
1cb2b94165 Add two new subcommands, "set" and "unset". These were inspired by
FreeBSD's gpart(8), but the code is all mine.  The purpose of these
is to set and unset partition attributes.
2013-12-09 08:03:17 +00:00
jnemeth
66ad0e75ae For the "show -i <entry>" subcommand, print Start and Size both in
terms of number of sectors and bytes.
2013-12-09 01:35:02 +00:00