diff options
author | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2007-07-05 20:32:43 +0000 |
---|---|---|
committer | Thomas Doerfler <Thomas.Doerfler@embedded-brains.de> | 2007-07-05 20:32:43 +0000 |
commit | 78f96ab7c7ac4e8a2794eefc36813b56f8274e3c (patch) | |
tree | 0a6aca020a3245a96eb28c9ce65a5a35806e1b24 /c/src/lib/libbsp/powerpc/gen5200/vectors | |
parent | Needed to compile Ada. ACATS run on both psim and erc32. Results (diff) | |
download | rtems-78f96ab7c7ac4e8a2794eefc36813b56f8274e3c.tar.bz2 |
fixed some problems with shared PPC exception handling code
Diffstat (limited to 'c/src/lib/libbsp/powerpc/gen5200/vectors')
-rw-r--r-- | c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c b/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c index 3d409f1b9d..8e4aa8474b 100644 --- a/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c +++ b/c/src/lib/libbsp/powerpc/gen5200/vectors/vectors_init.c @@ -186,7 +186,7 @@ void initialize_exceptions() printk("installing exception number %d\n", i); - if (!mpc60x_vector_is_valid(i)) + if (!ppc_vector_is_valid(i)) continue; exception_table[i].exceptIndex = i; @@ -197,7 +197,7 @@ void initialize_exceptions() exception_table[i].isOn = except_always_enabled; } - if (!mpc60x_init_exceptions(&exception_config)) + if (!ppc_init_exceptions(&exception_config)) BSP_panic("Exception handling initialization failed\n"); else printk("Exception handling initialization done\n"); |