range in one block
> and the block header in the next. I don't think it matters too much
> because most of the 'protected' aspects have to do with free block
> management. But that should be confirmed.
>
> The check is not "if it's been previously used" I
aspects have to do with free block
management. But that should be confirmed.
The check is not "if it's been previously used" I suggest that you
look at what the invoked function does and how it is documented. Avoid
making assumptions based on names.
The usable memory is NOT the size of
Is the usable memory in the heap calculated by:
>>> the size of the block * # of blocks?
>>>
>>> Thanks, Zack
>>>
>>> -- Forwarded message -
>>> From: Joel Sherrill
>>> Date: Wed, 8 Sept 2021 at 20:30
>>> Subjec
gt;> implemented. So far it's checking if : the block is not in the heap and if
>> it's been previously used. Is the usable memory in the heap calculated by:
>> the size of the block * # of blocks?
>>
>> Thanks, Zack
>>
>> -- Forwarded m
usable memory in the heap calculated by:
> the size of the block * # of blocks?
>
> Thanks, Zack
>
> -- Forwarded message -
> From: Joel Sherrill
> Date: Wed, 8 Sept 2021 at 20:30
> Subject: Re: Ticket 4503
> To: Gedare Bloom
> Cc: zack leung , rtem
From: Joel Sherrill
Date: Wed, 8 Sept 2021 at 20:30
Subject: Re: Ticket 4503
To: Gedare Bloom
Cc: zack leung , rtems-de...@rtems.org <
devel@rtems.org>
On Wed, Sep 8, 2021 at 11:02 AM Gedare Bloom wrote:
> Hi Zack,
>
> https://devel.rtems.org/ticket/4503
>
> Th
On Wed, Sep 8, 2021 at 11:02 AM Gedare Bloom wrote:
> Hi Zack,
>
> https://devel.rtems.org/ticket/4503
>
> The malloc implementation exists in the score as the Heap Manager. search
> for "Heap_" within cpukit to get some ideas where to look.
>
I think the method
Hi Zack,
https://devel.rtems.org/ticket/4503
The malloc implementation exists in the score as the Heap Manager. search
for "Heap_" within cpukit to get some ideas where to look.
@Joel are these two tickets duplicates?
https://devel.rtems.org/ticket/4503
https://devel.rtems.org/t
I was wondering about ticket 4503. I was wondering where The required
functionality should be in the underlying score/ capability used can be
found to write this function. Also how does this relate to
Add common malloc family extension method malloc_usable_size()
<https://devel.rtems.org/tic