Add a comment about an inherent race with hardware in the Altera JTAG
UART's low-level console code.
This commit is contained in:
parent
70ca316a5d
commit
2ea26cf579
@ -221,6 +221,9 @@ aju_cons_write(char ch)
|
|||||||
* disconnection.
|
* disconnection.
|
||||||
*
|
*
|
||||||
* XXXRW: The polling delay may require tuning.
|
* 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();
|
v = aju_cons_control_read();
|
||||||
if (v & ALTERA_JTAG_UART_CONTROL_AC) {
|
if (v & ALTERA_JTAG_UART_CONTROL_AC) {
|
||||||
|
Loading…
Reference in New Issue
Block a user