From f7b9358e2cf12a5eb07f5f9301fdadc932f9ee03 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 17 Jun 2016 15:23:47 +0100 Subject: hw/intc/arm_gicv3: Implement gicv3_cpuif_update() Implement the gicv3_cpuif_update() function which deals with correctly asserting IRQ and FIQ based on the current running priority of the CPU, the priority of the highest priority pending interrupt and the CPU's current exception level and security state. Signed-off-by: Peter Maydell Reviewed-by: Shannon Zhao Tested-by: Shannon Zhao Message-id: 1465915112-29272-17-git-send-email-peter.maydell@linaro.org --- hw/intc/gicv3_internal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'hw/intc/gicv3_internal.h') diff --git a/hw/intc/gicv3_internal.h b/hw/intc/gicv3_internal.h index 13f951c..e469599 100644 --- a/hw/intc/gicv3_internal.h +++ b/hw/intc/gicv3_internal.h @@ -222,10 +222,7 @@ void gicv3_init_cpuif(GICv3State *s); * current running priority or the CPU's current exception level or * security state. */ -static inline void gicv3_cpuif_update(GICv3CPUState *cs) -{ - /* This will be implemented in a later commit. */ -} +void gicv3_cpuif_update(GICv3CPUState *cs); static inline uint32_t gicv3_iidr(void) { -- cgit v1.1