This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] RTOS/AM5718:当前 BIOS 线程

Guru**** 2589280 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/641316/rtos-am5718-current-bios-thread

器件型号:AM5718

工具/软件:TI-RTOS

为了进行调试、想知道当前线程句柄、是否有这样的 BIOS API?

例如、在 HWI 和 SWI 这两个任务中都将调用函数、希望知道函数在哪个线程中调用。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    RTOS 团队已收到通知。 他们将在这里作出回应。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好、Tony、

    有 BIOS.getThreadType()。 它返回您当前是处于任务中、Swi、Hwi 还是 main()。

    Todd