diff options
Diffstat (limited to 'c/src/exec/score/cpu/powerpc/ppc.h')
-rw-r--r-- | c/src/exec/score/cpu/powerpc/ppc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/c/src/exec/score/cpu/powerpc/ppc.h b/c/src/exec/score/cpu/powerpc/ppc.h index 56fd820709..a4b091c430 100644 --- a/c/src/exec/score/cpu/powerpc/ppc.h +++ b/c/src/exec/score/cpu/powerpc/ppc.h @@ -112,6 +112,7 @@ extern "C" { #define PPC_DEBUG_MODEL PPC_DEBUG_MODEL_IBM4xx #define PPC_HAS_EXCEPTION_PREFIX 0 +#define PPC_HAS_EVPR 1 #elif defined(ppc601) /* @@ -287,6 +288,15 @@ extern "C" { #endif /* + * Unless otherwise specified, assume the model does NOT have + * 403 style EVPR register to set the exception address prefix. + */ + +#ifndef PPC_HAS_EVPR +#define PPC_HAS_EVPR 0 +#endif + +/* * If no low power mode model was specified, then assume there is none. */ |