pooka
c36d22e278
g/c unused
2013-04-29 19:52:35 +00:00
pooka
db67830aab
g/c unused
2013-04-29 19:31:46 +00:00
christos
c815c6cad1
don't build in kernel build.
2013-04-29 18:17:53 +00:00
christos
6f6539d46a
don't compile the for kernel
2013-04-29 18:06:59 +00:00
pooka
86c3d1928f
Make rumpuser_dl_bootstrap() optional for platforms which don't
...
provide dynamic linking.
2013-04-29 18:00:19 +00:00
mlelstv
e976afb5c5
Identityfile warnings fixes.
...
https://bugzilla.mindrot.org/show_bug.cgi?id=2084
2013-04-29 17:59:50 +00:00
pooka
4e4a345910
remove accidentally committed bit
2013-04-29 17:35:04 +00:00
pooka
810cff61f8
Replace the various "get info from hypervisor" interfaces with one
...
unified rumpuser_getparam(), and make it return a plist. The
contents can come e.g. from the env or a config file. Make
identifiers starting with an underscore denote system identifiers
which must be implemented by hypervisor. (yea, j/k about the plist bit)
2013-04-29 17:31:05 +00:00
pooka
25df76591e
The fsync hypercall is now used only with close, so get rid of it.
...
rumpuser_bio() should do the necessary syncing.
2013-04-29 15:40:38 +00:00
pooka
9dda4d8626
Give private hypercalls the ability to meddle with kthread contexts too.
2013-04-29 15:20:05 +00:00
wiz
8c8aca7175
gdb-7.6 out.
2013-04-29 15:05:35 +00:00
pooka
a15e077982
Create a kernel thread context for the bio upcalls.
2013-04-29 14:54:03 +00:00
pooka
e43fbdb36d
remove routine not meant to be committed
2013-04-29 14:53:32 +00:00
pooka
5af3856aee
Make the rump kernel upcalls which were previous available only to
...
the sysproxy module available for the entire hypervisor.
2013-04-29 14:51:39 +00:00
skrll
fbdbf5f7cb
Fix PR/47123 for hp700 as well
2013-04-29 14:42:11 +00:00
wiz
c3c24d432a
Remove trailing whitespace.
2013-04-29 14:19:48 +00:00
pooka
b1faa6dff5
regroup calls a bit and sprinkle comments
...
no functional change for a change
2013-04-29 14:07:01 +00:00
pooka
f134f09680
set default bio mode to threaded
2013-04-29 13:57:46 +00:00
pooka
17b3a6d03d
unschedule around blocking i/o
2013-04-29 13:53:46 +00:00
kiyohara
4f684b65cc
Add WS{DISPLAY,KBD}_TYPE_* for epoc32.
2013-04-29 13:39:47 +00:00
rkujawa
7b2fe77e42
Add info about LDOs and DCDCs in TPS65217.
2013-04-29 13:28:55 +00:00
pooka
831d6eeb05
RUMPUSER_OPEN_DIRECT is no longer necessary
2013-04-29 13:21:03 +00:00
pooka
696d8241ab
changes to bio hypercalls, part 3/n:
...
retire the filemmap/memsync hypercalls, they're no longer used
2013-04-29 13:19:11 +00:00
pooka
22f4b7d3e7
add a private hypercall to map the bus into memory
2013-04-29 13:17:32 +00:00
pooka
fa838a2e53
rework bio hypercalls, part 2:
...
Nuke all the policy hacks (r/w, mmap, directio) from the paravirtualized
block driver and let the hypervisor decide how it wants to optimize
the I/O. It can prepare for this based on if a file is opened with
the RUMPUSER_OPEN_BIO flag.
mmap was not faster than r/w except in a niche case (yes, it made a
good measurement), and directio was never on by default since
it was tricky at best to decide on the kernel side of things if
directio will do the right thing.
2013-04-29 13:07:37 +00:00
skrll
25da020250
Remove a hack.
2013-04-29 12:59:55 +00:00
pooka
262a3aaf9f
Rework how the bio hypercalls work, part 1/n:
...
Reduce the set of hypercalls to one: "do block i/o". This not only
eliminates a lot of pseudo-duplicate code, it also gives the
hypervisor a lot more freedom on how to optimize the i/o.
2013-04-29 12:56:03 +00:00
kiyohara
ae7a7c18bb
Add some defines for epoc32.
2013-04-29 12:47:14 +00:00
skrll
22c5786eaa
libc was missing symbols for a while there. Re-run bintuils mknative
...
against a good libc.
2013-04-29 09:32:38 +00:00
pooka
e5f47ee8a8
Disable spin mutexes for now. They need some more work in the case
...
where a spin mutex is used as an argument to cv_wait(). Plus, it
would be good to sprinkle some asserts to make sure that the cpu
context is not released while holding on to a spin mutex. All in
all, should not be difficult, but needs careful testing and bravery
(the scheduler will bite your legs off).
2013-04-29 09:30:18 +00:00
skrll
dd1eb4e21c
Simplify. earm is dealt with elsewhere.
2013-04-29 07:21:59 +00:00
nakayama
aa19dc536d
Use macros in machine/asm.h instead of locally defined, and
...
introduce CASPTRA for casxa/casa.
2013-04-28 23:42:23 +00:00
pooka
457381fad1
Appearances count: spell "IPL_NONE" correctly.
2013-04-28 23:21:00 +00:00
pooka
fcfe93893f
One more mutex which is used as a spin mutex and therefore needs
...
to be tagged as one, lest the mighty assert smites thee.
2013-04-28 23:19:33 +00:00
mlelstv
220e532cc2
fix locking order mountlist_lock -> mnt_unmounting.
...
Set IMNT_GONE early to protect against concurrent dounmount()
and vfs_busy() before the mountpoint is removed from
mount list.
2013-04-28 21:34:31 +00:00
matt
0b64d3196d
Enable fenv support for arm.
2013-04-28 21:07:36 +00:00
matt
bc08020c0d
Add a C99 <fenv.h> implementation for arm.
2013-04-28 21:06:34 +00:00
skrll
ce48c6b1d0
Spello
2013-04-28 20:58:51 +00:00
skrll
71bb6cfbc8
G/C M_VCPAGELIST
2013-04-28 20:57:26 +00:00
joerg
1f0aea4e46
One more missing cast.
2013-04-28 19:46:44 +00:00
joerg
cb8ea1ca39
Fix value ranges.
2013-04-28 19:46:01 +00:00
joerg
b3e8993905
Drop sys/ctype_bits.h again.
2013-04-28 19:41:25 +00:00
joerg
668d06e93f
Include at least ctype_bits.h, even when not providing the macros.
2013-04-28 19:39:56 +00:00
dholland
7e346d08a4
Add const.
2013-04-28 17:01:28 +00:00
mlelstv
3a4772dd1f
shorten fileops test further
...
add new test that verifies locking of the mount list.
2013-04-28 15:49:58 +00:00
joerg
eb421044dc
Fix typo.
2013-04-28 15:24:12 +00:00
joerg
c13cb064fe
Drop s_scalbnl.c (and s_scalbln.S as side effect) and provide scalbnl in
...
s_scalbln.c.
2013-04-28 14:46:14 +00:00
isaki
7e67d439af
Fix a kernel panic by printf(1).
...
The 2nd byte of ISO-2022-JP must be 0x21-0x7e. Especially,
the character code less than 0x2121 causes SEGV, because a
font address points outside of the CGROM.
Reported by tsutsui@. Should be pulled up to netbsd-6.
2013-04-28 14:44:46 +00:00
christos
c7de6e5ccf
If we have both wedge and partition info, use the partition info in the
...
wedge case too. From mlelstv.
XXX: pullup-6
2013-04-28 14:32:55 +00:00
pooka
eea7a40d07
some more headers are required by the third implementation
2013-04-28 14:11:43 +00:00