>The only time you might realisticly want to support SWI is for semi- >hosting mode support. I have also seen an RTOS done using SWI to make >all OS calls atomic, but that was rather contrived and it would have >been done better a duifferent way. Semi-hosting allows BIOS-like >handlers (for you old x86/DOS rememberers like me) for printing etc to >be handled by SWI handlers, but that can be typically ignored with no >ill effects (other than not getting the functionality). I use the SWI for tasks to force a context switch (Yield). The context switch occurs out of system mode so no problem with ldmfd's. Seems the simplest way to me but I would be interested in an expansion on your comments above. AFAIK provided ldmfd's are always followed by a NOP they are fine in supervisor and IRQ modes. Regards, Richard. http://www.FreeRTOS.org ---------------------------------------------------------------------------- ---- YAHOO! GROUPS LINKS a.. Visit your group "lpc2000" on the web. b.. To unsubscribe from this group, send an email to: lpc2000-unsubscribe@yahoogroups.com c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. ---------------------------------------------------------------------------- ----
Message
Re: [lpc2000] Re: ARM_UCOS port and the use of stmfd/ldmfd
2005-09-21 by FreeRTOS Info
Attachments
- No local attachments were found for this message.