RTEMS | TMS570: printk output waits unnecessarily for (#5553)
Avi Weiss (@thnkslprpt)
gitlab at rtems.org
Sat Apr 18 12:45:48 UTC 2026
Avi Weiss created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5553
## Summary
Once you see `TXRDY`, the TX data buffer is ready to be loaded with more data.
No need to wait for `TX EMPTY` bit to bet set after writing the character to output successfully.
This just slows down the printk path a bit without significant benefit.
Code snip:
https://gitlab.rtems.org/rtems/rtos/rtems/-/blob/main/bsps/arm/tms570/console/printk-support.c?ref_type=heads#L83-85
## Steps to reproduce
n/a - code review
## Expected behaviour
Skip to return/end function instead of waiting for empty.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5553
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260418/333f3b2f/attachment.htm>
More information about the bugs
mailing list