RISC-V HTIF Console
commit5033606780b9743921de95adb295bf1a03135d2c
authorMichael Clark <mjc@sifive.com>
Fri, 2 Mar 2018 12:31:12 +0000 (3 01:31 +1300)
committerMichael Clark <mjc@sifive.com>
Tue, 6 Mar 2018 19:30:28 +0000 (7 08:30 +1300)
tree9191f91bf6bd107362fac844126324d2ff4b7d3f
parenta2480ffa88a247acbddcf6bb8c4cf69b1af0f48c
RISC-V HTIF Console

HTIF (Host Target Interface) provides console emulation for QEMU. HTIF
allows identical copies of BBL (Berkeley Boot Loader) and linux to run
on both Spike and QEMU. BBL provides HTIF console access via the
SBI (Supervisor Binary Interface) and the linux kernel SBI console.

The HTIT chardev implements the pre qom legacy interface consistent
with the 16550a UART in 'hw/char/serial.c'.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Sagar Karandikar <sagark@eecs.berkeley.edu>
Signed-off-by: Stefan O'Rear <sorear2@gmail.com>
Signed-off-by: Michael Clark <mjc@sifive.com>
hw/riscv/riscv_htif.c [new file with mode: 0644]
include/hw/riscv/riscv_htif.h [new file with mode: 0644]