HAL Startup Stack Size Patch
Jay Foster
jay@systech.com
Wed Feb 21 18:18:00 GMT 2007
I have discovered a problem with my applications (arm architecture) with the
startup stack overflowing. My configurations have the interrupt stack
switching enabled, which results in a small startup stack (512 bytes). I
have attached a patch that will allow the startup stack size to be
configured by CDL.
I realize that the patch is currently somewhat ARM architecture specific. I
looked at making the CDL option an ARM architecture only option
(arm/arch/current/cdl/hal_arm.cdl), rather than HAL common. This introduces
additional problems for my applications, which specify the new startup stack
size from a template, which is used to build the application on different
architectures (ARM, Synthetic, others). This template doesn't know about
the ARM HAL, only the common HAL.
Any suggestions on how to better solve this would be helpful.
Jay
<<sstack.pat>>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sstack.pat
Type: application/octet-stream
Size: 2389 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/ecos-patches/attachments/20070221/be2c0452/attachment.obj>
More information about the Ecos-patches
mailing list