aboutsummaryrefslogtreecommitdiff
path: root/ui/input-linux.c
diff options
context:
space:
mode:
authorNathaniel Graff <nathaniel.graff@sifive.com>2018-12-14 00:19:12 +0000
committerPalmer Dabbelt <palmer@sifive.com>2018-12-20 12:08:43 -0800
commit40061ac0bc5bdfcfa1234dbf8e2a880fd9fc4c2e (patch)
tree3c7115f4b802338996e5925858f2fc8d145abe4c /ui/input-linux.c
parent194eef09d06358ea50b52340df853e9beeccce15 (diff)
downloadqemu-40061ac0bc5bdfcfa1234dbf8e2a880fd9fc4c2e.zip
qemu-40061ac0bc5bdfcfa1234dbf8e2a880fd9fc4c2e.tar.gz
qemu-40061ac0bc5bdfcfa1234dbf8e2a880fd9fc4c2e.tar.bz2
sifive_uart: Implement interrupt pending register
The watermark bits are set in the interrupt pending register according to the configuration of txcnt and rxcnt in the txctrl and rxctrl registers. Since the UART TX does not implement a FIFO, the txwm bit is set as long as the TX watermark level is greater than zero. Signed-off-by: Nathaniel Graff <nathaniel.graff@sifive.com> Reviewed-by: Michael Clark <mjc@sifive.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Diffstat (limited to 'ui/input-linux.c')
0 files changed, 0 insertions, 0 deletions