svn commit: r266083 - in head/sys/arm: arm include

Michael Tuexen tuexen at freebsd.org
Sat May 24 19:10:02 UTC 2014


On 22 May 2014, at 09:09, Mark R V Murray <markm at FreeBSD.org> wrote:

> 
> On 21 May 2014, at 21:15, Hans Petter Selasky <hps at selasky.org> wrote:
> 
>> On 05/14/14 21:11, Mark Murray wrote:
>>> Author: markm
>>> Date: Wed May 14 19:11:15 2014
>>> New Revision: 266083
>>> URL: http://svnweb.freebsd.org/changeset/base/266083
>>> 
>>> Log:
>>>  Give suitably-endowed ARMs a register similar to the x86 TSC register.
>>> 
>> 
>> Hi,
>> 
>> Regression issue:
>> This commit prevents RPI-B from booting.
> 
> Thanks, I’ll look at it ASAP.
Doesn't the ARM1176 use for example
MRC p15, 0, <Rd>, c15, c12, 1    ; Read Cycle Counter Register
to read the value, whereas the 
you use 
__asm __volatile("mrc p15, 0, %0, c9, c13, 0": "=r" (ccnt));

Best regards
Michael
> 
> M
> -- 
> Mark R V Murray
> 
> 
> 



More information about the svn-src-head mailing list