On Sat, 29 Jun 2013 12:27:50 +0000 (UTC)
Aleksandr Rybalko <r...@freebsd.org> wrote:

> Author: ray
> Date: Sat Jun 29 12:27:50 2013
> New Revision: 252372
> URL: http://svnweb.freebsd.org/changeset/base/252372
> 
> Log:
>   Add ARM Generic Timer driver.
>   
>   Submitted by:       Ruslan Bukin <b...@bsdpad.com>
> 
> Added:
>   head/sys/arm/arm/generic_timer.c   (contents, props changed)
> 
> Added: head/sys/arm/arm/generic_timer.c

...
> +static inline void
> +disable_user_access(void)
> +{
> +     uint32_t cntkctl;
> +
> +     __asm volatile("mrc p15, 0, %0, c14, c1, 0" :
> "=r" (cntkctl));
> +     cntkctl &= ~((3 << 8) | (7 << 0));
What do these magic numbers do? I.e. could they be macros so the values
are described.

Andrew
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to