Commit Graph

232564 Commits

Author SHA1 Message Date
gson
263eee9471 Mark the lib/libm/t_fmod test as an expected failure under QEMU,
with a reference to PR misc/44767.
2015-01-03 14:23:53 +00:00
gson
59b4f8a08b Need stdlib.h for EXIT_FAILURE 2015-01-03 14:21:05 +00:00
jmcneill
ab960f7448 with 3.3V we can run this at 48MHz 2015-01-03 13:29:02 +00:00
jmcneill
27939bef63 set DCDC4 to 3.3V for mmc0 2015-01-03 13:28:00 +00:00
jmcneill
35dd32a1db attach rktimer and rkiic early 2015-01-03 13:27:11 +00:00
jmcneill
13b99978d6 attach devices marked "crit 1" first 2015-01-03 13:26:31 +00:00
apb
5ffb287e29 Update documentation about tools being restricted to C89 (or not).
It's not practical for the C89 restriction to be maintained for
compilers, but it is still desirable for most tools.  The "long long"
data type is in wide use despite not being in C89.  C99 library features
(as opposed to language features) can often be added to the compat
framework when the need becomes apparent.
2015-01-03 13:20:11 +00:00
pooka
bc3e3c852d check that sys/cdefs.h builds with -Werror (not the case on alpine linux
where it contains an unconditional #warning)
2015-01-03 13:16:41 +00:00
prlw1
9822db2110 Also print b_error in the IO Error message 2015-01-03 11:48:04 +00:00
palle
69653b2c05 smp_tlb_flush_pte(): Avoid run-time check for cpu type/implementation by installing correct function pointer in sparc64_ip_init(). sparc64_send_ipi() is changed to a function pointer as well to avoid run-time checks. 2015-01-03 11:22:14 +00:00
christos
46a8957adc add a clear that did not merge. 2015-01-02 23:38:45 +00:00
christos
d9d66a76ab fix recursion 2015-01-02 23:27:46 +00:00
jmcneill
6fa5dd7260 back out r1.8, its fine (and preferred) to write value before direction reg 2015-01-02 23:23:17 +00:00
jmcneill
1b714ed8e8 add rktimer 2015-01-02 23:20:49 +00:00
jmcneill
94733806e9 Add driver for RK3188 64-bit timer. 2015-01-02 23:20:18 +00:00
jmcneill
ed95dc1d6a detach and re-attach timecounter when updating freq, and reinit timer on each cpu 2015-01-02 23:19:28 +00:00
jmcneill
5e4a2bdda1 init cpufreq, remove cpu.frequency boot arg support 2015-01-02 22:00:02 +00:00
jmcneill
d72792bf04 Add RK3188/RK3188+ CPU frequency setting support. 2015-01-02 21:59:29 +00:00
jmcneill
de1967b61e add a helper to update a9tmr frequency 2015-01-02 21:58:03 +00:00
jmcneill
4d45e2f3ec disable ACT_DEBUG, but still print current state at attach 2015-01-02 21:55:31 +00:00
jklos
2d49a0d673 Patches from Björ Johannesson to fix DEC LK201 keyboards, this time
applied to correct tree.
2015-01-02 21:32:26 +00:00
christos
6be1176df9 bump libmagic 2015-01-02 21:18:51 +00:00
christos
65a5fa6d68 new file 2015-01-02 21:16:41 +00:00
christos
fa9ee4980d merge conflicts 2015-01-02 21:15:32 +00:00
reinoud
4897154dae Fix volumesetname to comply to UDF 2.01 [2.2.2.5] 2015-01-02 21:01:12 +00:00
mrg
1ae0b83a7c actually fix one of the previous: don't test for NULL after deref. 2015-01-02 20:42:44 +00:00
christos
3c9d2f3579 Import file-5.22 2015-01-02 20:34:26 +00:00
christos
334f5d77c6 Define an undocumented -F option to only use fork instead of vfork for
debugging purposes.
2015-01-02 19:56:20 +00:00
christos
88c1089d96 Bring in 2 patches from binutils:
From Alan Modra: Wed, 3 Jul 2013 11:51:56 +0930: powerpc64 call stubs:
    This brings powerpc64 ld in line with gold regarding calls allowed to
    go via a plt call stub or toc-adjusting stub without a following nop.
    A long time ago ld allowed tail calls, but this is wrong because we'll
    return to the caller's caller with the wrong toc pointer.  I fixed
    that for shared libraries but allowed tail calls in an executable for
    some reason.  Probably just muddy thinking on my part, because there's
    no difference between an executable and a shared library regarding the
    need to restore the toc pointer.  Perhaps it was because some testcase
    failed, most likely due to the g++ issue I comment on in the patch.

From Alan Modra: 29 Aug 2014 01:22:29 +0000: PowerPC64 call lacks nop error:
    Enough people accidentally or otherwise use -mcmodel=small then wonder
    why a call that is local is behaving as if it is going via the PLT.

	* elf64-ppc.c (ppc64_elf_relocate_section): Report a different
	error for calls via a toc adjusting stub without a nop.
2015-01-02 19:50:02 +00:00
christos
52e8eb1316 Fix the 3 programs that use DTYPE_ (disklabel disk types) constants from the
kernel. Two of them are inside ifdefs.
2015-01-02 19:46:02 +00:00
abs
40a37f0d92 Rather than scatter set_swap() calls wrapped in ram size checks through
md_post_disklabel() and md_pre_update(), abstract them out to an MI
set_swap_if_low_ram() and call from the appropriate MI places.
Now all platforms add swap if the system has <= 32M of RAM.
2015-01-02 19:43:13 +00:00
christos
c182898b0d We have three sets of DTYPE_ constants in the kernel:
altq		Drop 		Type
	disklabel	Disk 		Type
	file		Descriptor	Type
(not to mention constants that contain the string DTYPE).
Let's make them two, by changing the disklabel one to be DisK TYPE since the
other disklabel constants seem to do that. Not many userland programs use
these constants (and the ones that they do are mostly in ifdefs). They will
be fixed shortly.
2015-01-02 19:42:05 +00:00
christos
242d3e9bfb - print a warning about powerdown not supported like other ports do
- merge duplicated code
- if halt is requested and there is no console, keep looping instead of
  rebooting.
2015-01-02 18:49:02 +00:00
hannken
d8577e15cb Add forgotten memset() to clear sysvbfs nodes before setting them up. 2015-01-02 16:51:02 +00:00
christos
37fe8b906e CID/1261465: Dereference after NULL check.
CID/1261467: Unreachable code
2015-01-02 16:38:45 +00:00
christos
ad0f8520fc restore part decl. 2015-01-02 15:53:25 +00:00
skrll
4e7a5b6c71 Do revision 1.20: Decode movw/movt properly.
Hi Matt.
2015-01-02 15:52:33 +00:00
christos
936e9da4e4 avoid trigraph 2015-01-02 15:50:28 +00:00
christos
39080bbec6 name the flag ioctl argument "flag" like most other drivers. 2015-01-02 15:49:51 +00:00
martin
03cf64aad4 Use pinset-func 3 for gmac on BananaPI (value taken from the only working
u-boot driver).
This makes root on NFS and ftp transfers work for me.
2015-01-02 11:46:53 +00:00
skrll
6b789a9550 Trailing whitespace. 2015-01-02 10:04:35 +00:00
skrll
9a9a1a7b1e The mode synonyms are different for stm and ldm - handle this.
PR/49520: arm/disassem.c doesn't use proper address mode name for loads
2015-01-02 10:03:42 +00:00
martin
833cbd818b Replace old style open array with C99 variant - cosmetic only, but should
help coverity.
2015-01-02 09:48:01 +00:00
mlelstv
d15e4a5d5d Avoid mixing cluster numbers and sector numbers. Makes code more readable. 2015-01-02 06:21:28 +00:00
christos
3e26280ef1 add constcond. 2015-01-02 02:00:15 +00:00
christos
ed5aa85bd1 - Use NODEV instead of 0
- Return EBUSY if there was no label
2015-01-02 01:14:22 +00:00
christos
429dd9f14e these call dk_ioctl, no need to call disk_ioctl anymore. 2015-01-02 01:13:00 +00:00
jmcneill
5c3b4119a4 Enable LDO2 for HDMI driver. 2015-01-02 00:50:56 +00:00
jmcneill
d0e99b54db Include addr and reg in data sent with rkiic_write, now writes work too. 2015-01-01 22:15:40 +00:00
jmcneill
9c714f62d4 obio_init_gpio: set pin direction to output before writing data 2015-01-01 18:59:03 +00:00