qemu/include
Frank Chang e42c35ff87 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:11:12 +03:00
..
accel include: Don't include guest-host.h in cpu-ldst.h 2026-05-14 22:28:26 +03:00
authz
block block: Add blk_co_start/end_request() and BDRV_REQ_NO_QUEUE 2026-05-20 11:22:08 +03:00
chardev monitor/qmp: cleanup SocketChardev listener sources early to avoid fd handling race 2026-01-08 17:44:39 +03:00
crypto crypto: support upto 5 parallel certificate identities 2025-11-03 10:45:55 +00:00
disas disas: Fix build against Capstone v6 (again) 2024-11-05 10:09:59 +00:00
exec exec/cpu: Declare cpu_memory_rw_debug() in 'hw/core/cpu.h' and document 2025-11-03 11:59:32 +01:00
fpu fpu: Move m68k_denormal fmt flag into floatx80_behaviour 2025-02-25 15:32:57 +00:00
gdbstub gdbstub/helpers: Replace TARGET_BIG_ENDIAN -> target_big_endian() 2025-07-15 02:56:39 -04:00
hw hw/char: sifive_uart: Implement txctrl.txen and rxctrl.rxen 2026-05-26 17:11:12 +03:00
io io: separate freeing of tasks from marking them as complete 2026-03-11 16:42:36 +03:00
libdecnumber include/libdecnumber: replace FSF postal address with licenses URL 2025-06-26 00:42:37 +02:00
migration Revert "migration/vmstate: remove VMSTATE_BUFFER_POINTER_UNSAFE macro" 2025-12-09 21:00:15 +01:00
monitor qdev: add qdev_find_default_bus() 2025-10-29 22:53:41 +04:00
net qom: remove redundant typedef when use OBJECT_DECLARE_SIMPLE_TYPE 2025-10-28 08:08:04 +01:00
qapi error: Kill @error_warn 2025-10-01 08:33:24 +02:00
qemu osdep: Undefine FSCALE definition to fix Solaris builds 2025-12-09 20:42:53 +01:00
qobject qobject: make refcount atomic 2025-10-28 13:02:26 +01:00
qom qom: reverse order of instance_post_init calls 2025-05-20 08:18:53 +02:00
scsi hw/ufs: Support for UFS logical unit 2023-09-07 14:01:29 -04:00
semihosting include/semihosting/common-semi: extract common_semi API 2025-09-26 09:55:19 +01:00
standard-headers linux-headers: Update to Linux v6.18-rc3 2025-10-30 10:33:55 +08:00
system block: Add flags parameter to blk_*_pdiscard() 2026-05-20 11:22:08 +03:00
tcg tcg/tci: Disable -Wundef FFI_GO_CLOSURES warning 2025-12-05 07:50:15 -06:00
ui ui/gtk: Add scale option 2025-07-15 10:22:33 +04:00
user include/user/guest-host.h: Provide g2h etc for both abi_ptr and vaddr 2026-05-14 22:28:26 +03:00
elf.h elf: Add EF_MIPS_ARCH_ASE definitions 2025-09-02 17:57:05 +02:00
glib-compat.h include/glib-compat.h: Poison g_list_sort and g_slist_sort 2025-05-06 16:02:04 +02:00
qemu-io.h
qemu-main.h ui & main loop: Redesign of system-specific main thread event handling 2024-12-31 21:21:34 +01:00