diff options
author | Alexander Wagner <alexander.wagner@ulal.de> | 2021-03-09 16:21:30 +0100 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2021-03-22 21:54:40 -0400 |
commit | 82a4ed8e5014ee814c63be33987e6783d5eacce2 (patch) | |
tree | cf3d201721301c39b3442d2eb73e95fb7c2121ab /target/riscv/pmp.c | |
parent | 5e437d3ccdccfd85f6e69ca60f921be2dab62c3c (diff) |
hw/char: disable ibex uart receive if the buffer is full
Not disabling the UART leads to QEMU overwriting the UART receive buffer with
the newest received byte. The rx_level variable is added to allow the use of
the existing OpenTitan driver libraries.
Signed-off-by: Alexander Wagner <alexander.wagner@ulal.de>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-id: 20210309152130.13038-1-alexander.wagner@ulal.de
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/pmp.c')
0 files changed, 0 insertions, 0 deletions