1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/shell/commands
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
..
Makefile shell: remove clutter from shell's Makefile 2014-03-04 21:12:17 +01:00
sc_cc1100.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_disk.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_heap.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_id.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_ltc4150.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_mersenne.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_net_if.c Fix address output of net_if shell command 2014-03-09 08:45:03 +00:00
sc_ps.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_rtc.c Fix _settime_handler 2014-02-26 14:08:54 +01:00
sc_sht11.c Use argc and argv in shell handlers 2014-02-25 17:54:17 +01:00
sc_sys.c Change reboot signature. 2014-03-10 11:14:27 +01:00
sc_transceiver.c Implement net_if module 2014-02-28 23:13:22 +01:00
shell_commands.c Add shell commands for interface configuration 2014-03-01 00:48:42 +01:00