[RTEMS Project] #3486: Use uintptr_t and size_t instead of uint32_t in rtems_partition_create()

RTEMS trac trac at rtems.org
Mon Aug 6 08:42:31 UTC 2018


#3486: Use uintptr_t and size_t instead of uint32_t in rtems_partition_create()
------------------------------+-----------------------------
  Reporter:  Sebastian Huber  |      Owner:  Sebastian Huber
      Type:  enhancement      |     Status:  assigned
  Priority:  normal           |  Milestone:  5.1
 Component:  rtems            |    Version:  5
  Severity:  normal           |   Keywords:
Blocked By:                   |   Blocking:
------------------------------+-----------------------------
 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).

--
Ticket URL: <http://devel.rtems.org/ticket/3486>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list