- Mar 30, 2017
-
-
Gregory Nutt authored
-
Juha Niskanen authored
-
Konstantin Berezenko authored
Change STM32 tickless to use only one timer Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Konstantin Berezenko authored
-
Gregory Nutt authored
-
Jussi Kivilinna authored
Entropy pool gathers environmental noise from device drivers, user-space, etc., and returns good random numbers, suitable for cryptographic use. Based on entropy pool design from *BSDs and uses BLAKE2Xs algorithm for CSPRNG output. Patch also adds /dev/urandom support for using entropy pool RNG and new 'getrandom' system call for getting randomness without file-descriptor usage (thus avoiding file-descriptor exhaustion attacks). The 'getrandom' interface is similar as 'getentropy' and 'getrandom' available on OpenBSD and Linux respectively.
-
Juha Niskanen authored
net/local: connect: Fix warning with gcc-arm-none-eabi-5-2016q1. Using compiler from gcc-arm-none-eabi-5-2016q1 toolchain: gcc version 5.3.1 20160307 (release) [ARM/embedded-5-branch revision 234589] (GNU Tools for ARM Embedded Processors) gives error: local/local_connect.c:188:7: error: '_local_semtake' is static but used in inline function 'local_stream_connect' which is not static [-Werror] this is due to compiler enforcing ISO/IEC 9899:1999 6.7.4.3: "An inline definition of a function with external linkage shall not contain a definition of a modifiable object with static storage duration, and shall not contain a reference to an identifier with internal linkage." Fix by making inlined caller to have internal linkage as well.
-
Gregory Nutt authored
-
- Mar 29, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
6loWPAN: IEEE802.15.4 MAC driver will need a special form of the network device structure to manage fragmentation of the large packet into frames.
-
Gregory Nutt authored
This was a consequence of the recent robust mutex changes. If robust mutexes are selected, then each mutex that a thread takes is retained in a list in threads TCB. If the thread exits and that list is not empty, then we know that the thread exitted while holding mutexes. And, in that case, each will be marked as inconsistent and the any waiter for the thread is awakened. For the case of pthread_mutex_trywait(), the mutex was not being added to the list! while not usually a fatal error, this was caught by an assertion when pthread_mutex_unlock() was called: It tried to remove the mutex from the TCB list and it was not there when, of course, it shoule be. The fix was to add pthread_mutex_trytake() which does sem_trywait() and if successful, does correctly add the mutext to the TCB list. This should eliminated the assertion.
-
Sebastien Lorquet authored
-
Juha Niskanen authored
-
Juha Niskanen authored
-
- Mar 28, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Anthony Merlino authored
configs/clicker2-stm32: Fixes minor SPI configuration issues Approved-by: Gregory Nutt <gnutt@nuttx.org>
-
Anthony Merlino authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Jussi Kivilinna authored
-
Gregory Nutt authored
-
Sebastien Lorquet authored
-
Sebastien Lorquet authored
-
Sebastien Lorquet authored
-
Gregory Nutt authored
realloc(): When realloc() has to fall back to calling malloc(), size including overhead was being provided to malloc(), causing a slightly larger allocation than needed. Noted by initialkjc@yahoo.com
-
Martin Lederhilger authored
-
Gregory Nutt authored
-
- Mar 27, 2017
-
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Gregory Nutt authored
-
Alan Carvalho de Assis authored
-
Matias vo1d authored
-