Collaboration diagram for TosData:
Note that this places boundaries of the StackSize (which can be checked), and implies that the structure of TtaskSave depends on the direction of stack growth and the alignment of the array and the structure (which is assumed to be top-aligned, i.e. the lowest used addresses match). Thus this is a delicate matter. Therefore we have the possibility to use a normal struct as well. Note the StackOS must be the first field, because of the definition of __do_stack_def: in the devices files. (i don't know a way to address xOS.StackOS in assembly directly).
Definition at line 193 of file femtoos_types.h.