|
比如启动函数tx_kernel_enter,调用关系和功能描述都写的比较清楚
- /**************************************************************************/
- /* */
- /* FUNCTION RELEASE */
- /* */
- /* _tx_initialize_kernel_enter PORTABLE C */
- /* 6.0 */
- /* AUTHOR */
- /* */
- /* William E. Lamie, Microsoft Corporation */
- /* */
- /* DESCRIPTION */
- /* */
- /* This function is the first ThreadX function called during */
- /* initialization. It is called from the application's "main()" */
- /* function. It is important to note that this routine never */
- /* returns. The processing of this function is relatively simple: */
- /* it calls several ThreadX initialization functions (if needed), */
- /* calls the application define function, and then invokes the */
- /* scheduler. */
- /* */
- /* INPUT */
- /* */
- /* None */
- /* */
- /* OUTPUT */
- /* */
- /* None */
- /* */
- /* CALLS */
- /* */
- /* _tx_initialize_low_level Low-level initialization */
- /* _tx_initialize_high_level High-level initialization */
- /* tx_application_define Application define function */
- /* _tx_thread_scheduler ThreadX scheduling loop */
- /* */
- /* CALLED BY */
- /* */
- /* main Application main program */
- /* */
- /* RELEASE HISTORY */
- /* */
- /* DATE NAME DESCRIPTION */
- /* */
- /* 05-19-2020 William E. Lamie Initial Version 6.0 */
- /* */
- /**************************************************************************/
复制代码
|
|