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.

Rationale:
A reboot function is already defined in <unistd.h> on BSD systems.
(See: http://www.openbsd.org/cgi-bin/man.cgi?query=reboot&sektion=2)
This patch not only allows native to build sensibly on these systems
but also streamlines RIOTs compatability with existing software.
2014-03-10 11:14:27 +01:00
..
2014-03-10 11:14:27 +01:00
2014-02-11 18:45:06 +01:00
2014-02-24 18:42:13 +01:00
2014-02-23 15:09:43 +01:00
2014-03-05 01:49:31 +01:00
2014-02-18 17:05:01 +01:00
2014-03-10 11:14:27 +01:00