summaryrefslogtreecommitdiff
path: root/src/ao.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-05 21:45:00 -0800
committerKeith Packard <keithp@keithp.com>2009-11-05 21:45:00 -0800
commit83afdbdc154fe013bfe35ce5ecf1d61570b04ed6 (patch)
tree375508051764dff1195a4f0ef091840f761418cf /src/ao.h
parent0358988ac0ee25a564d48af79b1c3fb0c0fe0a88 (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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index 508ed37a..2df81d2a 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -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