diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-15 11:17:28 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2011-08-22 10:17:15 -0500 |
commit | 2cc6e0a14210d2e80173ec6b4611e7e3c50c2cce (patch) | |
tree | b9a5883e50ebcee0f3f506de1523b84a597f6e8f /hw/syborg_serial.c | |
parent | 0bf1dbdcc935dfc220a93cd990e947e90706aec6 (diff) |
char: rename qemu_chr_write() -> qemu_chr_fe_write()
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/syborg_serial.c')
-rw-r--r-- | hw/syborg_serial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/syborg_serial.c b/hw/syborg_serial.c index 4d0ec04e31..c83f82c36e 100644 --- a/hw/syborg_serial.c +++ b/hw/syborg_serial.c @@ -119,7 +119,7 @@ static void do_dma_tx(SyborgSerialState *s, uint32_t count) /* optimize later. Now, 1 byte per iteration */ while (count--) { cpu_physical_memory_read(s->dma_tx_ptr, &ch, 1); - qemu_chr_write(s->chr, &ch, 1); + qemu_chr_fe_write(s->chr, &ch, 1); s->dma_tx_ptr++; } } else { @@ -203,7 +203,7 @@ static void syborg_serial_write(void *opaque, target_phys_addr_t offset, case SERIAL_DATA: ch = value; if (s->chr) - qemu_chr_write(s->chr, &ch, 1); + qemu_chr_fe_write(s->chr, &ch, 1); break; case SERIAL_INT_ENABLE: s->int_enable = value; |