hw: arm_gic: Introduce gic_set_priority function
commit9df90ad078ec782d1339bd6879b6ea117f9759f7
authorChristoffer Dall <christoffer.dall@linaro.org>
Sat, 21 Dec 2013 06:09:33 +0000 (20 22:09 -0800)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 8 Jan 2014 19:07:22 +0000 (8 19:07 +0000)
tree2f4eb30a6d3ee1dc4c36bed8276a24c7d7bfff5a
parent04050c5c6aa6f9c086a63a30b182b996fb2d3d02
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