Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Oct 2006 01:40:50 +0200
From:      Olivier Houchard <mlfbsd@ci0.org>
To:        Mark Tinguely <tinguely@casselton.net>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: bcopy/memmove in support.S
Message-ID:  <20061020234050.GA40483@ci0.org>
In-Reply-To: <200610202227.k9KMRYVu019745@casselton.net>
References:  <200610202227.k9KMRYVu019745@casselton.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061020234050.GA40483>