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

26 Commits

Author SHA1 Message Date
Martine S. Lenders
c2e1b8afea
core/cib: fix documented maximum size restrictions
MAXINT is not a defined value and since the types are unsigned also
misleading.
2020-06-19 15:08:58 +02:00
8efe5960aa core: uncrustify 2020-03-30 17:02:08 +02:00
Sebastian Meiling
dceff6c22f doxygen: use ingroup instead of addtogroup in core 2019-01-09 08:42:59 +01:00
a8ec624ac4 core: cib: fix overflow handling 2017-11-22 17:53:16 +01:00
9bfea9410e cib: add unsafe operations 2016-07-18 16:14:19 +02:00
Victor Arino
de173ff48f core/cib: add peek capabilities 2016-07-14 16:47:03 +02:00
Cenk Gündoğan
e7b86361e2 cib: check (write > read) explicitly 2016-04-12 08:06:13 +02:00
Cenk Gündoğan
2adc0eae75 cib: doc fix 2016-04-09 13:01:32 +02:00
IldarValiev
475b1af26d core: added assert to cib_init() 2016-03-10 13:32:00 +01:00
IldarValiev
a8391e346e core: added documentation to cib.h
size can be equal 0 or 2^n only. Because else mask won't consist of consecutive '1' only (e.g., 0b00111111) and functions cib_get() and cib_put() will return wrong values.
2016-03-09 01:53:12 +01:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
altairpearl
a409191b71 core: Updated include guards to remove leading underscores 2015-03-30 06:10:58 +05:30
Ludwig Ortmann
d701cefd5e Revert "core: limit message queue size" 2015-03-27 22:46:40 +01:00
Darredevil
d5542beb91 core/include/cib: repaired file include guards 2015-03-24 22:38:29 +02:00
Alexandru Caciulescu
a53e06a772 core: limit message queue size 2015-03-24 22:19:38 +02:00
Oleg Hahm
6310927ed7 doc: document internal cib init macro 2014-12-04 15:11:42 +01:00
René Kijewski
8a9220a85c core: cib size must not exceed MAXINT/2 2014-11-26 18:04:54 +01:00
René Kijewski
a07b44781d C++ -_- 2014-11-11 21:07:40 +01:00
René Kijewski
ab545f83b0 core: inline cib.c
The functions in `cib.h` are only used in `msg.c`. They are very small,
and proper function calls have a bigger overhead than inlining these
functions.

The difference in .text size (worst to best):

```
+104 native
+69  qemu-i386
+32  mbed_lpc1768
+28  samr21-xpro

-54  chronos
-54  z1
-56  iot-lab_M3
-56  msb-430
-56  msb-430h
-56  msba2
-56  openmote
-56  spark-core
-56  telosb
-56  wsn430-v1_3b
-56  wsn430-v1_4
-58  arduino-mega2560
-60  airfy-beacon
-60  arduino-due
-60  f4vi1
-60  msbiot
-60  pca10000
-60  pca10005
-60  stm32f0discovery
-60  stm32f3discovery
-60  stm32f4discovery
-60  udoo
-60  yunjia-nrf51822
-72  avsextrem
-72  pttu
-120 redbee-econotag
```
2014-11-11 17:40:18 +01:00
Pham Huu Dang Nhat
2ded32dee7 c++: core: add extern C in header files 2014-10-09 06:18:16 +07:00
Ludwig Ortmann
b7992922ce fix license headers in non-.c files 2014-08-23 16:16:26 +02:00
Thomas Eichinger
d566ae9a28 fix doxygen documentation for clist.h, config.h, tcb.h and cib.h 2014-04-17 11:50:52 +02:00
Ludwig Ortmann
2525920426 remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Hauke Petersen
3785fe956b Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +01:00
Oliver Hahm
ffeb6f8523 fixed coding conventions (correctly this time) 2013-06-20 18:18:29 +02:00
cb1d5c7ab3 * added circular index buffer implementation 2010-11-26 13:15:01 +01:00