Commit Graph

218321 Commits

Author SHA1 Message Date
matt
51f6389f71 Now that sets.subr understands endian=1234 just use ad.arm for everything
since it can support {,e}arm{,hf}{,eb}
2013-04-30 20:31:22 +00:00
skrll
361e2d0ba7 include assym.h 2013-04-30 19:42:56 +00:00
matt
b1fc1f902f Explicitly make MKSOFTFLOAT a mkvar.
Add support for endian={1234,4321}
Add EABI flag for ARM.
2013-04-30 16:26:26 +00:00
pooka
152588e3a9 Flip parameter order in the clock hypercalls to make them consistent
with everything else wrt in/out parameters.
2013-04-30 16:03:44 +00:00
skrll
3e638bdccb Don't hardcode offset in assembler. This ensures the return value in the
context is the correct value (0) on earm*
2013-04-30 15:59:34 +00:00
pooka
6601e4ea9f put optional modules on a separate SRCS line 2013-04-30 15:48:29 +00:00
joerg
392eebe2c8 Add protected visibility marker for things that we want to keep public
for historical ABI issues, but that are not allowed to be overriden.
2013-04-30 14:45:15 +00:00
pooka
cb7ea2b5af Stub out anonmmap too.
This is a clever trick to enable me to avoid having to document
that interface.  I seriously doubt it's relevant beyond a POSIX
env where it's required by the proplib client-side implementation
which expects it can do munmap() on a return value from a proplib
call.
2013-04-30 14:28:52 +00:00
pooka
70e4afeadb weak stubs for optional hypercalls 2013-04-30 13:54:53 +00:00
pooka
2e5a2855bd make this build/work again 2013-04-30 13:37:03 +00:00
pooka
c46eb786b4 In kthread_create(), pass the priority and cpu index down to the
rump kernel hypervisor (though the current implementation doesn't take
advantage of them).
2013-04-30 13:29:28 +00:00
pooka
be085dcd72 Translate error codes between the hypervisor and rump kernel. 2013-04-30 12:39:20 +00:00
skrll
094d684a50 Don't hardcode offset in assembler. This ensures the return value in the
context is the correct value (0) on earm*
2013-04-30 12:24:31 +00:00
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