Commit Graph

5 Commits (13832d8e621027bfbd636b32d4c29ede32178e9d)

Author SHA1 Message Date
Joakim Gebart 13832d8e62 everything: Remove filename from @file Doxygen command 8 years ago
Ludwig Ortmann 3ca4f18479 doc: use lgplv2.1-short license header instead of lgpl-short-riot 9 years ago
Ludwig Ortmann 98bbb80571 documentation: append my email to my name everywhere 10 years ago
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
10 years ago
Ludwig Ortmann 063a15ce9b Change reboot signature.
Change from `void reboot(void)` to `int reboot(int mode)`.
Move reboot definition to core, rename architecture implementations
from reboot to reboot_arch.
Declare reboot mode(s) in kernel.h, reboot_arch in kernel_internal.h
Currently only one reboot mode is handled, its use is enforced.

A reboot function is already defined in <unistd.h> on BSD systems.
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
10 years ago