diff options
author | Keith Packard <keithp@keithp.com> | 2009-11-05 21:45:00 -0800 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-11-05 21:45:00 -0800 |
commit | 83afdbdc154fe013bfe35ce5ecf1d61570b04ed6 (patch) | |
tree | 375508051764dff1195a4f0ef091840f761418cf /src/ao.h | |
parent | 0358988ac0ee25a564d48af79b1c3fb0c0fe0a88 (diff) |
Add reboot command.
This resets the processor using the watchdog timer.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/ao.h')
-rw-r--r-- | src/ao.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -107,6 +107,7 @@ ao_start_scheduler(void); #define AO_PANIC_LOG 5 /* Failing to read/write log data */ #define AO_PANIC_CMD 6 /* Too many command sets registered */ #define AO_PANIC_STDIO 7 /* Too many stdio handlers registered */ +#define AO_PANIC_REBOOT 8 /* Reboot failed */ /* Stop the operating system, beeping and blinking the reason */ void |