summaryrefslogtreecommitdiff
path: root/src/arch/arm/isa.hh
diff options
context:
space:
mode:
authorAndreas Sandberg <andreas.sandberg@arm.com>2019-01-09 14:51:33 +0000
committerAndreas Sandberg <andreas.sandberg@arm.com>2019-01-10 17:50:28 +0000
commit13daa2e0620e71a1c11f94d1f8a864f73a52b94d (patch)
tree0bcb56f5f33c02345dbf66cfb11b98e5fcc89827 /src/arch/arm/isa.hh
parent384951540c4bfb4342a16e0827b7811d4f750bf6 (diff)
downloadgem5-13daa2e0620e71a1c11f94d1f8a864f73a52b94d.tar.xz
sim-se: Correctly calculate next PC in clone
The clone syscall doesn't propagate all state in the PCState object when calculating the return PC of a newly created process. Instead of creating a new PCState object from the next PC address, copy the old PC and advance it. Change-Id: Ice53831920bcb5d198865169ed2cca8d06e37cfe Signed-off-by: Andreas Sandberg <andreas.sandberg@arm.com> Cc: Giacomo Travaglini <giacomo.travaglini@arm.com> Cc: Javier Setoain <javier.setoain@arm.com> Cc: Brandon Potter <Brandon.Potter@amd.com> Reviewed-on: https://gem5-review.googlesource.com/c/15417 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Brandon Potter <Brandon.Potter@amd.com>
Diffstat (limited to 'src/arch/arm/isa.hh')
0 files changed, 0 insertions, 0 deletions