forked from Imagelibrary/rtems
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
* new-exceptions/raw_exception.c: Conditionalize call to e500_setup_raw_exceptions() since that is not even in the tree yet.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
|
* new-exceptions/raw_exception.c: Conditionalize call to
|
||||||
|
e500_setup_raw_exceptions() since that is not even in the tree yet.
|
||||||
|
|
||||||
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
2007-12-05 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* new-exceptions/raw_exception.c: Conditionalize some BOOKE vectors.
|
* new-exceptions/raw_exception.c: Conditionalize some BOOKE vectors.
|
||||||
|
|||||||
@@ -571,9 +571,11 @@ int ppc_init_exceptions (rtems_raw_except_global_settings* config)
|
|||||||
|
|
||||||
rtems_interrupt_disable(k);
|
rtems_interrupt_disable(k);
|
||||||
|
|
||||||
|
#if defined(ASM_BOOKE_CRIT_VECTOR)
|
||||||
if ( ppc_cpu_is_bookE() ) {
|
if ( ppc_cpu_is_bookE() ) {
|
||||||
e500_setup_raw_exceptions();
|
e500_setup_raw_exceptions();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
for (i=0; i < config->exceptSize; i++) {
|
for (i=0; i < config->exceptSize; i++) {
|
||||||
if ( PPC_EXC_INVALID == ppc_vector_is_valid(raw_except_table[i].hdl.vector) ) {
|
if ( PPC_EXC_INVALID == ppc_vector_is_valid(raw_except_table[i].hdl.vector) ) {
|
||||||
|
|||||||
Reference in New Issue
Block a user