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

Ian Lepore ian at FreeBSD.org
Mon Jan 6 02:55:16 UTC 2014


On Wed, 2014-01-01 at 20:03 +0000, Zbigniew Bodek wrote:
> Author: zbb
> Date: Wed Jan  1 20:03:48 2014
> New Revision: 260161
> URL: http://svnweb.freebsd.org/changeset/base/260161
> 
> Log:
>   Add polarity and level support to ARM GIC
>   
>   Add suport for setting triggering level and polarity in GIC.
>   New function pointer was added to nexus which corresponds
>   to the function which sets level/sense in the hardware (GIC).
>   
>   Submitted by:	Wojciech Macek <wma at semihalf.com>
>   Obtained from:	Semihalf
> 
> Modified:
>   head/sys/arm/arm/gic.c
>   head/sys/arm/arm/intr.c
>   head/sys/arm/arm/nexus.c
>   head/sys/arm/include/intr.h
> 
[...]
> Modified: head/sys/arm/include/intr.h
> ==============================================================================
> --- head/sys/arm/include/intr.h	Wed Jan  1 19:38:15 2014	(r260160)
> +++ head/sys/arm/include/intr.h	Wed Jan  1 20:03:48 2014	(r260161)
> @@ -68,6 +68,7 @@
>  #endif
>  
>  #include <machine/psl.h>
> +#include <sys/bus.h>
>  
>  int arm_get_next_irq(int);
>  void arm_mask_irq(uintptr_t);
> @@ -77,6 +78,8 @@ void arm_setup_irqhandler(const char *, 
>      void *, int, int, void **);
>  int arm_remove_irqhandler(int, void *);
>  extern void (*arm_post_filter)(void *);
> +extern int (*arm_config_irq)(int irq, enum intr_trigger trig,
> +    enum intr_polarity pol);
>  
>  void gic_init_secondary(void);
>  

It turns out that the new #include in this change is causing the current
arm tinderbox failures.  Enums can't have forward decls anymore, so the
fix for this may not be easy.

-- Ian




More information about the svn-src-head mailing list