This is the mail archive of the ecos-patches@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

HAL Startup Stack Size Patch


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>> 

Attachment: sstack.pat
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]