Lines Matching refs:id
141 static const char *get_exception_msg(int id) in get_exception_msg() argument
144 if (id < sizeof(Exception_Name) / sizeof(const char *)) in get_exception_msg()
146 msg = Exception_Name[id]; in get_exception_msg()
160 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_user() local
166 switch (id) in handle_user()
226 LOG_E("[FATAL ERROR] Exception %ld:%s\n", id, get_exception_msg(id)); in handle_user()
292 #define PAGE_FAULT (id == EP_LOAD_PAGE_FAULT || id == EP_STORE_PAGE_FAULT)
299 rt_ubase_t id = __MASKVALUE(scause, __MASK(63UL)); in handle_trap() local
321 if (id < sizeof(Interrupt_Name) / sizeof(const char *)) in handle_trap()
323 msg = Interrupt_Name[id]; in handle_trap()
330 LOG_E("Unhandled Interrupt %ld:%s\n", id, msg); in handle_trap()
352 rt_kprintf("Unhandled Exception %ld:%s\n", id, in handle_trap()
353 get_exception_msg(id)); in handle_trap()