On Thu, Aug 5, 2021 at 4:09 PM Alistair Francis <alistai...@gmail.com> wrote: > > On Sat, Jul 24, 2021 at 10:27 PM Anup Patel <anup.pa...@wdc.com> wrote: > > > > We extend virt machine to emulate ACLINT devices only when "aclint=on" > > parameter is passed along with machine name in QEMU command-line. > > > > Signed-off-by: Anup Patel <anup.pa...@wdc.com> > > --- > > hw/riscv/virt.c | 113 +++++++++++++++++++++++++++++++++++++++- > > include/hw/riscv/virt.h | 2 + > > 2 files changed, 114 insertions(+), 1 deletion(-) > > > > diff --git a/hw/riscv/virt.c b/hw/riscv/virt.c > > index 48c8b4aeb2..7259057a74 100644 > > --- a/hw/riscv/virt.c > > +++ b/hw/riscv/virt.c > > @@ -49,6 +49,7 @@ static const MemMapEntry virt_memmap[] = { > > [VIRT_TEST] = { 0x100000, 0x1000 }, > > [VIRT_RTC] = { 0x101000, 0x1000 }, > > [VIRT_CLINT] = { 0x2000000, 0x10000 }, > > + [VIRT_ACLINT_SSWI] = { 0x2F00000, 0x4000 }, > > Couldn't we use the same address as the current CLINT?
Whoops, nevermind. Reviewed-by: Alistair Francis <alistair.fran...@wdc.com> Alistair