Changeset 8022a68 in rtems for cpukit/score


Ignore:
Timestamp:
02/11/07 04:52:37 (17 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
3672dd97
Parents:
f692e004
Message:

Use size_t for heap-sizes.

Location:
cpukit/score
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/heap.h

    rf692e004 r8022a68  
    283283  Heap_Control *the_heap,
    284284  void         *starting_address,
    285   uint32_t      size,
     285  size_t        size,
    286286  uint32_t     *amount_extended
    287287);
     
    298298void *_Heap_Allocate(
    299299  Heap_Control *the_heap,
    300   uint32_t    size
     300  size_t        size
    301301);
    302302
     
    451451 *  @return This method returns block size on success, 0 if overflow occured.
    452452 */
    453 extern uint32_t _Heap_Calc_block_size(
    454   uint32_t size,
     453extern size_t _Heap_Calc_block_size(
     454  size_t  size,
    455455  uint32_t page_size,
    456456  uint32_t min_size
  • cpukit/score/src/heap.c

    rf692e004 r8022a68  
    206206 * Return block size on success, 0 if overflow occured
    207207 */
    208 uint32_t _Heap_Calc_block_size(
    209   uint32_t size,
     208size_t _Heap_Calc_block_size(
     209  size_t  size,
    210210  uint32_t page_size,
    211211  uint32_t min_size)
  • cpukit/score/src/heapallocate.c

    rf692e004 r8022a68  
    3737void *_Heap_Allocate(
    3838  Heap_Control        *the_heap,
    39   uint32_t             size
     39  size_t               size
    4040)
    4141{
  • cpukit/score/src/heapextend.c

    rf692e004 r8022a68  
    3939  Heap_Control        *the_heap,
    4040  void                *starting_address,
    41   uint32_t             size,
     41  size_t               size,
    4242  uint32_t            *amount_extended
    4343)
Note: See TracChangeset for help on using the changeset viewer.