Changeset 66cb142 in rtems for cpukit/rtems/src


Ignore:
Timestamp:
Aug 6, 2018, 8:51:00 AM (15 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
b2de426
Parents:
b8eae140
git-author:
Sebastian Huber <sebastian.huber@…> (08/06/18 08:51:00)
git-committer:
Sebastian Huber <sebastian.huber@…> (08/10/18 05:14:43)
Message:

rtems: Parameter types in rtems_partition_create()

Use uintptr_t to specify the length of the partition buffer area instead
of uint32_t. This is in line with rtems_region_create(). On 64-bit
targets, the length may exceed 4GiB. Use size_t for the buffer size,
since on some targets the single object size is less than the overall
address range, e.g. m32c sizeof(uintptr_t) > sizeof(size_t).

Update #3486.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/rtems/src/partcreate.c

    rb8eae140 r66cb142  
    4848  rtems_name       name,
    4949  void            *starting_address,
    50   uint32_t         length,
    51   uint32_t         buffer_size,
     50  uintptr_t        length,
     51  size_t           buffer_size,
    5252  rtems_attribute  attribute_set,
    5353  rtems_id        *id
Note: See TracChangeset for help on using the changeset viewer.