PATCH: get_cyclecount() on ARMv6 and better

Mark R V Murray mark at grondar.org
Sat Aug 3 12:26:10 UTC 2013


On 3 Aug 2013, at 12:51, Aleksandr Rybalko <ray at freebsd.org> wrote:
> Hi Mark!
> 
> Do we setup Performance Monitor Control Register before use that
> counter?

I've read up on PNMC register now, an looked for it in the code,
and unless it is very well hidden, then NO, we don't set it up.

I've read now what I need to do; where is the best place do do it?
I suspect it should be in start-up code right when the ARM is starting
up; is that a good guess?

M
-- 
Mark R V Murray

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 353 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-arm/attachments/20130803/0e6ae49e/attachment.sig>


More information about the freebsd-arm mailing list