Changeset 3127180 in rtems


Ignore:
Timestamp:
03/29/04 12:51:43 (20 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
d3b09bf4
Parents:
2f4c86f
Message:

2004-04-29 Ralf Corsepius <ralf_corsepius@…>

  • score/src/Unlimited.txt, score/src/chain.c, score/src/coremsg.c, score/src/coremsgbroadcast.c, score/src/coremsgclose.c, score/src/coremsgflush.c, score/src/coremsgflushsupp.c, score/src/coremsgseize.c, score/src/coremsgsubmit.c, score/src/coremutex.c, score/src/coremutexflush.c, score/src/coresem.c, score/src/coresemflush.c, score/src/coretod.c, score/src/coretodtickle.c, score/src/coretodtoseconds.c, score/src/coretodvalidate.c, score/src/heap.c, score/src/heapallocate.c, score/src/heapextend.c, score/src/heapfree.c, score/src/heapsizeofuserarea.c, score/src/interr.c, score/src/iterateoverthreads.c, score/src/mpci.c, score/src/object.c, score/src/objectallocate.c, score/src/objectallocatebyindex.c, score/src/objectclearname.c, score/src/objectcomparenameraw.c, score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c, score/src/objectcopynamestring.c, score/src/objectextendinformation.c, score/src/objectfree.c, score/src/objectget.c, score/src/objectgetbyindex.c, score/src/objectgetisr.c, score/src/objectgetnoprotection.c, score/src/objectidtoname.c, score/src/objectinitializeinformation.c, score/src/objectmp.c, score/src/objectnametoid.c, score/src/objectshrinkinformation.c, score/src/thread.c, score/src/threadcreateidle.c, score/src/threadget.c, score/src/threadidlebody.c, score/src/threadinitialize.c, score/src/threadmp.c, score/src/threadq.c, score/src/threadqdequeuepriority.c, score/src/threadqenqueuepriority.c, score/src/threadqfirstpriority.c, score/src/threadqflush.c, score/src/threadreset.c, score/src/threadrestart.c, score/src/threadsettransient.c, score/src/threadstackallocate.c, score/src/threadstart.c, score/src/userext.c, score/src/watchdoginsert.c, score/src/wkspace.c: Convert to using c99 fixed size types.
Location:
cpukit
Files:
66 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2f4c86f r3127180  
     12004-04-29      Ralf Corsepius <ralf_corsepius@rtems.org>
     2
     3        * score/src/Unlimited.txt, score/src/chain.c, score/src/coremsg.c,
     4        score/src/coremsgbroadcast.c, score/src/coremsgclose.c,
     5        score/src/coremsgflush.c, score/src/coremsgflushsupp.c,
     6        score/src/coremsgseize.c, score/src/coremsgsubmit.c,
     7        score/src/coremutex.c, score/src/coremutexflush.c,
     8        score/src/coresem.c, score/src/coresemflush.c, score/src/coretod.c,
     9        score/src/coretodtickle.c, score/src/coretodtoseconds.c,
     10        score/src/coretodvalidate.c, score/src/heap.c,
     11        score/src/heapallocate.c, score/src/heapextend.c,
     12        score/src/heapfree.c, score/src/heapsizeofuserarea.c,
     13        score/src/interr.c, score/src/iterateoverthreads.c,
     14        score/src/mpci.c, score/src/object.c, score/src/objectallocate.c,
     15        score/src/objectallocatebyindex.c, score/src/objectclearname.c,
     16        score/src/objectcomparenameraw.c,
     17        score/src/objectcomparenamestring.c, score/src/objectcopynameraw.c,
     18        score/src/objectcopynamestring.c,
     19        score/src/objectextendinformation.c, score/src/objectfree.c,
     20        score/src/objectget.c, score/src/objectgetbyindex.c,
     21        score/src/objectgetisr.c, score/src/objectgetnoprotection.c,
     22        score/src/objectidtoname.c, score/src/objectinitializeinformation.c,
     23        score/src/objectmp.c, score/src/objectnametoid.c,
     24        score/src/objectshrinkinformation.c, score/src/thread.c,
     25        score/src/threadcreateidle.c, score/src/threadget.c,
     26        score/src/threadidlebody.c, score/src/threadinitialize.c,
     27        score/src/threadmp.c, score/src/threadq.c,
     28        score/src/threadqdequeuepriority.c,
     29        score/src/threadqenqueuepriority.c,
     30        score/src/threadqfirstpriority.c, score/src/threadqflush.c,
     31        score/src/threadreset.c, score/src/threadrestart.c,
     32        score/src/threadsettransient.c, score/src/threadstackallocate.c,
     33        score/src/threadstart.c, score/src/userext.c,
     34        score/src/watchdoginsert.c, score/src/wkspace.c: Convert to using
     35        c99 fixed size types.
     36
    1372004-03-29      Ralf Corsepius <ralf_corsepius@rtems.org>
    238
     
    541        * Makefile.am: Add include/rtems/concat.h.
    642       
    7         PR/589 rtems
     43        PR 589/rtems
    844        * Makefile.am: Add include/rtems/pci.h.
    945
  • cpukit/rtems/src/clocktodtoseconds.c

    r2f4c86f r3127180  
    3333 */
    3434
    35 unsigned32 _TOD_To_seconds(
     35uint32_t  _TOD_To_seconds(
    3636  TOD_Control *the_tod
    3737)
    3838{
    39   unsigned32 time;
    40   unsigned32 year_mod_4;
     39  uint32_t  time;
     40  uint32_t  year_mod_4;
    4141
    4242  time = the_tod->day - 1;
  • cpukit/rtems/src/clocktodvalidate.c

    r2f4c86f r3127180  
    3939)
    4040{
    41   unsigned32 days_in_month;
     41  uint32_t  days_in_month;
    4242
    4343  if ((the_tod->ticks  >= _TOD_Ticks_per_second)  ||
  • cpukit/score/src/Unlimited.txt

    r2f4c86f r3127180  
    193193      maintained.
    194194
    195     unsigned32 allocation_size -
     195    uint32_t  allocation_size -
    196196   
    197197      When auto_extend is true, it is the value in the Configuration
     
    199199      tables are extended or shrunk.
    200200
    201    unsigned32 size -
     201   uint32_t  size -
    202202   
    203203      The size of the object. It is used to calculate the size of
    204204      memory required to be allocated when extending the table.
    205205
    206    unsigned32 inactive -
     206   uint32_t  inactive -
    207207   
    208208      The number of elements on the Inactive chain.
    209209
    210    unsigned32 *inactive_per_block -
     210   uint32_t  *inactive_per_block -
    211211   
    212212      Pointer to a table of counts of the inactive objects from a
  • cpukit/score/src/chain.c

    r2f4c86f r3127180  
    4040  Chain_Control *the_chain,
    4141  void           *starting_address,
    42   unsigned32     number_nodes,
    43   unsigned32     node_size
    44 )
    45 {
    46   unsigned32  count;
     42  uint32_t       number_nodes,
     43  uint32_t       node_size
     44)
     45{
     46  uint32_t    count;
    4747  Chain_Node *current;
    4848  Chain_Node *next;
  • cpukit/score/src/coremsg.c

    r2f4c86f r3127180  
    5252  CORE_message_queue_Control    *the_message_queue,
    5353  CORE_message_queue_Attributes *the_message_queue_attributes,
    54   unsigned32                     maximum_pending_messages,
    55   unsigned32                     maximum_message_size
     54  uint32_t                       maximum_pending_messages,
     55  uint32_t                       maximum_message_size
    5656)
    5757{
    58   unsigned32 message_buffering_required;
    59   unsigned32 allocated_message_size;
     58  uint32_t  message_buffering_required;
     59  uint32_t  allocated_message_size;
    6060
    6161  the_message_queue->maximum_pending_messages   = maximum_pending_messages;
     
    6969 
    7070  allocated_message_size = maximum_message_size;
    71   if (allocated_message_size & (sizeof(unsigned32) - 1)) {
    72       allocated_message_size += sizeof(unsigned32);
    73       allocated_message_size &= ~(sizeof(unsigned32) - 1);
     71  if (allocated_message_size & (sizeof(uint32_t  ) - 1)) {
     72      allocated_message_size += sizeof(uint32_t  );
     73      allocated_message_size &= ~(sizeof(uint32_t  ) - 1);
    7474  }
    7575   
  • cpukit/score/src/coremsgbroadcast.c

    r2f4c86f r3127180  
    5454  CORE_message_queue_Control                *the_message_queue,
    5555  void                                      *buffer,
    56   unsigned32                                 size,
     56  uint32_t                                   size,
    5757  Objects_Id                                 id,
    5858  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
    59   unsigned32                                *count
     59  uint32_t                                  *count
    6060)
    6161{
    6262  Thread_Control          *the_thread;
    63   unsigned32               number_broadcasted;
     63  uint32_t                 number_broadcasted;
    6464  Thread_Wait_information *waitp;
    65   unsigned32               constrained_size;
     65  uint32_t                 constrained_size;
    6666
    6767  /*
     
    9999    );
    100100
    101     *(unsigned32 *)the_thread->Wait.return_argument_1 = size;
     101    *(uint32_t  *)the_thread->Wait.return_argument_1 = size;
    102102
    103103#if defined(RTEMS_MULTIPROCESSING)
  • cpukit/score/src/coremsgclose.c

    r2f4c86f r3127180  
    4848  CORE_message_queue_Control *the_message_queue,
    4949  Thread_queue_Flush_callout  remote_extract_callout,
    50   unsigned32                  status
     50  uint32_t                    status
    5151)
    5252{
  • cpukit/score/src/coremsgflush.c

    r2f4c86f r3127180  
    4444 */
    4545 
    46 unsigned32 _CORE_message_queue_Flush(
     46uint32_t  _CORE_message_queue_Flush(
    4747  CORE_message_queue_Control *the_message_queue
    4848)
  • cpukit/score/src/coremsgflushsupp.c

    r2f4c86f r3127180  
    4848 */
    4949
    50 unsigned32 _CORE_message_queue_Flush_support(
     50uint32_t  _CORE_message_queue_Flush_support(
    5151  CORE_message_queue_Control *the_message_queue
    5252)
     
    5656  Chain_Node *message_queue_first;
    5757  Chain_Node *message_queue_last;
    58   unsigned32  count;
     58  uint32_t    count;
    5959
    6060  /*
  • cpukit/score/src/coremsgseize.c

    r2f4c86f r3127180  
    6060  Objects_Id                       id,
    6161  void                            *buffer,
    62   unsigned32                      *size,
     62  uint32_t                        *size,
    6363  boolean                          wait,
    6464  Watchdog_Interval                timeout
     
    104104
    105105    the_message->priority  = the_thread->Wait.count;
    106     the_message->Contents.size = (unsigned32)the_thread->Wait.return_argument_1;
     106    the_message->Contents.size = (uint32_t  )the_thread->Wait.return_argument_1;
    107107    _CORE_message_queue_Copy_buffer(
    108108      the_thread->Wait.return_argument,
  • cpukit/score/src/coremsgsubmit.c

    r2f4c86f r3127180  
    5757  CORE_message_queue_Control                *the_message_queue,
    5858  void                                      *buffer,
    59   unsigned32                                 size,
     59  uint32_t                                   size,
    6060  Objects_Id                                 id,
    6161  CORE_message_queue_API_mp_support_callout  api_message_queue_mp_support,
     
    8585        size
    8686      );
    87       *(unsigned32 *)the_thread->Wait.return_argument_1 = size;
     87      *(uint32_t  *)the_thread->Wait.return_argument_1 = size;
    8888      the_thread->Wait.count = submit_type;
    8989   
  • cpukit/score/src/coremutex.c

    r2f4c86f r3127180  
    4242  CORE_mutex_Control           *the_mutex,
    4343  CORE_mutex_Attributes        *the_mutex_attributes,
    44   unsigned32                    initial_lock
     44  uint32_t                      initial_lock
    4545)
    4646{
  • cpukit/score/src/coremutexflush.c

    r2f4c86f r3127180  
    4141  CORE_mutex_Control         *the_mutex,
    4242  Thread_queue_Flush_callout  remote_extract_callout,
    43   unsigned32                  status
     43  uint32_t                    status
    4444)
    4545{
  • cpukit/score/src/coresem.c

    r2f4c86f r3127180  
    4646  CORE_semaphore_Control       *the_semaphore,
    4747  CORE_semaphore_Attributes    *the_semaphore_attributes,
    48   unsigned32                    initial_value
     48  uint32_t                      initial_value
    4949)
    5050{
  • cpukit/score/src/coresemflush.c

    r2f4c86f r3127180  
    4545  CORE_semaphore_Control     *the_semaphore,
    4646  Thread_queue_Flush_callout  remote_extract_callout,
    47   unsigned32                  status
     47  uint32_t                    status
    4848)
    4949{
  • cpukit/score/src/coretod.c

    r2f4c86f r3127180  
    3232
    3333void _TOD_Handler_initialization(
    34   unsigned32 microseconds_per_tick
     34  uint32_t  microseconds_per_tick
    3535)
    3636{
  • cpukit/score/src/coretodtickle.c

    r2f4c86f r3127180  
    3939)
    4040{
    41   unsigned32 leap;
     41  uint32_t  leap;
    4242
    4343  _TOD_Current.ticks = 0;
  • cpukit/score/src/coretodtoseconds.c

    r2f4c86f r3127180  
    3333 */
    3434
    35 unsigned32 _TOD_To_seconds(
     35uint32_t  _TOD_To_seconds(
    3636  TOD_Control *the_tod
    3737)
    3838{
    39   unsigned32 time;
    40   unsigned32 year_mod_4;
     39  uint32_t  time;
     40  uint32_t  year_mod_4;
    4141
    4242  time = the_tod->day - 1;
  • cpukit/score/src/coretodvalidate.c

    r2f4c86f r3127180  
    3939)
    4040{
    41   unsigned32 days_in_month;
     41  uint32_t  days_in_month;
    4242
    4343  if ((the_tod->ticks  >= _TOD_Ticks_per_second)  ||
  • cpukit/score/src/heap.c

    r2f4c86f r3127180  
    5656 */
    5757
    58 unsigned32 _Heap_Initialize(
     58uint32_t  _Heap_Initialize(
    5959  Heap_Control        *the_heap,
    6060  void                *starting_address,
    61   unsigned32           size,
    62   unsigned32           page_size
     61  uint32_t             size,
     62  uint32_t             page_size
    6363)
    6464{
    6565  Heap_Block        *the_block;
    66   unsigned32         the_size;
     66  uint32_t           the_size;
    6767
    6868  if ( !_Heap_Is_page_size_valid( page_size ) ||
  • cpukit/score/src/heapallocate.c

    r2f4c86f r3127180  
    3434void *_Heap_Allocate(
    3535  Heap_Control        *the_heap,
    36   unsigned32           size
     36  uint32_t             size
    3737)
    3838{
    39   unsigned32  excess;
    40   unsigned32  the_size;
     39  uint32_t    excess;
     40  uint32_t    the_size;
    4141  Heap_Block *the_block;
    4242  Heap_Block *next_block;
    4343  Heap_Block *temporary_block;
    4444  void       *ptr;
    45   unsigned32  offset;
     45  uint32_t    offset;
    4646
    4747  /*
    4848   * Catch the case of a user allocating close to the limit of the
    49    * unsigned32.
     49   * uint32_t  .
    5050   */
    5151
     
    9797   */
    9898 
    99   offset = the_heap->page_size - (((unsigned32) ptr) & (the_heap->page_size - 1));
     99  offset = the_heap->page_size - (((uint32_t  ) ptr) & (the_heap->page_size - 1));
    100100  ptr = _Addresses_Add_offset( ptr, offset );
    101   *(((unsigned32 *) ptr) - 1) = offset;
     101  *(((uint32_t  *) ptr) - 1) = offset;
    102102
    103103#ifdef RTEMS_DEBUG
    104104  {
    105       unsigned32 ptr_u32;
    106       ptr_u32 = (unsigned32) ptr;
     105      uint32_t  ptr_u32;
     106      ptr_u32 = (uint32_t  ) ptr;
    107107      if (ptr_u32 & (the_heap->page_size - 1))
    108108          abort();
  • cpukit/score/src/heapextend.c

    r2f4c86f r3127180  
    3636  Heap_Control        *the_heap,
    3737  void                *starting_address,
    38   unsigned32           size,
    39   unsigned32          *amount_extended
     38  uint32_t             size,
     39  uint32_t            *amount_extended
    4040)
    4141{
    4242  Heap_Block        *the_block;
    43   unsigned32        *p;
     43  uint32_t          *p;
    4444 
    4545  /*
     
    103103   */
    104104
    105   p = (unsigned32 *) &old_final->next;
    106   *p = sizeof(unsigned32);
     105  p = (uint32_t  *) &old_final->next;
     106  *p = sizeof(uint32_t  );
    107107  p++;
    108108  _Heap_Free( the_heap, p );
  • cpukit/score/src/heapfree.c

    r2f4c86f r3127180  
    4343  Heap_Block        *previous_block;
    4444  Heap_Block        *temporary_block;
    45   unsigned32         the_size;
     45  uint32_t           the_size;
    4646
    4747  the_block = _Heap_User_block_at( starting_address );
  • cpukit/score/src/heapsizeofuserarea.c

    r2f4c86f r3127180  
    3838  Heap_Control        *the_heap,
    3939  void                *starting_address,
    40   unsigned32          *size
     40  uint32_t            *size
    4141)
    4242{
    4343  Heap_Block        *the_block;
    4444  Heap_Block        *next_block;
    45   unsigned32         the_size;
     45  uint32_t           the_size;
    4646
    4747  the_block = _Heap_User_block_at( starting_address );
  • cpukit/score/src/interr.c

    r2f4c86f r3127180  
    4343  Internal_errors_Source  the_source,
    4444  boolean                 is_internal,
    45   unsigned32              the_error
     45  uint32_t                the_error
    4646)
    4747{
  • cpukit/score/src/iterateoverthreads.c

    r2f4c86f r3127180  
    2121void rtems_iterate_over_all_threads(rtems_per_thread_routine routine)
    2222{
    23   unsigned32           i;
    24   unsigned32           api_index;
     23  uint32_t             i;
     24  uint32_t             api_index;
    2525  Thread_Control      *the_thread;
    2626  Objects_Information *information;
  • cpukit/score/src/mpci.c

    r2f4c86f r3127180  
    3838void _MPCI_Handler_initialization(
    3939  MPCI_Control            *users_mpci_table,
    40   unsigned32               timeout_status
     40  uint32_t                 timeout_status
    4141)
    4242{
     
    213213
    214214void _MPCI_Send_process_packet (
    215   unsigned32          destination,
     215  uint32_t            destination,
    216216  MP_packet_Prefix   *the_packet
    217217)
     
    220220  the_packet->to_convert =
    221221     ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
    222        sizeof(unsigned32);
     222       sizeof(uint32_t  );
    223223
    224224  (*_MPCI_table->send_packet)( destination, the_packet );
     
    233233 */
    234234
    235 unsigned32 _MPCI_Send_request_packet (
    236   unsigned32          destination,
     235uint32_t  _MPCI_Send_request_packet (
     236  uint32_t            destination,
    237237  MP_packet_Prefix   *the_packet,
    238238  States_Control      extra_state
     
    243243  the_packet->to_convert =
    244244     ( the_packet->to_convert - sizeof(MP_packet_Prefix) ) /
    245        sizeof(unsigned32);
     245       sizeof(uint32_t  );
    246246
    247247  _Thread_Executing->Wait.id = the_packet->id;
     
    281281
    282282void _MPCI_Send_response_packet (
    283   unsigned32          destination,
     283  uint32_t            destination,
    284284  MP_packet_Prefix   *the_packet
    285285)
     
    345345
    346346Thread _MPCI_Receive_server(
    347   unsigned32 ignored
     347  uint32_t  ignored
    348348)
    349349{
     
    464464{
    465465  MPCI_Internal_packet *the_packet;
    466   unsigned32                  maximum_nodes;
    467   unsigned32                  maximum_global_objects;
     466  uint32_t                    maximum_nodes;
     467  uint32_t                    maximum_global_objects;
    468468 
    469469  the_packet = (MPCI_Internal_packet *) the_packet_prefix;
  • cpukit/score/src/object.c

    r2f4c86f r3127180  
    4040
    4141void _Objects_Handler_initialization(
    42   unsigned32 node,
    43   unsigned32 maximum_nodes,
    44   unsigned32 maximum_global_objects
     42  uint32_t  node,
     43  uint32_t  maximum_nodes,
     44  uint32_t  maximum_global_objects
    4545)
    4646{
  • cpukit/score/src/objectallocate.c

    r2f4c86f r3127180  
    5454 
    5555    if ( the_object ) {
    56       unsigned32 block;
     56      uint32_t  block;
    5757   
    5858      block = _Objects_Get_index( the_object->id ) -
  • cpukit/score/src/objectallocatebyindex.c

    r2f4c86f r3127180  
    3838Objects_Control *_Objects_Allocate_by_index(
    3939  Objects_Information *information,
    40   unsigned32           index,
    41   unsigned32           sizeof_control
     40  uint32_t             index,
     41  uint32_t             sizeof_control
    4242)
    4343{
  • cpukit/score/src/objectclearname.c

    r2f4c86f r3127180  
    3535void _Objects_Clear_name(
    3636  void       *name,
    37   unsigned32  length
     37  uint32_t    length
    3838)
    3939{
    40   unsigned32  index;
    41   unsigned32  maximum = length / OBJECTS_NAME_ALIGNMENT;
    42   unsigned32 *name_ptr = (unsigned32 *) name;
     40  uint32_t    index;
     41  uint32_t    maximum = length / OBJECTS_NAME_ALIGNMENT;
     42  uint32_t   *name_ptr = (uint32_t  *) name;
    4343
    4444  for ( index=0 ; index < maximum ; index++ )
  • cpukit/score/src/objectcomparenameraw.c

    r2f4c86f r3127180  
    3535  void       *name_1,
    3636  void       *name_2,
    37   unsigned32  length
     37  uint32_t    length
    3838)
    3939{
    4040#if 0
    41   unsigned32 *name_1_p = (unsigned32 *) name_1;
    42   unsigned32 *name_2_p = (unsigned32 *) name_2;
    43   unsigned32  tmp_length = length / OBJECTS_NAME_ALIGNMENT;
     41  uint32_t   *name_1_p = (uint32_t  *) name_1;
     42  uint32_t   *name_2_p = (uint32_t  *) name_2;
     43  uint32_t    tmp_length = length / OBJECTS_NAME_ALIGNMENT;
    4444#endif
    4545 
  • cpukit/score/src/objectcomparenamestring.c

    r2f4c86f r3127180  
    4545  void       *name_1,
    4646  void       *name_2,
    47   unsigned32  length
     47  uint32_t    length
    4848)
    4949{
  • cpukit/score/src/objectcopynameraw.c

    r2f4c86f r3127180  
    3535  void       *source,
    3636  void       *destination,
    37   unsigned32  length
     37  uint32_t    length
    3838)
    3939{
    40   unsigned32 *source_p = (unsigned32 *) source;
    41   unsigned32 *destination_p = (unsigned32 *) destination;
    42   unsigned32  tmp_length = length / OBJECTS_NAME_ALIGNMENT;
     40  uint32_t   *source_p = (uint32_t  *) source;
     41  uint32_t   *destination_p = (uint32_t  *) destination;
     42  uint32_t    tmp_length = length / OBJECTS_NAME_ALIGNMENT;
    4343 
    4444  while ( tmp_length-- )
  • cpukit/score/src/objectcopynamestring.c

    r2f4c86f r3127180  
    3737)
    3838{
    39   unsigned8 *source_p = (unsigned8 *) source;
    40   unsigned8 *destination_p = (unsigned8 *) destination;
     39  uint8_t   *source_p = (uint8_t  *) source;
     40  uint8_t   *destination_p = (uint8_t  *) destination;
    4141 
    4242  *destination_p = '\0';
  • cpukit/score/src/objectextendinformation.c

    r2f4c86f r3127180  
    4646  void             *name_area;
    4747  Chain_Control     Inactive;
    48   unsigned32        block_count;
    49   unsigned32        block;
    50   unsigned32        index_base;
    51   unsigned32        minimum_index;
    52   unsigned32        index;
     48  uint32_t          block_count;
     49  uint32_t          block;
     50  uint32_t          index_base;
     51  uint32_t          minimum_index;
     52  uint32_t          index;
    5353
    5454  /*
     
    8282    void            **object_blocks;
    8383    Objects_Name     *name_table;
    84     unsigned32       *inactive_per_block;
     84    uint32_t         *inactive_per_block;
    8585    Objects_Control **local_table;
    86     unsigned32        maximum;
     86    uint32_t          maximum;
    8787    void             *old_tables;   
    8888   
     
    9797     *
    9898     *      void            *objects[block_count];
    99      *      unsigned32       inactive_count[block_count];
     99     *      uint32_t         inactive_count[block_count];
    100100     *      Objects_Name    *name_table[block_count];
    101101     *      Objects_Control *local_table[maximum];
     
    121121        _Workspace_Allocate(
    122122          block_count *
    123              (sizeof(void *) + sizeof(unsigned32) + sizeof(Objects_Name *)) +
     123             (sizeof(void *) + sizeof(uint32_t  ) + sizeof(Objects_Name *)) +
    124124          ((maximum + minimum_index) * sizeof(Objects_Control *))
    125125          );
     
    132132        _Workspace_Allocate_or_fatal_error(
    133133          block_count *
    134              (sizeof(void *) + sizeof(unsigned32) + sizeof(Objects_Name *)) +
     134             (sizeof(void *) + sizeof(uint32_t  ) + sizeof(Objects_Name *)) +
    135135          ((maximum + minimum_index) * sizeof(Objects_Control *))
    136136        );
     
    142142     */
    143143     
    144     inactive_per_block = (unsigned32 *) _Addresses_Add_offset(
     144    inactive_per_block = (uint32_t  *) _Addresses_Add_offset(
    145145        object_blocks, block_count * sizeof(void*) );
    146146    name_table = (Objects_Name *) _Addresses_Add_offset(
    147         inactive_per_block, block_count * sizeof(unsigned32) );
     147        inactive_per_block, block_count * sizeof(uint32_t  ) );
    148148    local_table = (Objects_Control **) _Addresses_Add_offset(
    149149        name_table, block_count * sizeof(Objects_Name *) );
     
    168168      memcpy( inactive_per_block,
    169169              information->inactive_per_block,
    170               block_count * sizeof(unsigned32) );
     170              block_count * sizeof(uint32_t  ) );
    171171      memcpy( name_table,
    172172              information->name_table,
  • cpukit/score/src/objectfree.c

    r2f4c86f r3127180  
    4040)
    4141{
    42   unsigned32  allocation_size = information->allocation_size;
     42  uint32_t    allocation_size = information->allocation_size;
    4343
    4444  _Chain_Append( &information->Inactive, &the_object->Node );
    4545
    4646  if ( information->auto_extend ) {
    47     unsigned32  block;
     47    uint32_t    block;
    4848   
    4949    block =
  • cpukit/score/src/objectget.c

    r2f4c86f r3127180  
    5252{
    5353  Objects_Control *the_object;
    54   unsigned32       index;
     54  uint32_t         index;
    5555
    5656#if defined(RTEMS_MULTIPROCESSING)
     
    6060  index = id & 0x0000ffff;
    6161  /* This should work but doesn't always :( */
    62   /* index = (unsigned16) id; */
     62  /* index = (uint16_t  ) id; */
    6363#endif
    6464
  • cpukit/score/src/objectgetbyindex.c

    r2f4c86f r3127180  
    4747Objects_Control *_Objects_Get_by_index(
    4848  Objects_Information *information,
    49   unsigned32           index,
     49  uint32_t             index,
    5050  Objects_Locations   *location
    5151)
  • cpukit/score/src/objectgetisr.c

    r2f4c86f r3127180  
    5555{
    5656  Objects_Control *the_object;
    57   unsigned32       index;
     57  uint32_t         index;
    5858  ISR_Level        level;
    5959
     
    6464  index = id & 0x0000ffff;
    6565  /* This should work but doesn't always :( */
    66   /* index = (unsigned16) id; */
     66  /* index = (uint16_t  ) id; */
    6767#endif
    6868
  • cpukit/score/src/objectgetnoprotection.c

    r2f4c86f r3127180  
    5252{
    5353  Objects_Control *the_object;
    54   unsigned32       index;
     54  uint32_t         index;
    5555
    5656#if defined(RTEMS_MULTIPROCESSING)
     
    6060  index = id & 0x0000ffff;
    6161  /* This should work but doesn't always :( */
    62   /* index = (unsigned16) id; */
     62  /* index = (uint16_t  ) id; */
    6363#endif
    6464
  • cpukit/score/src/objectidtoname.c

    r2f4c86f r3127180  
    3737)
    3838{
    39   unsigned32           the_api;
    40   unsigned32           the_class;
     39  uint32_t             the_api;
     40  uint32_t             the_class;
    4141  Objects_Information *information;
    4242  Objects_Control     *the_object = (Objects_Control *) 0;
  • cpukit/score/src/objectinitializeinformation.c

    r2f4c86f r3127180  
    4747  Objects_Information *information,
    4848  Objects_APIs         the_api,
    49   unsigned32           the_class,
    50   unsigned32           maximum,
    51   unsigned32           size,
     49  uint32_t             the_class,
     50  uint32_t             maximum,
     51  uint32_t             size,
    5252  boolean              is_string,
    53   unsigned32           maximum_name_length
     53  uint32_t             maximum_name_length
    5454#if defined(RTEMS_MULTIPROCESSING)
    5555  ,
     
    6060{
    6161  static Objects_Control *null_local_table = NULL;
    62   unsigned32       minimum_index;
    63   unsigned32       name_length;
     62  uint32_t         minimum_index;
     63  uint32_t         name_length;
    6464#if defined(RTEMS_MULTIPROCESSING)
    65   unsigned32       index;
     65  uint32_t         index;
    6666#endif
    6767
  • cpukit/score/src/objectmp.c

    r2f4c86f r3127180  
    2626
    2727void _Objects_MP_Handler_initialization (
    28   unsigned32 node,
    29   unsigned32 maximum_nodes,
    30   unsigned32 maximum_global_objects
     28  uint32_t  node,
     29  uint32_t  maximum_nodes,
     30  uint32_t  maximum_global_objects
    3131)
    3232{
     
    5858  Objects_Information *information,
    5959  Objects_MP_Control  *the_global_object,
    60   unsigned32           the_name,      /* XXX -- wrong for variable */
     60  uint32_t             the_name,      /* XXX -- wrong for variable */
    6161  Objects_Id           the_id
    6262)
     
    8080boolean _Objects_MP_Allocate_and_open (
    8181  Objects_Information *information,
    82   unsigned32           the_name,      /* XXX -- wrong for variable */
     82  uint32_t             the_name,      /* XXX -- wrong for variable */
    8383  Objects_Id           the_id,
    8484  boolean              is_fatal_error
     
    154154  Objects_Information *information,
    155155  Objects_Name         the_name,
    156   unsigned32           nodes_to_search,
     156  uint32_t             nodes_to_search,
    157157  Objects_Id          *the_id
    158158)
    159159{
    160   unsigned32          low_node;
    161   unsigned32          high_node;
    162   unsigned32          node_index;
     160  uint32_t            low_node;
     161  uint32_t            high_node;
     162  uint32_t            node_index;
    163163  Chain_Control      *the_chain;
    164164  Chain_Node         *the_node;
    165165  Objects_MP_Control *the_object;
    166   unsigned32          name_to_use;
    167 
    168   name_to_use = *(unsigned32 *)the_name;  /* XXX only fixed length names */
     166  uint32_t            name_to_use;
     167
     168  name_to_use = *(uint32_t  *)the_name;  /* XXX only fixed length names */
    169169
    170170  if ( nodes_to_search > _Objects_Maximum_nodes )
     
    227227)
    228228{
    229   unsigned32          node;
     229  uint32_t            node;
    230230  Chain_Control      *the_chain;
    231231  Chain_Node         *the_node;
  • cpukit/score/src/objectnametoid.c

    r2f4c86f r3127180  
    4747  Objects_Information *information,
    4848  Objects_Name         name,
    49   unsigned32           node,
     49  uint32_t             node,
    5050  Objects_Id          *id
    5151)
     
    5353  boolean                    search_local_node;
    5454  Objects_Control           *the_object;
    55   unsigned32                 index;
    56   unsigned32                 name_length;
     55  uint32_t                   index;
     56  uint32_t                   name_length;
    5757  Objects_Name_comparators   compare_them;
    5858
  • cpukit/score/src/objectshrinkinformation.c

    r2f4c86f r3127180  
    4646  Objects_Control  *the_object;
    4747  Objects_Control  *extract_me;
    48   unsigned32        block_count;
    49   unsigned32        block;
    50   unsigned32        index_base;
    51   unsigned32        index;
     48  uint32_t          block_count;
     49  uint32_t          block;
     50  uint32_t          index_base;
     51  uint32_t          index;
    5252
    5353  /*
  • cpukit/score/src/thread.c

    r2f4c86f r3127180  
    4141
    4242void _Thread_Handler_initialization(
    43   unsigned32   ticks_per_timeslice,
    44   unsigned32   maximum_extensions,
    45   unsigned32   maximum_proxies
     43  uint32_t     ticks_per_timeslice,
     44  uint32_t     maximum_extensions,
     45  uint32_t     maximum_proxies
    4646)
    4747{
    48   unsigned32      index;
     48  uint32_t        index;
    4949
    5050  /*
  • cpukit/score/src/threadcreateidle.c

    r2f4c86f r3127180  
    3737{
    3838  void       *idle;
    39   unsigned32  idle_task_stack_size;
     39  uint32_t    idle_task_stack_size;
    4040
    4141  /*
  • cpukit/score/src/threadget.c

    r2f4c86f r3127180  
    4444)
    4545{
    46   unsigned32           the_api;
    47   unsigned32           the_class;
     46  uint32_t             the_api;
     47  uint32_t             the_class;
    4848  Objects_Information *information;
    4949  Thread_Control      *tp = (Thread_Control *) 0;
  • cpukit/score/src/threadidlebody.c

    r2f4c86f r3127180  
    4343#if (CPU_PROVIDES_IDLE_THREAD_BODY == FALSE)
    4444Thread _Thread_Idle_body(
    45   unsigned32 ignored
     45  uint32_t  ignored
    4646)
    4747{
  • cpukit/score/src/threadinitialize.c

    r2f4c86f r3127180  
    4141  Thread_Control                       *the_thread,
    4242  void                                 *stack_area,
    43   unsigned32                            stack_size,
     43  uint32_t                              stack_size,
    4444  boolean                               is_fp,
    4545  Priority_Control                      priority,
     
    4747  Thread_CPU_budget_algorithms          budget_algorithm,
    4848  Thread_CPU_budget_algorithm_callout   budget_callout,
    49   unsigned32                            isr_level,
     49  uint32_t                              isr_level,
    5050  Objects_Name                          name
    5151)
    5252{
    53   unsigned32           actual_stack_size = 0;
     53  uint32_t             actual_stack_size = 0;
    5454  void                *stack = NULL;
    5555#if ( CPU_HARDWARE_FP == TRUE ) || ( CPU_SOFTWARE_FP == TRUE )
  • cpukit/score/src/threadmp.c

    r2f4c86f r3127180  
    2626
    2727void _Thread_MP_Handler_initialization (
    28   unsigned32  maximum_proxies
     28  uint32_t    maximum_proxies
    2929)
    3030{
     
    113113
    114114#define _Thread_MP_Proxy_Active_offset \
    115      ((unsigned32)&(((Thread_Proxy_control *)0))->Active)
     115     ((uint32_t  )&(((Thread_Proxy_control *)0))->Active)
    116116
    117117Thread_Control *_Thread_MP_Find_proxy (
  • cpukit/score/src/threadq.c

    r2f4c86f r3127180  
    4141  Thread_queue_Disciplines      the_discipline,
    4242  States_Control                state,
    43   unsigned32                    timeout_status
     43  uint32_t                      timeout_status
    4444)
    4545{
    46   unsigned32 index;
     46  uint32_t  index;
    4747
    4848  the_thread_queue->state          = state;
  • cpukit/score/src/threadqdequeuepriority.c

    r2f4c86f r3127180  
    4343)
    4444{
    45   unsigned32      index;
     45  uint32_t        index;
    4646  ISR_Level       level;
    4747  Thread_Control *the_thread = NULL;  /* just to remove warnings */
  • cpukit/score/src/threadqenqueuepriority.c

    r2f4c86f r3127180  
    5151  ISR_Level            level;
    5252  Chain_Control       *header;
    53   unsigned32           header_index;
     53  uint32_t             header_index;
    5454  Chain_Node          *the_node;
    5555  Chain_Node          *next_node;
  • cpukit/score/src/threadqfirstpriority.c

    r2f4c86f r3127180  
    4040)
    4141{
    42   unsigned32 index;
     42  uint32_t  index;
    4343
    4444  for( index=0 ;
  • cpukit/score/src/threadqflush.c

    r2f4c86f r3127180  
    3939  Thread_queue_Control       *the_thread_queue,
    4040  Thread_queue_Flush_callout  remote_extract_callout,
    41   unsigned32                  status
     41  uint32_t                    status
    4242)
    4343{
  • cpukit/score/src/threadreset.c

    r2f4c86f r3127180  
    4040  Thread_Control      *the_thread,
    4141  void                *pointer_argument,
    42   unsigned32           numeric_argument
     42  uint32_t             numeric_argument
    4343)
    4444{
  • cpukit/score/src/threadrestart.c

    r2f4c86f r3127180  
    4040  Thread_Control      *the_thread,
    4141  void                *pointer_argument,
    42   unsigned32           numeric_argument
     42  uint32_t             numeric_argument
    4343)
    4444{
  • cpukit/score/src/threadsettransient.c

    r2f4c86f r3127180  
    5050{
    5151  ISR_Level             level;
    52   unsigned32            old_state;
     52  uint32_t              old_state;
    5353  Chain_Control *ready;
    5454
  • cpukit/score/src/threadstackallocate.c

    r2f4c86f r3127180  
    3737 */
    3838
    39 unsigned32 _Thread_Stack_Allocate(
     39uint32_t  _Thread_Stack_Allocate(
    4040  Thread_Control *the_thread,
    41   unsigned32 stack_size
     41  uint32_t  stack_size
    4242)
    4343{
  • cpukit/score/src/threadstart.c

    r2f4c86f r3127180  
    4242  void                 *entry_point,
    4343  void                 *pointer_argument,
    44   unsigned32            numeric_argument
     44  uint32_t              numeric_argument
    4545)
    4646{
  • cpukit/score/src/userext.c

    r2f4c86f r3127180  
    184184  Internal_errors_Source  the_source,
    185185  boolean                 is_internal,
    186   unsigned32              the_error
     186  uint32_t                the_error
    187187)
    188188{
  • cpukit/score/src/watchdoginsert.c

    r2f4c86f r3127180  
    3232  ISR_Level          level;
    3333  Watchdog_Control  *after;
    34   unsigned32         insert_isr_nest_level;
     34  uint32_t           insert_isr_nest_level;
    3535  Watchdog_Interval  delta_interval;
    3636 
  • cpukit/score/src/wkspace.c

    r2f4c86f r3127180  
    2727void _Workspace_Handler_initialization(
    2828  void       *starting_address,
    29   unsigned32  size
     29  uint32_t    size
    3030)
    3131{
    32   unsigned32 *zero_out_array;
    33   unsigned32  index;
    34   unsigned32  memory_available;
     32  uint32_t  *zero_out_array;
     33  uint32_t    index;
     34  uint32_t    memory_available;
    3535 
    3636  if ( !starting_address || !_Addresses_Is_aligned( starting_address ) )
     
    4242 
    4343  if ( _CPU_Table.do_zero_of_workspace ) {
    44     for( zero_out_array  = (unsigned32 *) starting_address, index = 0 ;
    45          index < size / sizeof( unsigned32 ) ;
     44    for( zero_out_array  = (uint32_t  *) starting_address, index = 0 ;
     45         index < size / sizeof( uint32_t  ) ;
    4646         index++ )
    4747      zero_out_array[ index ] = 0;
     
    7070
    7171void *_Workspace_Allocate_or_fatal_error(
    72   unsigned32   size
     72  uint32_t     size
    7373)
    7474{
Note: See TracChangeset for help on using the changeset viewer.