From d86bae84e6165161c445ff5f5a07809d4a36b34e Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 30 Mar 2004 11:47:03 +0000 Subject: 2004-03-30 Ralf Corsepius * cpu.c, m68302.h, rtems/score/cpu.h, rtems/score/m68k.h: Convert to using c99 fixed size types. --- cpukit/score/cpu/m68k/cpu.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'cpukit/score/cpu/m68k/cpu.c') 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 ) -- cgit v1.2.3