additional fixes for the shared exception code

This commit is contained in:
Thomas Doerfler
2007-07-10 18:43:12 +00:00
parent f610e83f53
commit 185da08642
18 changed files with 55 additions and 17 deletions

View File

@@ -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)) {