1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/include
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
..
atomic.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
attributes.h Portable definition of function attributes 2014-02-12 14:58:59 +01:00
bitarithm.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
cib.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
clist.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
config.h add name to sysconfig 2014-02-06 18:13:48 +01:00
crash.h Fixup for #685 2014-02-26 21:49:54 +01:00
debug.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
flags.h update Kaspar's email address 2014-01-28 11:53:19 +01:00
hwtimer_arch.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
hwtimer.h making include directives consistent 2013-12-19 15:31:37 +01:00
io.h Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
irq.h removed duplicate inISR prototype 2014-02-24 18:42:13 +01:00
kernel_internal.h Change reboot signature. 2014-03-10 11:14:27 +01:00
kernel.h Change reboot signature. 2014-03-10 11:14:27 +01:00
lifo.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
lpm.h Added the LPM_UNKNOWN constant to the enum 'lpm_mode' 2014-01-08 09:56:51 +01:00
msg.h remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
mutex.h add mutex_unlock_and_sleep() 2014-03-03 18:48:35 +01:00
oneway_malloc.h Fixed doxygen comments, focused on file headers and group definitions 2013-12-16 14:00:24 +01:00
queue.h Fixed a lot of comments by removing tabs and correcting format. 2013-12-16 14:00:33 +01:00
sched.h simplified sched_switch 2014-02-25 09:47:58 +01:00
tcb.h core: sched: thread: optimize thread status field usage 2014-02-17 12:28:54 +01:00
thread.h core: sched: thread: optimize thread status field usage 2014-02-17 12:28:54 +01:00