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

RTEMS trac trac at rtems.org
Fri Aug 10 05:17:59 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           |  Resolution:
 Keywords:                   |  Blocked By:
 Blocking:                   |
-----------------------------+------------------------------

Comment (by Sebastian Huber <sebastian.huber@…>):

 In [changeset:"66cb14205416253df88a412f579956d8d6109794/rtems"
 66cb142/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="66cb14205416253df88a412f579956d8d6109794"
 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.
 }}}

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


More information about the bugs mailing list