Changeset 16ce0e70 in rtems
- Timestamp:
- 03/30/04 11:45:56 (20 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- 42540ecd
- Parents:
- d8e681e
- Location:
- cpukit/score/cpu/c4x
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/score/cpu/c4x/ChangeLog
rd8e681e r16ce0e70 1 2004-03-30 Ralf Corsepius <ralf_corsepius@rtems.org> 2 3 * c4xio.h, cpu.c, irq.c, rtems/score/cpu.h: Convert to using c99 4 fixed size types. 5 1 6 2004-03-29 Ralf Corsepius <ralf_corsepius@rtems.org> 2 7 -
cpukit/score/cpu/c4x/c4xio.h
rd8e681e r16ce0e70 91 91 #else 92 92 93 static inline u nsigned32c3x_get_iof( void )93 static inline uint32_t c3x_get_iof( void ) 94 94 { 95 register u nsigned32iof_value;95 register uint32_t iof_value; 96 96 97 97 __asm__ volatile ("ldi iof, %0" : "=r" (iof_value)); … … 99 99 } 100 100 101 static inline void c3x_set_iof( u nsigned32value )101 static inline void c3x_set_iof( uint32_t value ) 102 102 { 103 103 __asm__ volatile ("ldi %0,iof" : : "g" (value) : "iof", "cc"); -
cpukit/score/cpu/c4x/cpu.c
rd8e681e r16ce0e70 73 73 74 74 void _CPU_ISR_install_raw_handler( 75 u nsigned32vector,75 uint32_t vector, 76 76 proc_ptr new_handler, 77 77 proc_ptr *old_handler … … 98 98 Context_Control *_the_context, 99 99 void *_stack_base, 100 u nsigned32_size,101 u nsigned32_isr,100 uint32_t _size, 101 uint32_t _isr, 102 102 void (*_entry_point)(void), 103 103 int _is_fp … … 134 134 135 135 void _CPU_ISR_install_vector( 136 u nsigned32vector,136 uint32_t vector, 137 137 proc_ptr new_handler, 138 138 proc_ptr *old_handler -
cpukit/score/cpu/c4x/irq.c
rd8e681e r16ce0e70 28 28 register unsigned long *stack_ptr asm("sp"); 29 29 30 void __ISR_Handler(u nsigned32vector, void *isr_sp)30 void __ISR_Handler(uint32_t vector, void *isr_sp) 31 31 { 32 register u nsigned32level;32 register uint32_t level; 33 33 34 34 /* already disabled when we get here */ -
cpukit/score/cpu/c4x/rtems/score/cpu.h
rd8e681e r16ce0e70 537 537 void (*idle_task)( void ); 538 538 boolean do_zero_of_workspace; 539 u nsigned32idle_task_stack_size;540 u nsigned32interrupt_stack_size;541 u nsigned32extra_mpci_receive_server_stack;542 void * (*stack_allocate_hook)( u nsigned32);539 uint32_t idle_task_stack_size; 540 uint32_t interrupt_stack_size; 541 uint32_t extra_mpci_receive_server_stack; 542 void * (*stack_allocate_hook)( uint32_t ); 543 543 void (*stack_free_hook)( void* ); 544 544 /* end of fields required on all CPUs */ … … 877 877 Context_Control *_the_context, 878 878 void *_stack_base, 879 u nsigned32_size,880 u nsigned32_isr,879 uint32_t _size, 880 uint32_t _isr, 881 881 void (*_entry_point)(void), 882 882 int _is_fp … … 1111 1111 1112 1112 void _CPU_ISR_install_raw_handler( 1113 u nsigned32vector,1113 uint32_t vector, 1114 1114 proc_ptr new_handler, 1115 1115 proc_ptr *old_handler … … 1127 1127 1128 1128 void _CPU_ISR_install_vector( 1129 u nsigned32vector,1129 uint32_t vector, 1130 1130 proc_ptr new_handler, 1131 1131 proc_ptr *old_handler … … 1241 1241 ) 1242 1242 { 1243 u nsigned32byte1, byte2, byte3, byte4, swapped;1243 uint32_t byte1, byte2, byte3, byte4, swapped; 1244 1244 1245 1245 byte4 = (value >> 24) & 0xff; -
cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h
rd8e681e r16ce0e70 91 91 #else 92 92 93 static inline u nsigned32c3x_get_iof( void )93 static inline uint32_t c3x_get_iof( void ) 94 94 { 95 register u nsigned32iof_value;95 register uint32_t iof_value; 96 96 97 97 __asm__ volatile ("ldi iof, %0" : "=r" (iof_value)); … … 99 99 } 100 100 101 static inline void c3x_set_iof( u nsigned32value )101 static inline void c3x_set_iof( uint32_t value ) 102 102 { 103 103 __asm__ volatile ("ldi %0,iof" : : "g" (value) : "iof", "cc");
Note: See TracChangeset
for help on using the changeset viewer.