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.


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to