sptimecounter01 use of stack allocator/deallocator

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Nov 22 07:43:14 UTC 2017


On 21/11/17 16:23, Joel Sherrill wrote:
>
>
> On Tue, Nov 21, 2017 at 1:12 AM, Sebastian Huber 
> <sebastian.huber at embedded-brains.de 
> <mailto: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.

Maybe we need

BSP_TASK_STACK_ALLOCATOR_INIT
BSP_TASK_STACK_ALLOCATOR
BSP_TASK_STACK_DEALLOCATOR

confdefs.h defines.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 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.




More information about the devel mailing list