225841 Commits

Author SHA1 Message Date
skrll
532f35877f Add mtsleep(9) and a description of how it, tsleep(9), and wakeup(9)
should all be replaced with condvar(9).

While here clear out the lock(9) reference(s) and the obsoleted example.

Based on misc/48671
2014-03-22 11:24:35 +00:00
hkenken
e2cf8b4e39 Fix SDHC clocks. 2014-03-22 09:46:33 +00:00
hkenken
5f3c2fa27e Add SPI driver.
i.MX51 have two eCSPI, and one CSPI.
2014-03-22 09:28:08 +00:00
maxv
2632b9d940 Fix a potential - but very unlikely - NULL pointer dereference.
(it does not introduce a new error code for open(), since
 pathbuf_copyin() is already there and can return ENOMEM)

Found by my code scanner.
2014-03-22 08:15:25 +00:00
skrll
05d6b677c6 Remove reference to simplelock 2014-03-22 07:49:06 +00:00
maxv
2898b430e9 'newrt' is not supposed to be NULL. Therefore, the NULL-check in the if()
is pointless; and even if 'newrt' were NULL, 'rt' would be dereferenced
later. This is not a bug.

CID 270855

ok christos@
2014-03-22 07:46:35 +00:00
maxv
d8a274dfb9 Small changes:
- rename elf_load_file() to elf_load_interp()
 - use the correct type for 'nused'
 - remove useless cases
 - reorder a kmem_alloc

ok christos@
2014-03-22 07:27:21 +00:00
hkenken
ec32498d61 * GPIO interrupts of i.MX5 are divided into two groups.
add IMX_GPIO_INTR_SPLIT option
* Support GPIO both edge trigger interrupt.
2014-03-22 05:19:18 +00:00
hkenken
47143f5cf3 add Watchdog Timer support for i.MX51. 2014-03-22 04:55:00 +00:00
hkenken
0f26c1cc74 for LIBSA_PRINTF_WIDTH_SUPPORT,
Fix right and left-adjusting padding.
2014-03-22 02:51:44 +00:00
christos
889cc98cdc kill sprintf
fix unused variables
2014-03-22 01:52:44 +00:00
roy
b7fc208426 Crank up the warnings and fortify the build. 2014-03-22 00:04:51 +00:00
dholland
c93eb026cf remove sys/simplelock.h (straggler) 2014-03-21 22:18:57 +00:00
dholland
9e949733b6 spelling in comments 2014-03-21 22:00:00 +00:00
joerg
b204cbfda6 For HAVE_LIBGCC_EH=no, skip libgcc's unwind code. 2014-03-21 20:54:13 +00:00
riastradh
677325c920 Build xf86drmMode.c into libdrm. 2014-03-21 18:14:20 +00:00
christos
74758fe57e Ilya Zykov: Prepare readdir for multi-mountpoint use 2014-03-21 17:21:53 +00:00
christos
ad99e7817d bump libssl 2014-03-21 17:00:18 +00:00
christos
6c197e6572 bump for previous 2014-03-21 16:59:14 +00:00
tsutsui
8e58ff0f9c Replace tsleep(9)/wakeup(9) with condvar(9) as practice.
Also replace malloc(9) with kmem_alloc(9).
Pevent more possible races.

Tested on both console and Xserver on X68030.
2014-03-21 16:58:54 +00:00
christos
41d04b789e kill sprintf 2014-03-21 16:41:15 +00:00
christos
977edcc000 gc sprintf; reduce local static usage of interrupt strings that are only
used once for autoconf printing.
2014-03-21 16:39:29 +00:00
pooka
3f0878753a On glibc systems, issue a warning if LD_DYNAMIC_WEAK is not 2014-03-21 16:26:30 +00:00
pooka
0ab0c8a502 fix name of HAVE_PTHREAD_SETNAME_3 2014-03-21 16:03:35 +00:00
pooka
fe7fe5876f fix braces 2014-03-21 16:03:07 +00:00
matt
e26b436cdb Simplify. If we got called via a calls $n, *pcrel32, instead of constructing
a new stack frame, back up the PC by 7 and return back to the calls so it
will be reinvoked.  (This is by far the most common way it gets invoked).
Otherwise rebuild a new callframe and jump to the routine.
2014-03-21 14:03:30 +00:00
wiz
ba2e1ecb62 Fix simplelock entry. 2014-03-21 13:30:39 +00:00
wiz
035466f565 Add d1_meth.c to build to fix problems with missing symbol DTLSv1_method.
Addresses asterisk build problems, idea for fix from martin.
2014-03-21 13:07:57 +00:00
skrll
578df093bc Actually delete simplelock.h 2014-03-21 13:05:00 +00:00
martin
2f7cf5b01f Add libpthread-stubs_g.a 2014-03-21 12:30:00 +00:00
pooka
bc215c110d use a probe result to decide which pthread_setname_np() to use 2014-03-21 12:28:54 +00:00
pooka
fa5f7ef47e set threadname for correct pthread_t 2014-03-21 12:07:10 +00:00
skrll
e4c22c37e6 Fix non-USB_DEBUG (and non-DWC2_DEBUG) build 2014-03-21 09:19:10 +00:00
riastradh
4574ca2240 Make uninitialized_var kludge expand to `x = 0'.
Forgot to commit this the other day.
2014-03-21 02:25:05 +00:00
matt
bc069d405c Improve some of the rdbg messages to print the address of the pltgot slot
being modified.
2014-03-21 01:43:33 +00:00
matt
22fbc67ed0 Don't resolve symbols to PLT entries on the VAX. It just causes a lot of
overhead.
2014-03-21 01:40:41 +00:00
christos
7f8a26a5c6 fix Big Endian compilation 2014-03-21 01:17:40 +00:00
matt
c986db42a2 pl310 cache is PIPT 2014-03-20 22:28:37 +00:00
mrg
375467851c substitute several more values for .pc files:
+ 		s,@LIBXML2_CFLAGS@,,; \
+ 		s,@ICONV_CFLAGS@,,; \
+ 		s,@PACKAGE@,${PKGDIST},; \
+ 		s,@PKGCONFIG_REQUIRES@,xx,; \
+ 		s,@PKGCONFIG_REQUIRES_PRIVATELY@,xx,; \
+ 		s,@ERRORDBDIR@,${X11LIBDIR},; \
+ 		s,@EXPAT_CFLAGS@,,; \
+ 		s,@FREETYPE_CFLAGS@,-I${X11ROOTDIR}/include/freetype2 -I${X11ROOTDIR}/include,; \
+ 		s,@SDK_REQUIRED_MODULES@,xproto >= 7.0.17 randrproto >= 1.2.99.3 renderproto >= 0.11 xextproto >= 7.1.99 inputproto >= 1.9.99.902 kbproto >= 1.0.3 fontsproto," \
2014-03-20 22:24:32 +00:00
mrg
8403e51bee substitute %LIBS_CONFIG% and %LIBSSTATIC_CONFIG%. 2014-03-20 22:23:30 +00:00
matt
5be98f6c4b Define cache type 13 2014-03-20 22:19:38 +00:00
christos
5eff9d8198 fix format confusion 2014-03-20 21:30:52 +00:00
christos
55e6983cb7 kill sprintf 2014-03-20 20:51:40 +00:00
christos
9b77ad252d make pmc compile with amd64 2014-03-20 20:45:32 +00:00
christos
9e287239f7 need compat_netbsd.h 2014-03-20 20:44:42 +00:00
christos
bc10b16694 need compat header. 2014-03-20 20:44:15 +00:00
christos
e325b20151 XXX: 32 bit pointer 2014-03-20 20:43:35 +00:00
christos
c1ae06abab kill sprintf 2014-03-20 20:42:08 +00:00
christos
48b19df748 make it compile on amd64 2014-03-20 20:41:11 +00:00
christos
4591c8e2e5 make this compile again.
XXX: 32 bit pointer issues.
2014-03-20 20:40:42 +00:00