Mark3 Realtime Kernel
paniccodes.h
Go to the documentation of this file.
1 /*===========================================================================
2  _____ _____ _____ _____
3  ___| _|__ __|_ |__ __|__ |__ __| __ |__ ______
4 | \ / | || \ || | || |/ / ||___ |
5 | \/ | || \ || \ || \ ||___ |
6 |__/\__/|__|_||__|\__\ __||__|\__\ __||__|\__\ __||______|
7  |_____| |_____| |_____| |_____|
8 
9 --[Mark3 Realtime Platform]--------------------------------------------------
10 
11 Copyright (c) 2012 - 2019 m0slevin, all rights reserved.
12 See license.txt for more information
13 ===========================================================================*/
20 #pragma once
21 
22 #define PANIC_ASSERT_FAILED (1)
23 #define PANIC_LIST_UNLINK_FAILED (2)
24 #define PANIC_STACK_SLACK_VIOLATED (3)
25 #define PANIC_AUTO_HEAP_EXHAUSTED (4)
26 #define PANIC_POWERMAN_EXHAUSTED (5)
27 #define PANIC_NO_READY_THREADS (6)
28 #define PANIC_RUNNING_THREAD_DESCOPED (7)
29 #define PANIC_ACTIVE_SEMAPHORE_DESCOPED (8)
30 #define PANIC_ACTIVE_MUTEX_DESCOPED (9)
31 #define PANIC_ACTIVE_EVENTFLAG_DESCOPED (10)
32 #define PANIC_ACTIVE_NOTIFY_DESCOPED (11)
33 #define PANIC_ACTIVE_MAILBOX_DESCOPED (12)
34 #define PANIC_ACTIVE_TIMER_DESCOPED (13)
35 #define PANIC_ACTIVE_COROUTINE_DESCOPED (14)