Hi, All !

I have added a new 'task' function attribute to the msp430-gcc.

'task' function is similar to the 'naked' function, except that prolog code
for allocation stack for local variables is generated. It is very useful in
RTOS programming.

I hope that msp430-gcc development team will approve the new feature and
commit patch to the CVS.

The patch which implement new feature is in the attachments.
(to Dmitry: I have compiled gcc with this patch and test new attribute with
my SOS RTOS. It works fine, but I am not very familiar with the gcc's
internals,
so please check ones more before committing, if you will).

All the best !
Oleg Skydan
UR3IQO

Attachment: task.patch
Description: Binary data

Reply via email to