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
dholland
79ecfd8450
add note about gets()
2013-12-08 21:29:15 +00:00
dsl
e3332f3a4a
Rename the fields of 'struct envxmm' (itself badly named) so that they
...
are different from those used for the x87 fpu.
Use a union to describe the 64bit 'address' field so that it correctly
spilt for 32bit binaries.
The freebsd emulation defined its own 'struct freebsd_env87' that the
code just assumed matched the netbsd one.
Since this is a hardware structure, just use the netbsd one.
This shouldn't change the binaries except that 'en_fos' used to be
incorrectly a 32bit field.
2013-12-08 20:45:30 +00:00
dsl
7d3a3fd1aa
Remove the now-unused CPU_MAXMODEL and CPU_DEFMODEL
2013-12-08 18:08:34 +00:00
dsl
c4cd1a519d
Add some definitions for cpu 'extended state'.
...
These are needed for support of the AVX SIMD instructions.
Nothing yet uses them.
2013-12-08 18:00:51 +00:00
njoly
4aa28cc3f1
Regen.
2013-12-08 15:56:12 +00:00
njoly
7baf52cd9a
Sprinkle a few more linux_umode_t where appropriate.
...
Reduce diffs between archs.
2013-12-08 15:55:10 +00:00
njoly
d16d72eb65
Add missing syscall argument fd in comment.
2013-12-08 14:59:43 +00:00
palle
b11afb2f13
Add support for running ofwboot on sun4v. Please note that the kernel on sun4v will be loaded properly but when the kernel takes over it will crash immediately since the kernel is not sun4v ready yet
2013-12-08 14:41:28 +00:00
skrll
429fb24601
Mark rv as unused (for now)
2013-12-08 14:37:01 +00:00
martin
b558379e09
Cosmectic: use the same define in all places when referencing the BAR.
...
No functional change.
2013-12-08 11:32:51 +00:00
jdc
9949853838
Use a double linked list with a static head to track MMU entries.
...
Code from martin@.
Tested on SUN4 (4/330), SUN4C (SS2), and SUN4M (Krups, 4/630).
2013-12-08 10:12:39 +00:00
jnemeth
2098c8504e
For the add and resize subcommands, change the -s option. If there is
...
no suffix, or the suffix is 's' or 'S', size is in sectors (as before)
otherwise size is in bytes.
2013-12-08 09:32:51 +00:00
njoly
e767fbcf4a
Regen.
2013-12-08 08:55:27 +00:00
njoly
30c1ae2545
Add support for *at syscalls.
2013-12-08 08:54:48 +00:00
spz
7ae9a70dc6
more complete fix for Coverity issue 976653
2013-12-08 08:32:13 +00:00
jnemeth
e3e68bccc8
fix off-by-one error
2013-12-08 08:30:01 +00:00
msaitoh
d8338c13d3
regen.
2013-12-08 07:41:06 +00:00
msaitoh
a57568b8b9
Add devices of Atom S1200 series from the datasheet
...
(Table 2-1 Local PCI Hierarchy, datasheet Volume 2 of 2).
2013-12-08 07:40:37 +00:00