diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-15 13:02:04 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-15 13:02:04 +0000 |
commit | 7b828b8381e99e9a6034bf76cd4a4681de928822 (patch) | |
tree | 7ab73003076764fd822af6c4139eef2ef9670c0f /c/src/lib/libcpu/powerpc/old-exceptions/cpu.c | |
parent | 2005-02-14 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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/cpu.c')
-rw-r--r-- | c/src/lib/libcpu/powerpc/old-exceptions/cpu.c | 6 |
1 files changed, 3 insertions, 3 deletions
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) |