| 140 | * @note This function has UP version and MP version. |
| 141 | */ |
| 142 | struct rt_cpu *rt_cpu_self(void) |
| 143 | { |
| 144 | return &_cpus[rt_hw_cpu_id()]; |
| 145 | } |
| 146 | |
| 147 | /** |
| 148 | * @brief This fucntion will return the cpu object corresponding to index. |
no test coverage detected