Changeset 408 for trunk/hal/generic/hal_interrupt.h
- Timestamp:
- Dec 5, 2017, 4:20:07 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_interrupt.h
r17 r408 27 27 #include <hal_types.h> 28 28 29 /////////////////////////////////////////////////////////////////////////////////////// ///29 /////////////////////////////////////////////////////////////////////////////////////// 30 30 // Architecture specific interrupt handler API 31 31 // 32 // The interrupted thread context (core registers) has been saved by the hal_kentry 33 // function, in the cpu_uzone array stored in the user thread descriptor (for a core in 34 // user mode), or in the kernel stack (for a core in kernel mode). 35 // This array can be used (or not) by the specific interrupt handler. 36 // 37 // Any architecture specific implementation must implement this API. 38 ////////////////////////////////////////////////////////////////////////////////////////// 32 // The interrupted thread context (CPU registers) has been saved by the hal_kentry 33 // function, in the uzone array, that can be accessed through the "uzone" pointer 34 // stored in the thread descriptor. 35 /////////////////////////////////////////////////////////////////////////////////////// 39 36 40 /**** forward declaration ****/41 37 42 struct thread_s; 43 44 /****************************************************************************************** 38 /************************************************************************************** 45 39 * This function implements the TSAR_MIPS32 specific interrupt handler. 46 ****************************************************************************************** 47 * @ this : pointer on the interrupted thread. 48 * @ regs_tbl : array containing the core registers values, saved by hal_kentry. 49 *****************************************************************************************/ 50 void hal_do_interrupt( struct thread_s * this, 51 reg_t * regs_tbl ); 40 *************************************************************************************/ 41 void hal_do_interrupt(); 52 42 53 43
Note: See TracChangeset
for help on using the changeset viewer.