arch-power: Fix process initialization
authorSandipan Das <sandipan@linux.ibm.com>
Sat, 6 Feb 2021 12:09:59 +0000 (17:39 +0530)
committerSandipan Das <sandipan@linux.ibm.com>
Mon, 15 Feb 2021 08:32:38 +0000 (14:02 +0530)
commit326ddb5e688b05b8a95582117ddda2027d0f7b84
tree5be0874085a7037b8a322703372852ef3a1d2bcb
parentae0458fc2ed2f5c3aa90c92c38d6053824b854d4
arch-power: Fix process initialization

During process initialization, special purpose registers,
represented as misc registers, should either be explicitly
set or cleared. These contain flag bits which might have
unforseen side effects on the execution of a program.

Change-Id: If7c5af9a93283a53717cc8cbba4bf373a7e40560
Signed-off-by: Sandipan Das <sandipan@linux.ibm.com>
src/arch/power/process.cc