Fix implementation and users of gicd_set_ipriorityr()
Make gicd_set_ipriorityr() actually write to the priority register.

Also correct callers of this function which want the highest priority
to use the value zero as this is the highest priority value according
to the ARM Generic Interrupt Controller Architecture Specification.

To make this easier to get right, we introduce defines for the lowest
and highest priorities for secure and non-secure interrupts.

Fixes ARM-software/tf-issues#21

Signed-off-by: Jon Medhurst <tixy@linaro.org>
1 parent a4d9f26 commit cf6eeb8a60bfb8c6b2e49c3839eed173d814f2ba
@Jon Medhurst Jon Medhurst authored on 11 Feb 2014
Dan Handley committed on 5 Mar 2014
Showing 3 changed files
View
arch/system/gic/gic.h
View
arch/system/gic/gic_v2.c
View
plat/fvp/plat_gic.c