[PATCH v2] score: Ensure stack alignment requirement

Sebastian Huber sebastian.huber at embedded-brains.de
Thu Mar 4 15:22:44 UTC 2021


On 04/03/2021 16:20, Kinsey Moore wrote:

>> +  /*
>> +   * In order to make sure that a user-provided stack size is the minimum which
>> +   * can be allocated for the stack, we have to align it up to the next stack
>> +   * boundary.
>> +   */
>> +  alignment_overhead = CPU_STACK_ALIGNMENT - 1;
> This should be CPU_HEAP_ALIGNMENT given the #if below.
No, this is the result of the discussion with Gedare with respect to the 
user-provided minimum. I can move this to a separate patch if desired.

-- 
embedded brains GmbH
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax:   +49-89-18 94 741 - 08

Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/



More information about the devel mailing list