Commit Graph

220964 Commits

Author SHA1 Message Date
matt
25fcead210 Change two KASSERTs to KASSERTMSG 2013-09-07 03:34:59 +00:00
matt
b880990f59 Fix comment. 2013-09-07 03:34:20 +00:00
matt
26ece6925f Only configure awiniic0 for now 2013-09-07 02:46:26 +00:00
matt
6bb0ecb12c correct twi -> awiniic entries 2013-09-07 02:46:06 +00:00
matt
b384585b87 Add an INSTALL kernel for CUBIEBOARD 2013-09-07 02:36:59 +00:00
matt
d2a02f3137 Comment out ohci 2013-09-07 02:34:01 +00:00
matt
cd2eff09a7 Allow either ohci or ehci to be missing. 2013-09-07 02:32:53 +00:00
matt
9687362fa5 Make sure to turn on the phys and clocks and crap. 2013-09-07 02:10:37 +00:00
matt
d1e1e0984b Move awin_ahci_set_clear to awin_var.h and rename to awin_reg_set_clear. 2013-09-07 02:10:02 +00:00
matt
7541a57671 Add #ifdef VERBOSE_INIT_ARM 2013-09-07 02:09:23 +00:00
matt
ef1cc6c998 Add awingpio 2013-09-07 02:08:56 +00:00
matt
f037bcbc97 This uses an EDGE interrupt. (D'oh) 2013-09-07 01:50:12 +00:00
matt
bee3a2d7cc Fix some bugs. 2013-09-07 01:42:44 +00:00
matt
f85d39dabc Flesh out allwinner support. 2013-09-07 00:35:52 +00:00
matt
8bfbe2803e Remove brain fart with TTBCR 2013-09-07 00:33:32 +00:00
matt
fb162eecb5 Add CPU_ID_CORTEXA7R0 entry 2013-09-07 00:32:54 +00:00
matt
291e02d9ef fix CPU_ID_CORTEXA7R0 2013-09-07 00:32:33 +00:00
matt
f175e12a3e Use KASSERTMSG 2013-09-07 00:32:02 +00:00
matt
6a4963bd36 call pmap_devmap before awin_bootstrap.
Don't copy bootargs yet.
2013-09-07 00:31:10 +00:00
matt
63da933fa6 Make sure the core register are mapped PA:VA too. 2013-09-07 00:30:17 +00:00
matt
803fa2dd54 Add AWIN_CONSOLE_EARLY and comment out sdhc 2013-09-07 00:29:22 +00:00
matt
f78f2a0b7e Use KERNEL_BASE_PHYS for load and entry addresses for u-boot. 2013-09-06 22:56:47 +00:00
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