projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: bfin: fix UART LSR read-only bit saturation
[deliverable/binutils-gdb.git]
/
sim
/
bfin
/
dv-bfin_uart2.c
diff --git
a/sim/bfin/dv-bfin_uart2.c
b/sim/bfin/dv-bfin_uart2.c
index facde1c6cd24a3c6aaf3a650f7089e39b814eadb..179574d30df53cab07913c83464b726f901f373d 100644
(file)
--- a/
sim/bfin/dv-bfin_uart2.c
+++ b/
sim/bfin/dv-bfin_uart2.c
@@
-151,6
+151,7
@@
bfin_uart_io_read_buffer (struct hw *me, void *dest,
bfin_uart_reschedule (me);
break;
case mmr_offset(lsr):
+ uart->lsr &= ~(DR | THRE | TEMT);
uart->lsr |= bfin_uart_get_status (me);
case mmr_offset(thr):
case mmr_offset(msr):
This page took
0.025441 seconds
and
4
git commands to generate.