Oleg Hahm
206b75933e
doc: fixed remaining doxygen warnings in core
...
Only one warning remains and will be fixed in a separate commit.
2014-10-23 18:30:09 +02:00
BytesGalore
74161f0f2d
core: moved #include
s outside the extern "C"
guards
2014-10-21 13:46:04 +02:00
René Kijewski
862000b715
core: align stack on a 32bit boundary
...
Fixes #1267 .
2014-10-17 18:22:37 +02: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
René Kijewski
2cb4166c3e
all over the place: use sched_active_pid
...
In many places we needlessly use `sched_active_thread->pid` whilst we
already have `sched_active_pid` with the same value, and one less
indirection.
`thread_getpid()` is made `static inline` so that there is no penalty in
using this function over accessing `sched_active_pid` directly.
2014-08-17 21:04:25 +02:00
René Kijewski
a7e5157fd9
core: add thread_get()
...
Remove PID check duplication in `thread_getstatus()` and
`thread_getname()`.
2014-08-15 01:16:13 +02:00
René Kijewski
f7bdc7e4fe
core: thread_measure_stack_free() is only useful for DEVELHELP
2014-08-02 00:35:41 +02:00
Oleg Hahm
983d056c75
core: harmonizes the data type for the process ID
...
Instead of using differing integer types use kernel_pid_t for process
identifier. This type is introduced in a new header file to avoid
circular dependencies.
2014-08-01 12:02:54 +02:00
Ludwig Ortmann
b6846e31fc
doc: fix most occurences of FU as an author
...
.. but only if there are other authors as well
2014-07-29 17:23:11 +02:00
Ludwig Ortmann
a585eaf752
core/sched: remove MODULE_NSS helpers (API CHANGE)
...
remove thread_getlastpid and last_pid from the API, it is unused
2014-07-12 07:30:31 +02:00
Ludwig Ortmann
5ebdf6e745
core/thread: remove thread_create_arg from header
...
It's just a leftover from #856
2014-07-09 18:01:31 +02:00
René Kijewski
ba1a15535b
core: remove extra thread_create_arg() function
2014-07-09 10:28:23 +02:00
René Kijewski
867246a09f
Add argument to thread_create
2014-07-09 10:07:54 +02:00
Oleg Hahm
ef5ec344fd
core: prefix API functions correctly
...
Also changed names for bitarithm functions and rename thread_pid to sched_active_pid.
2014-05-18 08:53:20 +02:00
Hauke Petersen
7df411e7b7
core: improved doxygen documentation
...
improved files complient to issue #950
- thread.h
- flags.h
- debug.h
- crash.h
2014-05-15 10:52:34 +02:00
Hauke Petersen
608afc4777
Introduced a cleaned-up cpu/core interface
...
- Included a collection of cpu-dependent headers in core/include/arch
- Extracted all interfaces that need to be implemented for a cpu
- Created a mapping between those interfaces and the old ones
- added flag for disabling arch interface
- added missing state to lpm_arch interface
- added arch interface for reboot
- fixed newline issues that were pointed out
- documentation fixes to cpu-core interface
2014-05-09 16:01:13 +02:00
36981c95b9
core: sched: thread: optimize thread status field usage
...
see PR #716 for discussion
2014-02-17 12:28:54 +01:00
Ludwig Ortmann
bcbe6bf5c8
thread_measure_stack_ usage -> free
...
Rename the function as its name suggests the opposite of what it does.
2014-01-20 10:46:20 +01:00
Ludwig Ortmann
81608bdab5
thread_measure_stack_usage documentation
...
fix documentation - the return value is the opposite of what it said
add and improve comments
renamed space to space_free (the name is documentation as well)
2014-01-20 10:42:59 +01:00
Oleg Hahm
903ec54a43
making include directives consistent
2013-12-19 15:31:37 +01:00
Oleg Hahm
227c847135
put prototype for thread_yield() in core/include
2013-12-18 17:47:49 +01:00
Hauke Petersen
3785fe956b
Fixed doxygen comments, focused on file headers and group definitions
2013-12-16 14:00:24 +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
Oliver Hahm
ffeb6f8523
fixed coding conventions (correctly this time)
2013-06-20 18:18:29 +02:00
Ludwig Ortmann
c6553f6492
interrupt handling rewrite
...
(including uart0 integration, rt-extension removal)
2013-05-14 18:31:47 +02:00
Oleg Hahm
2ed63bd5c6
* removed outdated (and probably confusing) FeuerWhere project as an author
2013-03-08 11:30:23 +01:00
Oleg Hahm
3791039974
* integrated makefiles
...
* fixed some prototypes
* restructured sys
2013-02-06 13:20:21 +01:00
Oliver Hahm
4162a2aff8
[core thread]
...
* added thread_getlastpid() to header
2012-11-13 17:26:43 +01:00
Oliver Hahm
23cd123bdb
[core thread]
...
* fixed wrong struct name in macro
2011-04-04 13:15:21 +02:00
Oleg
416029d2c0
* changed default project from "hello-world" to "default"
...
* increased main priority to the half of maximum priority
* introduced define for minimum stack size
* decreased stack size for uart0 thread
* merged commands for rtc shell module to one command (date)
* cleanup of header includes
2010-11-05 19:33:45 +01:00
2bf64ea4d0
* make doc reflect latest API change
2010-11-04 16:51:04 +01:00
eff0b1980f
* API CHANGE! changed thread_create so it allocates tcb on stack, removing first argument
2010-11-04 16:47:24 +01:00
1e238e4131
* massive name changes
2010-10-28 11:29:03 +02:00
f945b72067
* API CHANGE: thread_create no longer uses malloc
2010-10-25 15:40:01 +02:00
867fd7f293
* pull in VERY useful defines in thread.h
2010-09-30 15:08:50 +02:00
91ae1eb6fd
* import from old firekernel repository
2010-09-22 15:10:42 +02:00