svn commit: r265861 - in head/sys: arm/include modules

Konstantin Belousov kostikbel at gmail.com
Sun May 11 07:10:10 UTC 2014


On Sun, May 11, 2014 at 12:43:06AM +0000, Ian Lepore wrote:
> Author: ian
> Date: Sun May 11 00:43:06 2014
> New Revision: 265861
> URL: http://svnweb.freebsd.org/changeset/base/265861
> 
> Log:
>   Make the hardware memory and instruction barrier functions work on armv4
>   and armv5 as well.
> 
> Modified:
>   head/sys/arm/include/atomic.h
>   head/sys/modules/Makefile
> 
> Modified: head/sys/arm/include/atomic.h
> ==============================================================================
> --- head/sys/arm/include/atomic.h	Sat May 10 22:27:01 2014	(r265860)
> +++ head/sys/arm/include/atomic.h	Sun May 11 00:43:06 2014	(r265861)
> @@ -58,9 +58,9 @@
>  #define dsb()  __asm __volatile("mcr p15, 0, %0, c7, c10, 4" : : "r" (0) : "memory")
>  #define dmb()  __asm __volatile("mcr p15, 0, %0, c7, c10, 5" : : "r" (0) : "memory")
>  #else
> -#define isb()
> -#define dsb()
> -#define dmb()
> +#define isb()  __asm __volatile("mcr p15, 0, %0, c7, c5, 4" : : "r" (0) : "memory")
> +#define dsb()  __asm __volatile("mcr p15, 0, %0, c7, c10, 4" : : "r" (0) : "memory")
> +#define dmb()  dsb()
>  #endif
>  
>  #define mb()   dmb()
> 
> Modified: head/sys/modules/Makefile
> ==============================================================================
> --- head/sys/modules/Makefile	Sat May 10 22:27:01 2014	(r265860)
> +++ head/sys/modules/Makefile	Sun May 11 00:43:06 2014	(r265861)
> @@ -2,6 +2,8 @@
>  
>  .include <src.opts.mk>
>  
> +SUBDIR_PARALLEL=
> +
>  # Modules that include binary-only blobs of microcode should be selectable by
>  # MK_SOURCELESS_UCODE option (see below).
>  
This part is unrelated and should be reverted, I suppose ?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-src-head/attachments/20140511/9584e3de/attachment.sig>


More information about the svn-src-head mailing list