Commit Graph

218308 Commits

Author SHA1 Message Date
pooka
712c2b3e0d fix sed command 2013-04-30 11:29:12 +00:00
pooka
8f668dabd5 Some systems don't provide preadv/pwritev (hi Solaris!), so implement
that with lseek + readv/writev instead (and avoid rewinding the
pointer with soon-to-be documentation).
2013-04-30 11:26:26 +00:00
macallan
04a1b8ca72 zero sc_iot and sc_memt before using them
from Phileas Fogg
while there, set sc_dev properly
2013-04-30 10:16:25 +00:00
matt
da73339b7d for the TI AM335x, use the control_status register in the control module
to obtain the base frequency instead of assuming it's always 24MHz.
2013-04-30 05:39:44 +00:00
matt
cc2f927a81 Add minimal definition for control module control status register to obtain
the base frequency used for the system clock.
2013-04-30 05:37:51 +00:00
matt
e86404969a Use !empty(LIBGCC_MACHINE_ARCH:Mearm*) 2013-04-30 02:28:16 +00:00
matt
194fd46747 Make this compile for earmhf 2013-04-30 01:45:13 +00:00
matt
9163f0b126 Include softfloat-for-gcc.h for __ARM_EABI__ to get aeabi aliases. 2013-04-30 01:44:07 +00:00
matt
780a5525be ARM EABI needs left shift logical too. 2013-04-30 01:43:01 +00:00
matt
7d2c6b2414 Match against LIBC_MACHINE_ARCH for MKCOMPAT 2013-04-30 01:42:03 +00:00
matt
56616ffc4c earm -> earm* 2013-04-30 01:41:01 +00:00
joerg
81d0329e8d Make that to process PATH_LOCALE the first time _find_category is
called. Use this to implement newlocale and provide duplocale/freelocale
as well. Based on patches by Takehiko Nozaki with simplications and fix
for the init order by myself.
2013-04-30 00:45:04 +00:00
joerg
f4cd4d5951 Allow use from C++. 2013-04-30 00:42:31 +00:00
joerg
2df21d794d Explicitly disable standard C++ include paths to prevent mixing
includes.
2013-04-30 00:34:15 +00:00
pooka
776b9d6d84 fix non-NetBSD implementation 2013-04-30 00:33:16 +00:00
joerg
1031501f81 It is unclear whether cin is guaranteed to buffer the last input
character of a get() for ungetch() to work. Prefer putback() to make it
work with current implementations of cin in libc++. Tracked as
http://llvm.org/bugs/show_bug.cgi?id=15867 with test case.
2013-04-30 00:31:56 +00:00
pooka
7a433e9e54 add missing demogorgon 2013-04-30 00:29:19 +00:00
matt
dc8e848df6 comment out MEMSIZE (now that we probe memory size)
Add second sdhc controller for beaglebone black
2013-04-30 00:26:19 +00:00
matt
df03fab40e Map EMIF0 for TIAM335X and use to probe memory size. 2013-04-30 00:18:01 +00:00
matt
5e2db00335 Add TI_AM335x EMIF SDRAM_CONFIG definitions 2013-04-30 00:17:24 +00:00
pooka
b062b6a61d few more conversions 2013-04-30 00:12:35 +00:00
pooka
32a34307fa Make hypercall calling conventions consistent: iff a hypercall can fail,
it returns an int containing the error value.
2013-04-30 00:03:52 +00:00
christos
2efd0610bd Set the raidid and the softc together in both places where we initialize
raidPtr.
2013-04-29 21:21:10 +00:00
pooka
0dc3609e1c Reduce hypercalls related to reading to essentially an amalgamation
of readv and preadv.  ditto for writing.  Hypercalls are so seldomly
used that it doesn't justify 3x the calls for syntactic sugar.
2013-04-29 20:08:48 +00:00
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