Commit Graph

218333 Commits

Author SHA1 Message Date
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
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