Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
csr_panic.h
Go to the documentation of this file.
1 #ifndef CSR_PANIC_H__
2 #define CSR_PANIC_H__
3 /*****************************************************************************
4 
5  (c) Cambridge Silicon Radio Limited 2010
6  All rights reserved and confidential information of CSR
7 
8  Refer to LICENSE.txt included with this source for details
9  on the license terms.
10 
11 *****************************************************************************/
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15 
16 /* Synergy techonology ID definitions */
17 #define CSR_TECH_FW 0
18 #define CSR_TECH_BT 1
19 #define CSR_TECH_WIFI 2
20 #define CSR_TECH_GPS 3
21 #define CSR_TECH_NFC 4
22 
23 /* Panic type ID definitions for technology type CSR_TECH_FW */
24 #define CSR_PANIC_FW_UNEXPECTED_VALUE 0
25 #define CSR_PANIC_FW_HEAP_EXHAUSTION 1
26 #define CSR_PANIC_FW_INVALID_PFREE_POINTER 2
27 #define CSR_PANIC_FW_EXCEPTION 3
28 #define CSR_PANIC_FW_ASSERTION_FAIL 4
29 #define CSR_PANIC_FW_NULL_TASK_HANDLER 5
30 #define CSR_PANIC_FW_UNKNOWN_TASK 6
31 #define CSR_PANIC_FW_QUEUE_ACCESS_VIOLATION 7
32 #define CSR_PANIC_FW_TOO_MANY_MESSAGES 8
33 #define CSR_PANIC_FW_TOO_MANY_TIMED_EVENTS 9
34 #define CSR_PANIC_FW_ABCSP_SYNC_LOST 10
35 #define CSR_PANIC_FW_OVERSIZE_ABCSP_PRIM 11
36 #define CSR_PANIC_FW_H4_CORRUPTION 12
37 #define CSR_PANIC_FW_H4_SYNC_LOST 13
38 #define CSR_PANIC_FW_H4_RX_OVERRUN 14
39 #define CSR_PANIC_FW_H4_TX_OVERRUN 15
40 #define CSR_PANIC_FW_TM_BC_RESTART_FAIL 16
41 #define CSR_PANIC_FW_TM_BC_START_FAIL 17
42 #define CSR_PANIC_FW_TM_BC_BAD_STATE 18
43 #define CSR_PANIC_FW_TM_BC_TRANSPORT_LOST 19
44 
45 /* Panic interface used by technologies */
46 /* DEPRECATED - replaced by csr_log_text.h */
47 void CsrPanic(u8 tech, u16 reason, const char *p);
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* CSR_PANIC_H__ */