Files
qemu/include
Frank Chang b36f00f785 hw/char: sifive_uart: Implement txctrl.txen and rxctrl.rxen
Implement txctrl.txen and rxctrl.rxen as follows:

* txctrl.txen
  The txen bit controls whether the Tx channel is active. When cleared,
  transmission of Tx FIFO contents is suppressed, and the txd pin is
  driven high.

* rxctrl.rxen:
  The rxen bit controls whether the Rx channel is active. When cleared,
  the state of the rxd pin is ignored, and no characters will be
  enqueued into the Rx FIFO.

Therefore, the Tx FIFO should not be dequeued when txctrl.txen is
cleared, and the Rx FIFO should not be enqueued when rxctrl.rxen is
cleared.

Signed-off-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-ID: <20260312033201.1619554-2-frank.chang@sifive.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
(cherry picked from commit e6051fa61b)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2026-05-26 17:14:50 +03:00
..
2025-03-14 09:29:19 -03:00
2024-06-30 19:51:44 +03:00
2024-11-25 13:59:50 +08:00
2025-01-10 23:34:44 +01:00
2023-09-07 14:01:29 -04:00
2025-09-04 23:16:52 +03:00