Add a comment about an inherent race with hardware in the Altera JTAG

UART's low-level console code.
This commit is contained in:
Robert N. M. Watson 2014-08-17 19:43:28 +00:00
parent 70ca316a5d
commit 2ea26cf579

View File

@ -221,6 +221,9 @@ aju_cons_write(char ch)
* disconnection.
*
* XXXRW: The polling delay may require tuning.
*
* XXXRW: Notice the inherent race with hardware: in clearing the
* bit, we may race with hardware setting the same bit.
*/
v = aju_cons_control_read();
if (v & ALTERA_JTAG_UART_CONTROL_AC) {