提交 f48c537d 编写于 作者: B blueswir1

Reset status contains all sent flag


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3863 c046a42c-6fe2-441c-8c8c-71466251a162
上级 85e3023e
......@@ -305,7 +305,7 @@ static void slavio_serial_reset_chn(ChannelState *s)
STATUS_CTS | STATUS_TXUNDRN;
else
s->rregs[R_STATUS] = STATUS_TXEMPTY | STATUS_TXUNDRN;
s->rregs[R_SPEC] = SPEC_BITS8;
s->rregs[R_SPEC] = SPEC_BITS8 | SPEC_ALLSENT;
s->rx = s->tx = 0;
s->rxint = s->txint = 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册