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

174 Commits

Author SHA1 Message Date
Oleg Hahm
7c979751e5 Merge pull request #368 from mehlis/findings
(non critical) findings
2013-11-22 18:52:13 -08:00
Christian Mehlis
a83a6f2b49 fix some defines in tcb.h 2013-11-21 21:38:02 +01:00
Christian Mehlis
f5d412bf9f removed unnecessary stdlib.h include 2013-11-21 00:26:13 +01:00
Ludwig Ortmann
d06e0d8717 rename runtime to reflect the unit of measurement 2013-11-18 12:14:43 +01:00
Ludwig Ortmann
ffd8088d1d proper inttype runtime, declare to import
define runtime long as hwtimer_now() uses long
import hwtimer.h instead of declaring hwtimer_now()
2013-11-16 19:26:02 +01:00
Ludwig Ortmann
05431e9e86 improve comments, rename variable 2013-11-14 12:06:53 +01:00
Ludwig Ortmann
2d419e6648 save one long 2013-11-14 12:06:52 +01:00
Ludwig Ortmann
e8a03a8287 improve fix and comment 2013-11-14 12:06:52 +01:00
Ludwig Ortmann
1ef31b3813 fix race condition in hwtimer_spin 2013-11-14 12:06:52 +01:00
Oleg Hahm
cc45909ffc Merge pull request #236 from OlegHahm/telosb
Telosb
2013-11-14 01:55:47 -08:00
Oleg Hahm
5fea3af233 Merge pull request #294 from authmillenon/rewrite_bitarithm
Use GCC/Clang builtins for bit arithmetics
2013-11-04 12:08:02 -08:00
Oleg Hahm
e44412d0c1 added debug information to msg_send (similar to msg_send_int) 2013-11-03 06:46:13 -08:00
authmillenon
18e97f6dd5 Use GCC/Clang builtins for bit arithmetics 2013-11-03 15:14:28 +01:00
Ludwig Ortmann
4b02701ad0 document msg_init_queue return values 2013-10-28 12:57:10 +01:00
Ludwig Ortmann
37c9b8ebfd fix spelling in msg.h 2013-10-28 12:57:05 +01:00
Ludwig Ortmann
f1b89df8d8 explain the "brainfuck condition" 2013-10-28 12:57:02 +01:00
Ludwig Ortmann
5e6cc92291 harmonize msg.c DEBUG statements
Use same order (function: [thread_name:] message) throughout msg.c.
Begin message with a capital letter.
2013-10-27 08:37:18 +01:00
Ludwig Ortmann
2d1303763e fix spelling in msg.c 2013-10-27 08:13:27 +01:00
Ludwig Ortmann
089a15c110 merge thread_measure_stack_usage declarations 2013-10-24 16:22:55 +02:00
Christian Mehlis
495246d2d4 add thread_getname function 2013-10-17 15:25:43 +02:00
Christian Mehlis
9c70e4501c only include debug functions if needed 2013-10-11 14:21:47 +02:00
Kévin Roussel
d2535f3841 Added missing definition of 'PRIu32' in some RIOT include files
to avoid a bug in mspgcc's standard library
2013-10-09 15:10:22 +02:00
Christian Mehlis
9ace6b4807 add missing inttypes include for PRI macros 2013-09-26 21:10:57 +02:00
Christian Mehlis
21ffebc197 add check for a not existing thread 2013-09-11 19:58:54 +02:00
Christian Mehlis
6da0375197 fix macros in the hwtimer 2013-08-26 21:36:34 +02:00
Oleg Hahm
3ad55cce8b changed default stacksize
* the default stacksize no longer set for a thread using printf
* the stacksize for the main thread therefore adds the necessary space
2013-08-14 18:04:25 +02:00
Oleg Hahm
4d2de87724 Merge pull request #135 from OlegHahm/sched_fixes
Improving sched.h documentation
2013-08-14 06:43:09 -07:00
Oleg Hahm
2981fe0844 Improving sched.h documentation 2013-08-14 14:39:09 +02:00
Oleg Hahm
9fac7c3f5f Merge pull request #134 from OlegHahm/sched_fixes
Scheduler callback
2013-08-14 04:55:27 -07:00
Oleg Hahm
1709fa600c re-added the scheduler callback (the actual call was missing) 2013-08-14 13:53:49 +02:00
Oleg Hahm
7dbb97e376 added documentation for sched.h 2013-08-14 13:53:43 +02:00
Oleg Hahm
932c626c6b moved prototype for sched_register_cb() from C file to header 2013-08-14 13:09:43 +02:00
Oleg Hahm
570c0e717d removed unused (and ambiguous) definitions of active_thread and sched_threads in kernel_init.c 2013-08-14 13:09:43 +02:00
Oleg Hahm
b6fe284331 fix priority comparison in sched_switch 2013-08-12 19:27:04 +02:00
Christian Mehlis
735c41786d remove unused static function 2013-08-12 11:25:07 +02:00
Christian Mehlis
6428bd5546 use std include style 2013-08-12 11:24:57 +02:00
Christian Mehlis
00d618634c add missing include for mutex 2013-08-12 11:24:48 +02:00
Christian Mehlis
a1ce242ffe Merge pull request #113 from mehlis/oneway-calloc
add oneway calloc
2013-08-12 00:55:53 -07:00
Martin Lenders
78db093d09 Merge pull request #105 from OlegHahm/hwtimer_wait
fix for #25 by using mutexes for hwtimer_wait
2013-08-11 11:55:08 -07:00
Christian Mehlis
764e0027f1 add oneway calloc 2013-08-10 11:21:25 +02:00
Martin
63146190b3 fix changed prototype parameter 1 of thread_stack_init from void* to void(*)(void) 2013-08-09 12:19:03 +02:00
Oleg Hahm
3f95d72828 fix for #25 by using mutexes for hwtimer_wait 2013-08-08 20:11:57 +02:00
Oleg Hahm
88d2357295 fix warnings from #62 2013-08-08 18:34:51 +02:00
LudwigOrtmann
07c7e8ccd3 Merge pull request #90 from OlegHahm/milestone_1_0_fixes
Milestone 1 0 fixes
2013-08-08 06:29:22 -07:00
Oleg Hahm
39a4dc684e fixes for #62: eliminate unused parameter warnings
NOTE: this commit introduces a kernel API change for mutex_unlock
2013-08-04 04:10:33 +02:00
Oleg Hahm
836ae0d291 fix #11: initialize queue_node_t n.next in msg_send() 2013-08-02 01:31:00 +02:00
Christian Mehlis
62994314aa in msg_send_receive: return result from msg_send 2013-08-01 22:03:55 +02:00
Oleg Hahm
f7ecc704a4 fixed includes and include pathes 2013-07-29 01:24:02 +02:00
Oleg Hahm
0bd81f14a4 remove header guard from debug.h and repaired debugging on a per file base 2013-07-25 21:56:37 +02:00
Oleg Hahm
ca75d3c36c fixed some includes 2013-07-24 00:44:28 +02:00