]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyve(8): Fix uart emulation bug
authorcem <cem@FreeBSD.org>
Thu, 14 Mar 2019 21:08:48 +0000 (21:08 +0000)
committercem <cem@FreeBSD.org>
Thu, 14 Mar 2019 21:08:48 +0000 (21:08 +0000)
commitcc0c4aa1a34480f907883e15c627456523ec6d9c
treee6066931fc8d15b3d087255dbd9d11087d14d642
parent9a0b1f58827f73a1c62c6047f63d507ce47df24b
bhyve(8): Fix uart emulation bug

THRE is always asserted in LSR reads, so REG_IER writes that raise
IER_ETXRDY must also set thre_int_pending.

Reported by: Illumos, according to emaste@
https://twitter.com/ed_maste/status/1106195949087584258
MFC after: 2 weeks
usr.sbin/bhyve/uart_emul.c