projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f3677
)
arch-power: Initialize PC State
author
kajoljain379
<kajoljain797@gmail.com>
Sat, 12 Jan 2019 08:06:30 +0000
(13:36 +0530)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sun, 24 Jan 2021 03:58:59 +0000
(
03:58
+0000)
Initialize PC state to 0x100.
Change-Id: Id130d161e40d287dfb1a1f97d5e1d58dfa0f2303
Signed-off-by: kajoljain379 <kajoljain797@gmail.com>
src/arch/power/system.cc
patch
|
blob
|
history
diff --git
a/src/arch/power/system.cc
b/src/arch/power/system.cc
index 46ff26f486c5ea5ca6353a4dad8d2dbf7ceb70c5..389bc625bdf177037d091d98615bbb9c16483694 100644
(file)
--- 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);
}