diff options
Diffstat (limited to 'sim/bfin/dv-bfin_uart2.c')
-rw-r--r-- | sim/bfin/dv-bfin_uart2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/bfin/dv-bfin_uart2.c b/sim/bfin/dv-bfin_uart2.c index 179574d..16ede50 100644 --- a/sim/bfin/dv-bfin_uart2.c +++ b/sim/bfin/dv-bfin_uart2.c @@ -89,7 +89,7 @@ bfin_uart_io_write_buffer (struct hw *me, const void *source, switch (mmr_off) { case mmr_offset(thr): - uart->thr = bfin_uart_write_byte (me, value); + uart->thr = bfin_uart_write_byte (me, value, uart->mcr); if (uart->ier & ETBEI) hw_port_event (me, DV_PORT_TX, 1); break; @@ -142,7 +142,7 @@ bfin_uart_io_read_buffer (struct hw *me, void *dest, switch (mmr_off) { case mmr_offset(rbr): - uart->rbr = bfin_uart_get_next_byte (me, uart->rbr, NULL); + uart->rbr = bfin_uart_get_next_byte (me, uart->rbr, uart->mcr, NULL); dv_store_2 (dest, uart->rbr); break; case mmr_offset(ier_set): |