summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/powerpc/old-exceptions
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-02-15 13:02:04 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-02-15 13:02:04 +0000
commit7b828b8381e99e9a6034bf76cd4a4681de928822 (patch)
tree7ab73003076764fd822af6c4139eef2ef9670c0f /c/src/lib/libcpu/powerpc/old-exceptions
parent2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-7b828b8381e99e9a6034bf76cd4a4681de928822.tar.bz2
2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c: Use _CPU_MSR_GET instead of _CPU_MSR_Value (Unify old/new exception processing API).
Diffstat (limited to 'c/src/lib/libcpu/powerpc/old-exceptions')
-rw-r--r--c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog5
-rw-r--r--c/src/lib/libcpu/powerpc/old-exceptions/cpu.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog b/c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog
index a451f47672..59e7b6f150 100644
--- a/c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog
+++ b/c/src/lib/libcpu/powerpc/old-exceptions/ChangeLog
@@ -1,3 +1,8 @@
+2005-02-15 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * cpu.c: Use _CPU_MSR_GET instead of _CPU_MSR_Value (Unify old/new
+ exception processing API).
+
2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org>
* cpu.c (ppc_exception_vector_addr): Merge ppc603 and ppc603e cases.
diff --git a/c/src/lib/libcpu/powerpc/old-exceptions/cpu.c b/c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
index 7be10cb6ae..7fe9437df6 100644
--- a/c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
+++ b/c/src/lib/libcpu/powerpc/old-exceptions/cpu.c
@@ -87,7 +87,7 @@ void _CPU_Initialize(
/*
* Store Msr Value in the IRQ info structure.
*/
- _CPU_MSR_Value(_CPU_IRQ_info.msr_initial);
+ _CPU_MSR_GET(_CPU_IRQ_info.msr_initial);
#if (PPC_USE_SPRG)
i = _CPU_IRQ_info.msr_initial;
@@ -260,7 +260,7 @@ void _CPU_Context_Initialize(
* + Force the RI bit
* + Use the DR and IR bits
*/
- _CPU_MSR_Value( msr_value );
+ _CPU_MSR_GET( msr_value );
the_context->msr |= (msr_value & PPC_MSR_EP);
the_context->msr |= PPC_MSR_RI;
the_context->msr |= msr_value & (PPC_MSR_DR|PPC_MSR_IR);
@@ -546,7 +546,7 @@ uint32_t ppc_exception_vector_addr(
uint32_t Offset = 0x000;
#if (PPC_HAS_EXCEPTION_PREFIX)
- _CPU_MSR_Value ( Msr );
+ _CPU_MSR_GET ( Msr );
if ( ( Msr & PPC_MSR_EP) != 0 ) /* Vectors at FFFx_xxxx */
Top = 0xfff00000;
#elif (PPC_HAS_EVPR)