]> www.infradead.org Git - users/dwmw2/qemu.git/commit
riscv: spike: allow base == 0
authorKONRAD Frederic <frederic.konrad@adacore.com>
Thu, 3 May 2018 15:17:14 +0000 (17:17 +0200)
committerMichael Clark <mjc@sifive.com>
Tue, 8 May 2018 19:57:32 +0000 (07:57 +1200)
commit17b9751e85b9989cc841ed387794d7f1e8aa5e46
treeba35d51a3046feee602ab5bdf2936b6dfc6afcf5
parentc8b7e627b4269a3bc3ae41d9f420547a47e6d9b9
riscv: spike: allow base == 0

The sanity check on base doesn't allow htif to be mapped @0. Check if the
symbol exists instead so we can map it where we want.

Reviewed-by: Michael Clark <mjc@sifive.com>
Signed-off-by: KONRAD Frederic <frederic.konrad@adacore.com>
Signed-off-by: Michael Clark <mjc@sifive.com>
Message-Id: <1525360636-18229-2-git-send-email-frederic.konrad@adacore.com>
hw/riscv/riscv_htif.c