From b9a3c2ea1494eda254e950218f7904229ba20291 Mon Sep 17 00:00:00 2001 From: kajoljain379 Date: Sat, 12 Jan 2019 13:36:30 +0530 Subject: [PATCH] arch-power: Initialize PC State Initialize PC state to 0x100. Change-Id: Id130d161e40d287dfb1a1f97d5e1d58dfa0f2303 Signed-off-by: kajoljain379 --- src/arch/power/system.cc | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.30.2