Commit Graph

220842 Commits

Author SHA1 Message Date
skrll
90a158400d Fix INTEGRATOR build. 2013-09-06 21:25:34 +00:00
yamt
cfc4d5466a document MD ways to access private data for some platforms 2013-09-06 17:54:09 +00:00
tsutsui
3e6e9bd41e Tab/whitespace cleanup. 2013-09-06 17:43:19 +00:00
skrll
2362fe4baf Minor update. 2013-09-06 11:15:14 +00:00
skrll
a43a823fc4 Improve the #ifdefs
"it's not worse." from matt@
2013-09-06 09:43:32 +00:00
skrll
0196a1c7a9 Change the cv name slightly 2013-09-06 05:50:22 +00:00
matt
33c1c5753b Make gttswi MI and usuable from non-Marvell SoCs.
(should rename to mvi2c but ...)
2013-09-06 00:56:12 +00:00
matt
31f2dd87c7 Make sc_started bool and true/false instead of 1/0 2013-09-05 22:28:57 +00:00
gsutre
da518997b2 Implement __negative_p without floating-point arithmetic, using
a solution proposed by jxh on Stack Overflow.  Fixes the second
half of PR lib/48131.

While there, simplify __type_fit_u by using the same logic
as in __type_fit_s.

ok christos@
2013-09-05 21:00:15 +00:00
skrll
60dbdcfe86 RPI DWC2 glue. 2013-09-05 20:49:25 +00:00
skrll
c8117e497f Adapt the Synopsys DWC2 driver to NetBSD.
Still work-in-progress
2013-09-05 20:25:27 +00:00
pooka
0c778f0d54 Avoid strict-alias problem flagged by certain compilers (e.g. Centos one):
libc/gen/utmpx.c:89: error: dereferencing pointer 'otv' does break strict-aliasing rules

reviewed by Christos (thanks!)
2013-09-05 17:35:11 +00:00
skrll
d13ab4c347 Pull across some linux header files from riastradh-drm2, but put them
in a shared location.

Riastradh: nick, OK.
2013-09-05 15:28:07 +00:00
skrll
618a9dc6b5 Do a better job of matching some linux APIs. Still not quite working. 2013-09-05 13:56:12 +00:00
pooka
5d36abf618 In fd_abort(), reset ff_exclose to preserve invariants expected by fd_free() 2013-09-05 12:23:07 +00:00
pooka
a4786a8b92 socket(-1, SOCK_CLOEXEC, 0); followed by the process exiting (i.e.
fd slot does not get initiailized before fd_free()) cases a diagnostic
kernel panic.
2013-09-05 12:22:10 +00:00
prlw1
2f73dfb288 Fix
/var/log/httpd/access.log  644  52   *  $W0D23 ZBP /var/run/httpd.pid 30
newsyslog: config line 16: bad signal type
(strtol: **endptr is '\0' on success rather than *endptr)
2013-09-05 11:34:40 +00:00
gsutre
a06b34339b Check for overflow in __type_fit_s when casting to intmax_t.
Fixes the first half of PR lib/48131.

ok christos@
2013-09-05 09:03:13 +00:00
gsutre
d163d4166c Fix two tests for typefit: constants larger than LLONG_MAX
do not fit in a signed long long.
2013-09-05 09:01:27 +00:00
skrll
970b07004d Import dwc2 2013-09-05 2013-09-05 07:53:10 +00:00
skrll
f5f10bf60f Whitespace 2013-09-05 07:06:37 +00:00
matt
ca7975ae61 Use __ARM_EABI__ and new __UNWIND_TABLES__ to decide when to use .cfi ops 2013-09-05 05:15:47 +00:00
matt
8c08c8dda2 mips .eh_frame is writable 2013-09-05 00:28:11 +00:00
matt
85b4461aa6 bic sp not allowed in thumb (even with thumb2) 2013-09-05 00:27:38 +00:00
matt
df25d88db7 Fix the .cfi correctly. 2013-09-04 23:08:29 +00:00
pooka
c99e7cc9a4 allow compile-time overriding of BOZO_WRSZ/MMAPSZ parameters 2013-09-04 22:59:50 +00:00
htodd
3bf56cd237 Fix build by matching .cfi/#if. 2013-09-04 22:38:09 +00:00
matt
cb89adbb61 only emit cfi if __ARM_EABI__ && __UNWIND_TABLES__ 2013-09-04 21:17:15 +00:00
tron
2733e622de Don't ring the terminal bell if the user forward-searches for a string
that appears in the first displayed line.

This patch was supplied by M. Levinson in PR bin/45451.
2013-09-04 20:02:10 +00:00
tron
c29b48bb92 Version 458 of less(1) was imported. 2013-09-04 19:51:37 +00:00
tron
ec18bca04f Resolve conflicts from last import. 2013-09-04 19:44:21 +00:00
tron
749ad2fa00 Import version 458 of "less". Changes since version 444:
* Allow backslash escaping of metacharacters in LESS environment variable
  after the --use-backslash option.
* Don't quit if syntax errors are found in command line options.
* Increase sizes of some internal buffers.
* Fix configure bug with --with-regex=none.
* Fix crash with "stty rows 0".
* Fix display bug when using up/down arrow on the command line.
* Add ESC-F command to keep reading data until a pattern is found.
* Use exit code of LESSOPEN script if LESSOPEN starts with "||".
* When up/down arrow is used on the command line immediately after
  typing text, the next command starting with that text is found.
* Add support for GNU regex.
* Add configure option --with-regex=none and fix compile errors
  when compiling with no regex library.
* Fix possible crashes caused by malformed LESSOPEN or
  LESSCLOSE variables.
* Fix bug highlighting text which is discontiguous in the file
  due to backspace processing.
* Fix bug in displaying status column when scrolling backwards
  with -J and -S in effect.
2013-09-04 19:35:02 +00:00
pooka
4c0122ee7f Also create hw.pagesize, makes sysconf(_SC_PAGESIZE) return a more
sensible result.
2013-09-04 17:56:08 +00:00
matt
e2b669807c Add wdog support. Use wdog to do reset (works for both A10 & A20). 2013-09-04 17:45:40 +00:00
christos
d42767053d regen 2013-09-04 17:39:01 +00:00
christos
c454fe7eaa PR/48180: Christian Groessler: Support for Oxford Semi OXuPCI952 dual serial
PCI card
2013-09-04 17:38:37 +00:00
sjg
cde1c40e1b Add VAR_INTERNAL as a context for variables set by make itself,
which should not override those set by makefiles.
Currently MAKEFILE is the only variable affected.

Reviewed by: christos
2013-09-04 15:38:26 +00:00
ryoon
27e03817f7 Fix typos from FreeMiNT's db-1.86 patch. 2013-09-04 13:03:22 +00:00
skrll
5f79def1a6 Typo. Bump date. 2013-09-04 10:17:58 +00:00
skrll
32d2366deb Typo in comment. 2013-09-04 10:16:16 +00:00
jmcneill
94a3e5f5b5 establish intr handler before calling sdhc_host_found 2013-09-04 09:14:57 +00:00
jmcneill
251d73ff8e add missing call to ahci_attach at the end of awin_ahci_attach 2013-09-04 09:09:25 +00:00
matt
7153ca6fc3 Very very very prelimnary support for cubieboard 1 & 2 based on the
Allwinner A10 & A20 SoCs.  It links and that's about all it does.
Many drivers are stubs with autoconf glue.
com, ahcisata, sdhc, usb might have a chance of working.
2013-09-04 02:39:01 +00:00
pooka
f754a2f110 + don't rename rump_syscalls.*o
+ support RUMP_KERNEL_IS_LIBC
2013-09-03 21:32:21 +00:00
pooka
cee3de56df regen 2013-09-03 21:30:43 +00:00
pooka
d04c1489fc If RUMP_KERNEL_IS_LIBC is defined, alias the rump kernel syscalls to libc
syscall stub symbol names.  This allows running standalone programs in
OS-less environments such as directly on a Xen DomU backed only by a
libc and a rump kernel.
2013-09-03 21:28:24 +00:00
pooka
6d43f1658d Autogenerate rump_syscalls.c into the correct namespace, i.e. it no
longer needs to go through rename in the build.
2013-09-03 20:54:03 +00:00
pooka
fb19198452 RUMPCOMP_USEROBJ -> RUMPOBJ_NORENAME
Widens the implied usage scope of the variable.
2013-09-03 19:57:02 +00:00
pooka
31b175eb03 Don't autogenerate the wrapper that is called from the rump kernel
local syscall entry points.  The wrapper is now so big that it doesn't
get inlined (original intent for having it close to the entry points),
and autogenerating a regular function just loses in flexibility.
2013-09-03 19:55:13 +00:00
matt
b85d7b17d8 Files for allwinner a20/a10 (need to compile stuff in evbarm/cubie) 2013-09-03 18:02:26 +00:00