1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core
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
..
include Change reboot signature. 2014-03-10 11:14:27 +01:00
bitarithm.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
cib.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
clist.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
doc.txt remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
hwtimer.c removed duplicate inISR prototype 2014-02-24 18:42:13 +01:00
kernel_init.c always build and initialize hwtimer 2014-02-24 18:36:28 +01:00
lifo.c core: lifo: added the right author 2014-02-23 15:09:43 +01:00
Makefile removed redundant include pathes from Makefiles 2014-01-05 16:11:08 +01:00
msg.c core: msg: yield after queueing of a message if REPLY_BLOCKED 2014-02-13 11:33:18 +01:00
mutex.c core:mutex: remove refactor remnant 2014-03-05 01:49:31 +01:00
oneway_malloc.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
queue.c fix warning: invalid suffix on literal 2014-02-18 17:05:01 +01:00
reboot.c Change reboot signature. 2014-03-10 11:14:27 +01:00
sched.c Merge pull request #725 from kaspar030/optimize_thread_status_usage 2014-03-05 17:30:31 +01:00
thread.c Merge pull request #725 from kaspar030/optimize_thread_status_usage 2014-03-05 17:30:31 +01:00