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)
committerKajol Jain <kajoljain797@gmail.com>
Wed, 12 Jun 2019 07:02:59 +0000 (12:32 +0530)
commit5540cabc00a5cb6dd3f37ef2b99986cf6243eb09
tree8269436817af501d2883744325ed51d0392abecc
parent3de0b7c5116535b10c1d9d5ff2ead9bce5862c55
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