This is the mail archive of the
newlib@sources.redhat.com
mailing list for the newlib project.
ARM swi service routine
- From: Shaun Jackman <sjackman at gmail dot com>
- To: newlib at sources dot redhat dot com
- Date: Wed, 19 Jan 2005 10:17:28 -0800
- Subject: ARM swi service routine
- Reply-to: Shaun Jackman <sjackman at gmail dot com>
Hello,
Is the ARM swi service routine allowed to trash r1-r3 and r12 like a
function call, or must it preserve these values like an interrupt
handler? The return value is in r0, so it's a moot point.
Is there any code for an ARM swi service routine in libgloss perhaps
or elsewhere?
Cheers,
Shaun