[En-Nut-Discussion] NutOs context switching

Lorenzo Midulla l.midulla at libero.it
Wed Nov 19 22:22:51 CET 2003


Nut/os is a cooperative multitasking so I don't understand why in context switching ALL registers are saved. In my opinion you have only to save R28/R29 (Y reg in ICCAVR). The other registers are saved by compiler or you don't need to save them (volatile regs).

What's your opinion?

Lorenzo Midulla
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.egnite.de/pipermail/en-nut-discussion/attachments/20031119/74cc35e6/attachment-0001.html>


More information about the En-Nut-Discussion mailing list