Commit Graph

3 Commits (8fc2e61e2053c4d62b8ad591bfd81e0a72c0b251)

Author SHA1 Message Date
Hinnerk van Bruinehsen 129e9b0bfa cpu: multiple: change size_t to ptrdiff_t for_sbrk_r 9 years ago
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.
9 years ago
Hauke Petersen 2fa9b4de82 cpu: Initial import of stm32f4 9 years ago