[En-Nut-Discussion] newbie question - NutThreadSwitch in avr
Ole Reinhardt
ole.reinhardt at kernelconcepts.de
Mon Jul 4 08:53:34 CEST 2005
Hi,
> in function NutThreadSwitch() of avr_thread.c
> why don't we pop and push r18 ~ r27 ??
I think I can answer you this first question. avr-gcc uses these
registers only for it's own internal purpose. So they will never needed
to be safed, as gcc knows about the invalidation of the registers on a
thread switch.
Am I right?
Bye,
Ole
--
kernel concepts Tel: +49-271-771091-14
Dreisbachstr. 24 Fax: +49-271-771091-19
D-57250 Netphen E+ : +49-177-7420433
--
More information about the En-Nut-Discussion
mailing list