SPARC64: SFSR cleanup and fix
authorTsuneo Saito <tsnsaito@gmail.com>
Thu, 21 Jul 2011 15:16:28 +0000 (00:16 +0900)
committerBlue Swirl <blauwirbel@gmail.com>
Thu, 21 Jul 2011 19:58:58 +0000 (19:58 +0000)
commitccc76c24efdb06b895b8ff3d0a932c905ff483d4
tree4527fb59d7a83d8c8e29f2ccbb2c7526c13caf81
parent06e12b6503d08bbc27f256b9f5d7d211420b3c41
SPARC64: SFSR cleanup and fix

Add macros for SFSR fields and use macros instead of magic numbers.
Also fix the update of the register fields on MMU faults.

Signed-off-by: Tsuneo Saito <tsnsaito@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
target-sparc/cpu.h
target-sparc/helper.c