arch-power: Added function to modify MSR and SRR1 register
authorKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 07:02:59 +0000 (12:32 +0530)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 24 Jan 2021 03:58:56 +0000 (03:58 +0000)
commit24f367757a1d5562c84b5da006f27377c1cbd3aa
treef85cdfa4178cc144ab266fd17423453765117cda
parent73e59f716ae93238547dbf83feeceb9feb2e8789
arch-power: Added function to modify MSR and SRR1 register

* Added general function to modify MSR and SRR1 register.
* Added macros to get mask for
  * Set particular bit.
  * Unset Bit.

Change-Id: I17b82f6ef7f7d8915f9c1320f99fc6f3f9ecaf74
Signed-off-by: Kajol Jain <kajoljain797@gmail.com>
src/arch/power/faults.hh