mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
char: rename some frontend functions
qemu_chr_accept_input() and qemu_chr_disconnect() are only used by frontend, so use qemu_chr_fe prefix. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20161022095318.17775-14-marcandre.lureau@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
32a6ebecd2
commit
7fa47e2a80
18 changed files with 27 additions and 27 deletions
|
@ -289,7 +289,7 @@ static uint16_t io_read(IPackDevice *ip, uint8_t addr)
|
|||
ch->sr &= ~SR_RXRDY;
|
||||
blk->isr &= ~ISR_RXRDY(channel);
|
||||
if (ch->dev.chr) {
|
||||
qemu_chr_accept_input(ch->dev.chr);
|
||||
qemu_chr_fe_accept_input(ch->dev.chr);
|
||||
}
|
||||
} else {
|
||||
ch->rhr_idx = (ch->rhr_idx + 1) % RX_FIFO_SIZE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue