kernel: Add scheduler_op for dumping thread data
This commit is contained in:
@@ -67,6 +67,10 @@ struct scheduler_ops {
|
|||||||
lock.
|
lock.
|
||||||
*/
|
*/
|
||||||
void (*start)(void);
|
void (*start)(void);
|
||||||
|
|
||||||
|
/*! Dumps scheduler specific thread information.
|
||||||
|
*/
|
||||||
|
void (*dump_thread_data)(struct scheduler_thread_data* scheduler_data);
|
||||||
};
|
};
|
||||||
|
|
||||||
extern struct scheduler_ops* gScheduler;
|
extern struct scheduler_ops* gScheduler;
|
||||||
|
|||||||
Reference in New Issue
Block a user