3 /*****************************************************************************
5 (c) Cambridge Silicon Radio Limited 2010
6 All rights reserved and confidential information of CSR
8 Refer to LICENSE.txt included with this source for details
11 *****************************************************************************/
12 #include "csr_types.h"
18 /* Synergy techonology ID definitions */
21 #define CSR_TECH_WIFI 2
22 #define CSR_TECH_GPS 3
23 #define CSR_TECH_NFC 4
25 /* Panic type ID definitions for technology type CSR_TECH_FW */
26 #define CSR_PANIC_FW_UNEXPECTED_VALUE 0
27 #define CSR_PANIC_FW_HEAP_EXHAUSTION 1
28 #define CSR_PANIC_FW_INVALID_PFREE_POINTER 2
29 #define CSR_PANIC_FW_EXCEPTION 3
30 #define CSR_PANIC_FW_ASSERTION_FAIL 4
31 #define CSR_PANIC_FW_NULL_TASK_HANDLER 5
32 #define CSR_PANIC_FW_UNKNOWN_TASK 6
33 #define CSR_PANIC_FW_QUEUE_ACCESS_VIOLATION 7
34 #define CSR_PANIC_FW_TOO_MANY_MESSAGES 8
35 #define CSR_PANIC_FW_TOO_MANY_TIMED_EVENTS 9
36 #define CSR_PANIC_FW_ABCSP_SYNC_LOST 10
37 #define CSR_PANIC_FW_OVERSIZE_ABCSP_PRIM 11
38 #define CSR_PANIC_FW_H4_CORRUPTION 12
39 #define CSR_PANIC_FW_H4_SYNC_LOST 13
40 #define CSR_PANIC_FW_H4_RX_OVERRUN 14
41 #define CSR_PANIC_FW_H4_TX_OVERRUN 15
42 #define CSR_PANIC_FW_TM_BC_RESTART_FAIL 16
43 #define CSR_PANIC_FW_TM_BC_START_FAIL 17
44 #define CSR_PANIC_FW_TM_BC_BAD_STATE 18
45 #define CSR_PANIC_FW_TM_BC_TRANSPORT_LOST 19
47 /* Panic interface used by technologies */
48 /* DEPRECATED - replaced by csr_log_text.h */
49 void CsrPanic(CsrUint8 tech, CsrUint16 reason, const char *p);
55 #endif /* CSR_PANIC_H__ */