diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:46:13 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-03-30 11:46:13 +0000 |
commit | 42540ecd0e692820604bc5723f2a06f9359d22dc (patch) | |
tree | 6dddf0aedc9c3ae9558d0fad7864e17bbf0806bd /cpukit/score/cpu/or32/cpu_asm.c | |
parent | 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff) | |
download | rtems-42540ecd0e692820604bc5723f2a06f9359d22dc.tar.bz2 |
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpu.c, cpu_asm.c, rtems/score/cpu.h: Convert to using c99 fixed
size types.
Diffstat (limited to 'cpukit/score/cpu/or32/cpu_asm.c')
-rw-r--r-- | cpukit/score/cpu/or32/cpu_asm.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/cpukit/score/cpu/or32/cpu_asm.c b/cpukit/score/cpu/or32/cpu_asm.c index be851981f3..e8a0c395ae 100644 --- a/cpukit/score/cpu/or32/cpu_asm.c +++ b/cpukit/score/cpu/or32/cpu_asm.c @@ -76,10 +76,10 @@ void _CPU_Context_save_fp( void **fp_context_ptr ) { - register unsigned32 temp; - register unsigned32 address = (unsigned32)(*fp_context_ptr); - register unsigned32 xfer; - register unsigned32 loop; + register uint32_t temp; + register uint32_t address = (uint32_t )(*fp_context_ptr); + register uint32_t xfer; + register uint32_t loop; /* %0 is a temporary register which is used for several values throughout the code. %3 contains the address @@ -134,10 +134,10 @@ void _CPU_Context_restore_fp( void **fp_context_ptr ) { - register unsigned32 temp; - register unsigned32 address = (unsigned32)(*fp_context_ptr); - register unsigned32 xfer; - register unsigned32 loop; + register uint32_t temp; + register uint32_t address = (uint32_t )(*fp_context_ptr); + register uint32_t xfer; + register uint32_t loop; /* The reverse of Context_save_fp */ /* %0 is a temporary register which is used for several @@ -193,8 +193,8 @@ void _CPU_Context_switch( Context_Control *heir ) { - register unsigned32 temp1 = 0; - register unsigned32 temp2 = 0; + register uint32_t temp1 = 0; + register uint32_t temp2 = 0; /* This function is really tricky. When this function is called, we should save our state as we need it, and then grab the @@ -498,8 +498,8 @@ void _CPU_Context_restore( * and the exception architecture described in chapter 9 */ -void _ISR_Handler(unsigned32 vector,unsigned32 ProgramCounter, - unsigned32 EffectiveAddress,unsigned32 StatusRegister) +void _ISR_Handler(uint32_t vector,uint32_t ProgramCounter, + uint32_t EffectiveAddress,uint32_t StatusRegister) { /* * This discussion ignores a lot of the ugly details in a real |