1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/arm_common
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 put prototype for thread_yield() in core/include 2013-12-18 17:47:49 +01:00
arm_cpu.c Change reboot signature. 2014-03-10 11:14:27 +01:00
atomic.s remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
bootloader.c Merge pull request #437 from OlegHahm/include_directives 2013-12-19 08:38:14 -08:00
common.s remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
crash.c Change reboot signature. 2014-03-10 11:14:27 +01:00
Makefile remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
Makefile.include remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00
syscalls.c fixed typo 2014-02-26 08:18:17 +01:00
VIC.c remove trailing whitespace and newlines 2014-02-11 18:45:06 +01:00