mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -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
|
@ -98,7 +98,7 @@ static uint64_t stm32f2xx_usart_read(void *opaque, hwaddr addr,
|
|||
retvalue = s->usart_sr;
|
||||
s->usart_sr &= ~USART_SR_TC;
|
||||
if (s->chr.chr) {
|
||||
qemu_chr_accept_input(s->chr.chr);
|
||||
qemu_chr_fe_accept_input(s->chr.chr);
|
||||
}
|
||||
return retvalue;
|
||||
case USART_DR:
|
||||
|
@ -106,7 +106,7 @@ static uint64_t stm32f2xx_usart_read(void *opaque, hwaddr addr,
|
|||
s->usart_sr |= USART_SR_TXE;
|
||||
s->usart_sr &= ~USART_SR_RXNE;
|
||||
if (s->chr.chr) {
|
||||
qemu_chr_accept_input(s->chr.chr);
|
||||
qemu_chr_fe_accept_input(s->chr.chr);
|
||||
}
|
||||
qemu_set_irq(s->irq, 0);
|
||||
return s->usart_dr & 0x3FF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue