summaryrefslogtreecommitdiffstats
path: root/cpukit/score/cpu/m68k/cpu.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:47:03 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-03-30 11:47:03 +0000
commitd86bae84e6165161c445ff5f5a07809d4a36b34e (patch)
treec4a6335b56b32f2ce498bed6b11c6965c5f1e036 /cpukit/score/cpu/m68k/cpu.c
parent2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> (diff)
downloadrtems-d86bae84e6165161c445ff5f5a07809d4a36b34e.tar.bz2
2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org>
* cpu.c, m68302.h, rtems/score/cpu.h, rtems/score/m68k.h: Convert to using c99 fixed size types.
Diffstat (limited to 'cpukit/score/cpu/m68k/cpu.c')
-rw-r--r--cpukit/score/cpu/m68k/cpu.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/cpukit/score/cpu/m68k/cpu.c b/cpukit/score/cpu/m68k/cpu.c
index 0d6f1d25c5..f8043026ae 100644
--- a/cpukit/score/cpu/m68k/cpu.c
+++ b/cpukit/score/cpu/m68k/cpu.c
@@ -34,14 +34,14 @@ void _CPU_Initialize(
/* fill the isr redirect table with the code to place the format/id
onto the stack */
- unsigned32 slot;
+ uint32_t slot;
for (slot = 0; slot < CPU_INTERRUPT_NUMBER_OF_VECTORS; slot++)
{
_CPU_ISR_jump_table[slot].move_a7 = M68K_MOVE_A7;
_CPU_ISR_jump_table[slot].format_id = slot << 2;
_CPU_ISR_jump_table[slot].jmp = M68K_JMP;
- _CPU_ISR_jump_table[slot].isr_handler = (unsigned32) 0xDEADDEAD;
+ _CPU_ISR_jump_table[slot].isr_handler = (uint32_t ) 0xDEADDEAD;
}
#endif /* M68K_HAS_VBR */
@@ -53,9 +53,9 @@ void _CPU_Initialize(
* _CPU_ISR_Get_level
*/
-unsigned32 _CPU_ISR_Get_level( void )
+uint32_t _CPU_ISR_Get_level( void )
{
- unsigned32 level;
+ uint32_t level;
m68k_get_interrupt_level( level );
@@ -68,7 +68,7 @@ unsigned32 _CPU_ISR_Get_level( void )
*/
void _CPU_ISR_install_raw_handler(
- unsigned32 vector,
+ uint32_t vector,
proc_ptr new_handler,
proc_ptr *old_handler
)
@@ -108,8 +108,8 @@ void _CPU_ISR_install_raw_handler(
*/
*old_handler = (proc_ptr) _CPU_ISR_jump_table[vector].isr_handler;
- _CPU_ISR_jump_table[vector].isr_handler = (unsigned32) new_handler;
- if ( (unsigned32) interrupt_table != 0xFFFFFFFF )
+ _CPU_ISR_jump_table[vector].isr_handler = (uint32_t ) new_handler;
+ if ( (uint32_t ) interrupt_table != 0xFFFFFFFF )
interrupt_table[ vector ] = (proc_ptr) &_CPU_ISR_jump_table[vector];
#endif /* M68K_HAS_VBR */
}
@@ -130,7 +130,7 @@ void _CPU_ISR_install_raw_handler(
*/
void _CPU_ISR_install_vector(
- unsigned32 vector,
+ uint32_t vector,
proc_ptr new_handler,
proc_ptr *old_handler
)