MIPS: traps: Add CPU PM callback for trap configuration

Implement a CPU power management callback for restoring trap related CPU
configuration after CPU power up from a low power state. The following
state is restored:

- Status register
- HWREna register
- Exception vector configuration registers
- Context/XContext register

Signed-off-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
This commit is contained in:
James Hogan 2014-03-04 10:20:43 +00:00 • committed by Paul Burton
commit ae4ce45419
2 changed files with 81 additions and 27 deletions