From: kajoljain379 Date: Sat, 12 Jan 2019 08:06:30 +0000 (+0530) Subject: arch-power: Initialize PC State X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b9a3c2ea1494eda254e950218f7904229ba20291;p=gem5.git arch-power: Initialize PC State Initialize PC state to 0x100. Change-Id: Id130d161e40d287dfb1a1f97d5e1d58dfa0f2303 Signed-off-by: kajoljain379 --- diff --git a/src/arch/power/system.cc b/src/arch/power/system.cc index 46ff26f48..389bc625b 100644 --- a/src/arch/power/system.cc +++ b/src/arch/power/system.cc @@ -78,4 +78,6 @@ PowerSystem::initState() //ArgumentReg0 is initialized with 0xc00000 because in linux/system.cc //dtb is loaded at 0xc00000 tc->setIntReg(ArgumentReg0, 0x1800000); + /* Perform a system reset */ + tc->pcState(0x100); }