Commit Graph

218354 Commits

Author SHA1 Message Date
agc
a3a6189341 Fix typo in previous 2013-05-01 15:57:44 +00:00
agc
d7199a4b01 Install pkgpath.conf in /etc - part of fix for misc PR/47645 2013-05-01 15:55:53 +00:00
macallan
10afb9e227 add G5 support
from Phileas Fogg
2013-05-01 14:24:48 +00:00
kiyohara
4aba7d3a0d Support to build for epoc32 userland. 2013-05-01 13:11:59 +00:00
rkujawa
d625d3f379 Add Armada XP specific IDs and registers.
Obtained from Marvell, Semihalf.
2013-05-01 12:51:27 +00:00
rkujawa
f6e8c1845d Add support for timers on Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:45:31 +00:00
rkujawa
0713245bb7 Handle situations where we can have more pexes, like Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:38:06 +00:00
rkujawa
a0613ffa11 Add register definitions for Aramada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:34:45 +00:00
rkujawa
c370465bf5 Handle differences for Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:32:46 +00:00
rkujawa
648f6a20d2 Support Marvell Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:30:02 +00:00
rkujawa
a6a9912488 TWSI controller on Armada XP is a bit different. Support that.
Obtained from Marvell, Semihalf.
2013-05-01 12:25:31 +00:00
rkujawa
e97aea6084 Add IDs for Marvell Armada XP and ATTR_SDRAM registers used with IO cache coherency.
Obtained from Marvell, Semihalf.
2013-05-01 12:23:24 +00:00
rkujawa
f60821d1be Avoid configuring root complex on MV78460.
Obtained from Marvell, Semihalf.
2013-05-01 12:21:47 +00:00
rkujawa
055ac78ac4 Support SATA on Marvell Armada XP.
Obtained from Marvell, Semihalf.
2013-05-01 12:19:49 +00:00
rkujawa
1ed09d9cf0 Add support for Marvell's SPI controller as found on Armada XP.
Obtained from Semihalf.
2013-05-01 12:17:17 +00:00
matt
282003e05c Use the common Makefile to pick up includes needed to be done by every
arm port.
2013-05-01 12:02:55 +00:00
matt
e08bec562f Pickup fenv.h from a common location since it's only used from userland
and the kernel will never include it.
2013-05-01 12:01:55 +00:00
matt
afd09cfbe6 Add a default arm32 vmparam.h 2013-05-01 12:00:51 +00:00
mlelstv
c2b23d53a6 For a polled console incoming characters are buffered on output.
The buffer is never passed to the regular tty routines and can
survive from early boot to halt where it is read by the "press
any continue to reboot" loops.
As a workaround, just kill the read-ahead buffer when switching
from and to polled mode.
2013-05-01 07:38:00 +00:00
mlelstv
9af7d72b34 Fix prototype 2013-05-01 07:33:24 +00:00
pooka
c7fca9d685 Three cheers for the mighty C type system that doesn't recognize the
difference between an enum and an integer.  Due to wrong parameter order,
the lock backoff routine ended up sleeping 1 million seconds instead
of 1ms.  On the plus side, we got some sort of idea how often the shmif
spinlock backoff routine is hit during a standard test run.
2013-05-01 06:58:36 +00:00
agc
1410cf30c2 Fix for problematic paths in /etc/daily and /etc/security reported in
PR/47645.

Add a separate file which contains the paths for the pkg_admin and
pkg_info utilities. This is called /etc/pkgpath.conf (to distinguish it
from pkg.conf).

Thanks also to Edgar Fuss for the sanity check.
2013-05-01 05:36:25 +00:00
matt
8f0edf9e8a Fix feclearexcept return value (should be 0). 2013-05-01 04:04:54 +00:00
matt
745c75b88e Use MKSOFTFLOAT = no for including arm hardfloat files.
When arm and MKSOFTFLOAT = yes, make explicit dependency to .c files
so .S won't be used.
2013-05-01 04:04:31 +00:00
matt
9ba2e75c19 Add eabi to compat dirs.
Add missing compat ld.elf_so-oabi
2013-05-01 04:02:54 +00:00
matt
8da5afd2a3 Use the new endian=1234 to eliminate the rescue.ad.armeb 2013-04-30 23:46:46 +00:00
matt
1a005b3267 Collapse all the ad.mips* set lists into a single ad.mips which works for
all variations of mips{,64}e{b,l}
2013-04-30 23:41:23 +00:00
joerg
56cae1058e Provide scalbln weak alias. Fix argument order for STRONG_ALIAS.
Expect WEAK_ALIAS and STRONG_ALIAS to exist.
2013-04-30 21:55:31 +00:00
pooka
f1e974670d +reference
XXX: this manpage is hideously out-of-date
2013-04-30 21:21:24 +00:00
pooka
aed84d6b35 document the hypercall interface 2013-04-30 21:18:40 +00:00
mbalmer
8ac2e441e7 Add sample code to suppress copyright message on interactive logins. 2013-04-30 21:03:43 +00:00
matt
62c1b69ff1 Add an arch64 flag for use by mips set lists (and powerpc) 2013-04-30 20:54:22 +00:00
skrll
50baee5e8d Re-order .PATH so that mknative headers are picked up first. Fixes
earm* builds.
2013-04-30 20:45:41 +00:00
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