forked from Imagelibrary/rtems
additional fixes for the shared exception code
This commit is contained in:
@@ -119,7 +119,7 @@ int mpc860_vector_is_valid(rtems_vector vector)
|
||||
|
||||
#if (defined(mpc555) || defined(mpc505))
|
||||
|
||||
int ppc_vector_is_valid(rtems_vector vector)
|
||||
int mpc5xx_vector_is_valid(rtems_vector vector)
|
||||
{
|
||||
switch (current_ppc_cpu) {
|
||||
case PPC_5XX:
|
||||
@@ -350,6 +350,13 @@ int ppc_vector_is_valid(rtems_vector vector)
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#if ( defined(mpc555) || defined(mpc505) )
|
||||
case PPC_5XX:
|
||||
if (!mpc5xx_vector_is_valid(vector)) {
|
||||
return 0;
|
||||
}
|
||||
break;
|
||||
#endif
|
||||
#if ( defined(mpc860) || defined(mpc821) )
|
||||
case PPC_860:
|
||||
if (!mpc860_vector_is_valid(vector)) {
|
||||
|
||||
Reference in New Issue
Block a user