|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v6 12/23] RISC-V HTIF Console |
Date: | Fri, 23 Feb 2018 13:24:37 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 |
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 <address@hidden> > --- > 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 <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |