On 02/22/2018 04:11 PM, Michael Clark wrote:
> 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'.
> 
> Signed-off-by: Michael Clark <m...@sifive.com>
> ---
>  hw/riscv/riscv_htif.c         | 263 
> ++++++++++++++++++++++++++++++++++++++++++
>  include/hw/riscv/riscv_htif.h |  64 ++++++++++
>  2 files changed, 327 insertions(+)
>  create mode 100644 hw/riscv/riscv_htif.c
>  create mode 100644 include/hw/riscv/riscv_htif.h

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to