]> git.ipfire.org Git - thirdparty/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 Roth <mdroth@linux.vnet.ibm.com>
Wed, 11 Jul 2018 16:48:22 +0000 (11:48 -0500)
commit26cf05c1a15e5500b12b2502f93dba0a6a83b462
tree316844906e8ba62871a90fdeb7d87012a38b8486
parent7bc615f88f215cc923d4d23928118e62f008b152
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>
(cherry picked from commit 17b9751e85b9989cc841ed387794d7f1e8aa5e46)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
hw/riscv/riscv_htif.c