- {
- struct sreg {
- int regnum;
- void *buf;
- } sregs [] = {
- { 55, &(gregs->cel) }, /* CEL */
- { 54, &(gregs->ceh) }, /* CEH */
- { 53, &(gregs->sr0) }, /* sr0, i.e. cnt or COUNTER */
- { 52, &(gregs->sr1) }, /* sr1, i.e. lcr or LDCR */
- { 51, &(gregs->sr1) }, /* sr2, i.e. scr or STCR */
-
- /* Exception occured at this address, exactly the PC we want */
- { 49, &(gregs->cp0_epc) }, /* PC */
-
- { 38, &(gregs->cp0_ema) }, /* EMA */
- { 37, &(gregs->cp0_epc) }, /* EPC */
- { 34, &(gregs->cp0_ecr) }, /* ECR */
- { 33, &(gregs->cp0_condition) }, /* COND */
- { 32, &(gregs->cp0_psr) }, /* PSR */
- };
-
- for (regno = 0; regno < sizeof(sregs)/sizeof(sregs[0]); regno++)
- if (regnum == -1 || regnum == sregs[regno].regnum)
- regcache_raw_supply (regcache, sregs[regno].regnum, sregs[regno].buf);
- }
+ {
+ struct sreg {
+ int regnum;
+ void *buf;
+ } sregs [] = {
+ { 55, &(gregs->cel) }, /* CEL */
+ { 54, &(gregs->ceh) }, /* CEH */
+ { 53, &(gregs->sr0) }, /* sr0, i.e. cnt or COUNTER */
+ { 52, &(gregs->sr1) }, /* sr1, i.e. lcr or LDCR */
+ { 51, &(gregs->sr1) }, /* sr2, i.e. scr or STCR */
+
+ /* Exception occured at this address, exactly the PC we want */
+ { 49, &(gregs->cp0_epc) }, /* PC */
+
+ { 38, &(gregs->cp0_ema) }, /* EMA */
+ { 37, &(gregs->cp0_epc) }, /* EPC */
+ { 34, &(gregs->cp0_ecr) }, /* ECR */
+ { 33, &(gregs->cp0_condition) }, /* COND */
+ { 32, &(gregs->cp0_psr) }, /* PSR */
+ };
+
+ for (regno = 0; regno < sizeof(sregs)/sizeof(sregs[0]); regno++)
+ if (regnum == -1 || regnum == sregs[regno].regnum)
+ regcache_raw_supply (regcache,
+ sregs[regno].regnum, sregs[regno].buf);
+ }