1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

346 Commits

Author SHA1 Message Date
Hauke Petersen
5abd2ffc0a cpu/native: added periph_cpu.h 2015-06-12 19:10:49 +02:00
haukepetersen
e32b6c9504 cpu/native: improved error msg for netivenet 2015-06-11 15:40:40 +02:00
Hauke Petersen
a5e4b02ed8 cpu: fixed doxygen for multiple headers 2015-05-28 15:45:05 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
1c91baed8b sys: net: add ng_netdev_eth netdev driver for dev_eth based ethernet devices 2015-05-26 21:05:19 +02:00
cfd9a5905a Merge pull request #2766 from kaspar030/add_dev_eth
sys: net: introduce low-level ethernet driver API
2015-05-26 19:28:14 +02:00
fbfb0954eb cpu: native: add tap implementation of dev_eth (ng_nativenet) 2015-05-26 15:37:55 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Lucas Jenss
426170b064 Improve naming of thread stacksize/priority constants
As discussed in #2725, this commit renames a number of stacksize constants to
better convey their intended usage. In addition, constants for thread priority
are given a `THREAD_` prefix. Changes are:

* KERNEL_CONF_STACKSIZE_PRINTF renamed to THREAD_EXTRA_STACKSIZE_PRINTF
* KERNEL_CONF_STACKSIZE_DEFAULT renamed to THREAD_STACKSIZE_DEFAULT
* KERNEL_CONF_STACKSIZE_IDLE renamed to THREAD_STACKSIZE_IDLE
* KERNEL_CONF_STACKSIZE_MAIN renamed to THREAD_STACKSIZE_MAIN
* Move thread stacksizes from kernel.h to thread.h, since the prefix changed
* PRIORITY_MIN renamed to THREAD_PRIORITY_MIN
* PRIORITY_IDLE renamed to THREAD_PRIORITY_IDLE
* PRIORITY_MAIN renamed to THREAD_PRIORITY_MAIN
* Move thread priorities from kernel.h to thread.h since the prefix has changed
* MINIMUM_STACK_SIZE renamed to THREAD_STACKSIZE_MINIMUM for consistency
2015-05-21 00:14:23 +02:00
Oleg Hahm
cb1f047f59 core: unified core_panic implementation 2015-05-10 11:58:43 +02:00
Oleg Hahm
828839316b core: renamed crash.h to panic.h 2015-05-09 18:44:10 +02:00
Joakim Gebart
46b9358e84 native: Remove generic atomic_set_return implementation
The removed implementation is the same as the generic implementation in core/atomic.c
2015-05-07 18:52:13 +02:00
Oleg Hahm
3dd3bbb461 transceiver: use transceiver specific broadcast 2015-04-19 20:35:11 +02:00
Cenk Gündoğan
4fae22bf3d cpu/native: do not exit when real_read returns 0 2015-04-06 10:18:46 +02:00
James Hollister
93cff5613f cpu/native: Fix for missing malloc.h in OSX 2015-03-21 01:41:54 -07:00
Ludwig Ortmann
88f1dc5cbc cpu/native: improve daemonization
- detach from working directory
- detach from process group
- set umask
2015-02-17 22:01:02 +01:00
Ludwig Ortmann
9a130e2e84 cpu/native: add some syscall wrappers
Add wrappers for chdir, setsid, and umask.
2015-02-17 22:00:14 +01:00
Ludwig Ortmann
dd2da2fb71 Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Cenk Gündoğan
432f0014c0 cpu: restrict => __restrict 2015-02-08 19:15:14 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Ludwig Ortmann
3465213118 cpu/native: warn about uninitialized random module 2015-01-19 11:21:01 +01:00
Ludwig Ortmann
c4d4458651 Merge pull request #2243 from LudwigOrtmann/native-calloc
native: fix real_calloc, _native_in_calloc  initialization
2015-01-14 14:05:06 +01:00
Ludwig Ortmann
88fa49ab38 cpu/native: add high-quality random implementation
Per default random data is read from `/dev/random` now.

If specified (e.g. `-s 4711`), data is generated by calls to POSIX
random function like before. The POSIX random API is initialize with
the given seed (`srandom(4711);` in this example).
2015-01-14 11:51:23 +01:00
Ludwig Ortmann
3ab73bc633 cpu/native: init _native_in_calloc explicitly 2015-01-11 10:59:49 +01:00
Ludwig Ortmann
f5cfda977a cpu/native: fix real_calloc initialization 2015-01-11 10:59:49 +01:00
Oleg Hahm
6dac96ad1b Merge pull request #1904 from LudwigOrtmann/native_bufferbloat
native: increase buffer size, set defaults conditionally
2015-01-07 03:00:01 +01:00
Ludwig Ortmann
2ec0a1ca02 native/rtc: apply naming conventions 2014-12-16 15:46:56 +01:00
Ludwig Ortmann
474c8afd93 native/rtc: define ENABLE_DEBUG, move include 2014-12-16 15:41:51 +01:00
Ludwig Ortmann
f35981a6d7 native/rtc: improve implementation
* add error checking / warnings
* implement parts of alarm functionality
* clean up
2014-12-13 15:21:52 +01:00
Ludwig Ortmann
37a1a105bc native/rtc: clean up documentation 2014-12-13 15:21:52 +01:00
Ludwig Ortmann
c0ef84bb9f native: move rtc to periph
* adapt implementation to new interface
* remove now superfluous drivers directory
2014-12-13 15:21:52 +01:00
Oleg Hahm
000450c894 Merge pull request #2117 from OlegHahm/doxygen_eliminate_warnings
Doxygen eliminate warnings pt. 2
2014-12-04 17:18:42 +01:00
Ludwig Ortmann
015f5598e4 native: cleanup irq_cpu, native_cpu debug output 2014-12-04 10:48:15 +01:00
Ludwig Ortmann
eb2cc522cd native: forced debug message for SIGUSR1 2014-12-04 10:38:12 +01:00
Oleg Hahm
54bdc35ac8 native: removing externs from native tramp 2014-12-03 15:50:53 +01:00
Oleg Hahm
d92e9af91c doc: fixed broken param descriptions 2014-11-30 22:34:50 +01:00
Oleg Hahm
f8ecbf2a0a doc: add to group instead of redefining 2014-11-30 21:45:24 +01:00
Oleg Hahm
df9c09d946 doc: fixed typos and other misspellings 2014-11-30 21:32:12 +01:00
Oleg Hahm
cc73296d43 doc: added missing titles 2014-11-30 21:22:52 +01:00
Ludwig Ortmann
d11238a5ab native: fix some debug messages
`name` isn't part of `tcb_t` anymore, also some function identified itself
wrongly.
2014-11-28 15:37:28 +01:00
Ludwig Ortmann
00092e8308 native: add time syscalls 2014-11-25 22:47:27 +01:00
Ludwig Ortmann
4de10a2ecb native: coding conventions 2014-11-25 22:47:27 +01:00
Ludwig Ortmann
7901d24053 native: add missing syscall declarations 2014-11-25 22:47:26 +01:00
BytesGalore
a4d2ee307c cpu: added extern "C" to headers 2014-11-24 19:10:15 +01:00
Ludwig Ortmann
adb24b06b8 native: add random peripheral implementation 2014-11-19 14:26:58 +01:00
Ludwig Ortmann
d8641ff525 native: add random syscalls 2014-11-19 14:26:58 +01:00
Martine Lenders
d4e651ad8b Merge pull request #2015 from LudwigOrtmann/native_real-accept
native: add missing syscall declarations
2014-11-17 17:40:32 +01:00
Ludwig Ortmann
8d2a5b22b4 native: add daemonize argv filter
When daemonizing, only the first instance should do so.
2014-11-17 12:51:42 +01:00
Ludwig Ortmann
42e43d5e12 FIXUP: remove erroneous comment 2014-11-17 09:56:03 +01:00
Ludwig Ortmann
acaa6481cb native: add more syscall declarations 2014-11-14 20:52:17 +01:00