sptimecounter01 use of stack allocator/deallocator

Joel Sherrill joel at rtems.org
Tue Nov 21 15:23:48 UTC 2017


On Tue, Nov 21, 2017 at 1:12 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> On 20/11/17 17:53, Joel Sherrill wrote:
>
>>
>> The purpose of defining these to NULL isn't documented in this test and
>> renders this test broken for what seems to be a reason orthogonal to the
>> test's apparent purpose.
>>
>
> This test runs in a minimal environment (test runs in boot_card()) to
> verify the static initialization of the timecounter infrastructure.
>
> Running in boot_card() is probably your problem, e.g. not bsp_start()
> invocation.


Actually, I spotted this based on redefine warnings, not running the test.
I will add
undef's before the defines. This should run fine since the starting stack
is in the right place.

--joel


>
>
> --
> Sebastian Huber, embedded brains GmbH
>
> Address : Dornier
> <https://maps.google.com/?q=ess+:+Dornier&entry=gmail&source=g>str. 4,
> D-82178 Puchheim, Germany
> Phone   : +49 89 189 47 41-16
> Fax     : +49 89 189 47 41-09
> E-Mail  : sebastian.huber at embedded-brains.de
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20171121/d0900c1a/attachment-0002.html>


More information about the devel mailing list