arch-arm: Semihosting, specify files root dir
authorAdrian Herrera <adrian.herrera@arm.com>
Fri, 15 Nov 2019 10:55:36 +0000 (10:55 +0000)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 6 Jan 2020 18:54:41 +0000 (18:54 +0000)
commit4936474c2cb47528deaeb1b0e8ebca1ffb5b8426
treeb39efdff26ef2c72a5480f8dafd049e774c79d77
parentca7d52ebc081300885953199a5a64a5b926422c7
arch-arm: Semihosting, specify files root dir

This patch adds an option to "ArmSemihosting" which allows for
specifying an optional search path for host files.
Previously, behaviour was fixed to search in the directory from where
the gem5 binary was run from.

Change-Id: I57b932b38d022f132af78857104633d7bfdd1442
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/23903
Reviewed-by: Ciro Santilli <ciro.santilli@arm.com>
Maintainer: Giacomo Travaglini <giacomo.travaglini@arm.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/arm/ArmSemihosting.py
src/arch/arm/semihosting.cc
src/arch/arm/semihosting.hh