| 139 | #endif /* RT_USING_SMP */ |
| 140 | |
| 141 | static const char *get_exception_msg(int id) |
| 142 | { |
| 143 | const char *msg; |
| 144 | if (id < sizeof(Exception_Name) / sizeof(const char *)) |
| 145 | { |
| 146 | msg = Exception_Name[id]; |
| 147 | } |
| 148 | else |
| 149 | { |
| 150 | msg = "Unknown Exception"; |
| 151 | } |
| 152 | return msg; |
| 153 | } |
| 154 | |
| 155 | #ifdef RT_USING_SMART |
| 156 | #include "lwp.h" |
no outgoing calls
no test coverage detected