Changeset 408 for trunk/hal/generic/hal_exception.h
- Timestamp:
- Dec 5, 2017, 4:20:07 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_exception.h
r380 r408 45 45 // a message on TXT0, disable IRQs and call the hal_core_sleep() function. 46 46 // 47 // For all exceptions, the faulty core context has been saved in a registers array 48 // stored in the user thread descriptor (for a core in user mode), and in the 49 // kernel stack (for a core in kernel mode). 50 // 51 // Any architecture specific implementation must implement this API. 47 // For all exceptions, the faulty core registers have been saved in the "uzone" 48 // that can be accessed through the "uzone" pointer stored in thread descriptor. 52 49 ////////////////////////////////////////////////////////////////////////////////////////// 53 50 54 /**** forward declaration ****/55 56 struct thread_s;57 51 58 52 /***************************************************************************************** 59 53 * This function is called by the hal_kentry() function when an exception is detected by 60 54 * the hardware for a given thread running on a given core. 61 *****************************************************************************************62 * @ this : pointer on the faulty thread descriptor.63 * @ regs_tbl : array containing the core registers values saved by hal_kentry().64 55 ****************************************************************************************/ 65 void hal_do_exception( struct thread_s * this, 66 reg_t * regs_tbl ); 56 void hal_do_exception(); 67 57 68 58 #endif // _HAL_EXCEPTION_H_
Note: See TracChangeset
for help on using the changeset viewer.