sim: Prepare C++ side for Python 3
authorAndreas Sandberg <andreas.sandberg@arm.com>
Fri, 25 Jan 2019 11:13:38 +0000 (11:13 +0000)
committerAndreas Sandberg <andreas.sandberg@arm.com>
Thu, 31 Jan 2019 17:31:54 +0000 (17:31 +0000)
commit244a984a006288bfe718451d0e44aed199cd8ae2
tree087e5d91ea6925a2945aab8a7dd3979295a94d6f
parent2d1723acd31e1c935341e5d27307804039ede56d
sim: Prepare C++ side for Python 3

Python 3 uses wide strings instead of ordinary strings for many
APIs. Add the necessary conversions to comply with the new API.

Change-Id: I6f45c9c532537d50d54b542f34eb8fd8cb375874
Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/c/15977
Reviewed-by: Gabe Black <gabeblack@google.com>
Reviewed-by: Nikos Nikoleris <nikos.nikoleris@arm.com>
src/sim/init.cc
src/sim/main.cc