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

Mark R V Murray markm at FreeBSD.org
Mon Jun 16 19:28:32 UTC 2014


On 16 Jun 2014, at 20:25, Michael Tuexen <tuexen at freebsd.org> wrote:
>> Should print a whole lotta numbers, incrementing, unless you hit the wraparound.
> Don't I need to compile a kernel with _PMC_USER_READ_WRITE_ being defined, since
> without it a user process can't access the register. When running it on a kernel
> not defining _PMC_USER_READ_WRITE_, I get a core with Illegal instruction.

No. That only enables _write_ access. That’s on ARMv7. What’s in ARMv6 may also work.

> Let me build a kernel with the above define and retest.

Please try without it.

M
-- 
Mark R V Murray



More information about the svn-src-head mailing list