#include <sys/irq.h>
Go to the source code of this file.
Functions | |
void | power_off (void) |
enters software standby mode. | |
void | power_init (void) |
disables software standby mode so tm_idle_task() can use the sleep | |
void | reset (void) __attribute__((noreturn)) |
erases BrickOS, returning control to ROM. | |
void | rom_reset (void) __attribute__((noreturn)) |
turns off interrupts, then issues reset. |
Definition in file system.h.
void power_init | ( | void | ) | [inline] |
disables software standby mode so tm_idle_task() can use the sleep
Definition at line 54 of file system.h.
References __asm__().
Referenced by kmain().
void power_off | ( | void | ) | [inline] |
void reset | ( | void | ) |
void rom_reset | ( | void | ) | [inline] |
turns off interrupts, then issues reset.
Definition at line 68 of file system.h.
References disable_irqs(), and reset().
Referenced by kmain().
brickOS is released under the
Mozilla Public License.
Original code copyright 1998-2005 by the authors. |