Changeset 16ce0e70 in rtems


Ignore:
Timestamp:
03/30/04 11:45:56 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
42540ecd
Parents:
d8e681e
Message:

2004-03-30 Ralf Corsepius <ralf_corsepius@…>

  • c4xio.h, cpu.c, irq.c, rtems/score/cpu.h: Convert to using c99 fixed size types.
Location:
cpukit/score/cpu/c4x
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/c4x/ChangeLog

    rd8e681e r16ce0e70  
     12004-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
    162004-03-29      Ralf Corsepius <ralf_corsepius@rtems.org>
    27
  • cpukit/score/cpu/c4x/c4xio.h

    rd8e681e r16ce0e70  
    9191#else
    9292
    93 static inline unsigned32 c3x_get_iof( void )
     93static inline uint32_t  c3x_get_iof( void )
    9494{
    95   register unsigned32 iof_value;
     95  register uint32_t  iof_value;
    9696
    9797  __asm__ volatile ("ldi iof, %0" : "=r" (iof_value));
     
    9999}
    100100
    101 static inline void c3x_set_iof( unsigned32 value )
     101static inline void c3x_set_iof( uint32_t  value )
    102102{
    103103  __asm__ volatile ("ldi  %0,iof" : : "g" (value) : "iof", "cc");
  • cpukit/score/cpu/c4x/cpu.c

    rd8e681e r16ce0e70  
    7373 
    7474void _CPU_ISR_install_raw_handler(
    75   unsigned32  vector,
     75  uint32_t    vector,
    7676  proc_ptr    new_handler,
    7777  proc_ptr   *old_handler
     
    9898  Context_Control       *_the_context,
    9999  void                  *_stack_base,
    100   unsigned32            _size,
    101   unsigned32            _isr,
     100  uint32_t              _size,
     101  uint32_t              _isr,
    102102  void  (*_entry_point)(void),
    103103  int                   _is_fp
     
    134134
    135135void _CPU_ISR_install_vector(
    136   unsigned32  vector,
     136  uint32_t    vector,
    137137  proc_ptr    new_handler,
    138138  proc_ptr   *old_handler
  • cpukit/score/cpu/c4x/irq.c

    rd8e681e r16ce0e70  
    2828register unsigned long  *stack_ptr asm("sp");
    2929
    30 void __ISR_Handler(unsigned32 vector, void *isr_sp)
     30void __ISR_Handler(uint32_t  vector, void *isr_sp)
    3131{
    32   register unsigned32 level;
     32  register uint32_t  level;
    3333
    3434  /* already disabled when we get here */
  • cpukit/score/cpu/c4x/rtems/score/cpu.h

    rd8e681e r16ce0e70  
    537537  void       (*idle_task)( void );
    538538  boolean      do_zero_of_workspace;
    539   unsigned32   idle_task_stack_size;
    540   unsigned32   interrupt_stack_size;
    541   unsigned32   extra_mpci_receive_server_stack;
    542   void *     (*stack_allocate_hook)( unsigned32 );
     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  );
    543543  void       (*stack_free_hook)( void* );
    544544  /* end of fields required on all CPUs */
     
    877877  Context_Control       *_the_context,
    878878  void                  *_stack_base,
    879   unsigned32            _size,
    880   unsigned32            _isr,
     879  uint32_t              _size,
     880  uint32_t              _isr,
    881881  void  (*_entry_point)(void),
    882882  int                   _is_fp
     
    11111111 
    11121112void _CPU_ISR_install_raw_handler(
    1113   unsigned32  vector,
     1113  uint32_t    vector,
    11141114  proc_ptr    new_handler,
    11151115  proc_ptr   *old_handler
     
    11271127
    11281128void _CPU_ISR_install_vector(
    1129   unsigned32  vector,
     1129  uint32_t    vector,
    11301130  proc_ptr    new_handler,
    11311131  proc_ptr   *old_handler
     
    12411241)
    12421242{
    1243   unsigned32 byte1, byte2, byte3, byte4, swapped;
     1243  uint32_t  byte1, byte2, byte3, byte4, swapped;
    12441244 
    12451245  byte4 = (value >> 24) & 0xff;
  • cpukit/score/cpu/c4x/rtems/tic4x/c4xio.h

    rd8e681e r16ce0e70  
    9191#else
    9292
    93 static inline unsigned32 c3x_get_iof( void )
     93static inline uint32_t  c3x_get_iof( void )
    9494{
    95   register unsigned32 iof_value;
     95  register uint32_t  iof_value;
    9696
    9797  __asm__ volatile ("ldi iof, %0" : "=r" (iof_value));
     
    9999}
    100100
    101 static inline void c3x_set_iof( unsigned32 value )
     101static inline void c3x_set_iof( uint32_t  value )
    102102{
    103103  __asm__ volatile ("ldi  %0,iof" : : "g" (value) : "iof", "cc");
Note: See TracChangeset for help on using the changeset viewer.