Changeset f328b69 in rtems


Ignore:
Timestamp:
Dec 11, 2007, 5:19:55 AM (13 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
bbb5059
Parents:
59a4066
Message:

2007-12-10 Till Straumann <strauman@…>

  • new-exceptions/bspsupport/ppc_exc_hdl.c: make sure RI is set in the exception frame and panic if it isn't (state info might have been lost). This only affects classic PPC.
Location:
c/src/lib/libcpu/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/powerpc/ChangeLog

    r59a4066 rf328b69  
     12007-12-10      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * new-exceptions/bspsupport/ppc_exc_hdl.c: make sure
     4        RI is set in the exception frame and panic if it isn't
     5        (state info might have been lost). This only affects
     6        classic PPC.
     7
    182007-12-10      Till Straumann <strauman@slac.stanford.edu>
    29
  • c/src/lib/libcpu/powerpc/new-exceptions/bspsupport/ppc_exc_hdl.c

    r59a4066 rf328b69  
    9898        }
    9999
     100        if ( (ppc_exc_msr_bits ^ f->EXC_SRR1) & MSR_RI ) {
     101                printk("unrecoverable exception (RI was clear), spinning to death.\n");
     102                while (1)
     103                        ;
     104        }
     105
    100106        return rval;
    101107}
Note: See TracChangeset for help on using the changeset viewer.