hw: arm_gic: Introduce gic_set_priority function
commite3d8cc0536699b66f58b0e3a13a70ee007f61647
authorChristoffer Dall <christoffer.dall@linaro.org>
Sat, 21 Dec 2013 06:09:33 +0000 (20 22:09 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 7 Jan 2014 19:18:07 +0000 (7 19:18 +0000)
treeb2b3ea770c55052ec3f52635f1c13a17d2647411
parent07c935087a5541fb167fecf3bef810de2605f93f
hw: arm_gic: Introduce gic_set_priority function

To make the code slightly cleaner to look at and make the save/restore
code easier to understand, introduce this function to set the priority of
interrupts.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1387606179-22709-3-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/intc/arm_gic.c
hw/intc/gic_internal.h