bcopy/memmove in support.S

Olivier Houchard mlfbsd at ci0.org
Fri Oct 20 16:33:16 PDT 2006


Hi Mark,

On Fri, Oct 20, 2006 at 05:27:34PM -0500, Mark Tinguely wrote:
> 
> I am interested in the ARM support in FreeBSD and started reading the
> source code.
> 

Great to hear !

> In line 352 of sys/arm/arm/support.S, in the routines bcopy/memmove, I can't
> see where r12 is being saved before it is being used.
> 

The short answer is : it is not :-)
r12 aka ip is defined as a scratch register by the APCS, and so it is not saved
by the called function.

Cheers,

Olivier


More information about the freebsd-arm mailing list