mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
hw/intc/arm_gic: Restrict priority view
GICs with Security Extensions restrict the non-secure view of the interrupt priority and priority mask registers. Signed-off-by: Fabian Aggeler <aggelerf@ethz.ch> Signed-off-by: Greg Bellows <greg.bellows@linaro.org> Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Message-id: 1430502643-25909-11-git-send-email-peter.maydell@linaro.org Message-id: 1429113742-8371-15-git-send-email-greg.bellows@linaro.org [PMM: minor code tweaks; fixed missing masking in gic_set_priority_mask and gic_set_priority] Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
parent
08efa9f2d1
commit
8150847061
3 changed files with 61 additions and 7 deletions
|
@ -82,7 +82,8 @@ uint32_t gic_acknowledge_irq(GICState *s, int cpu);
|
|||
void gic_complete_irq(GICState *s, int cpu, int irq);
|
||||
void gic_update(GICState *s);
|
||||
void gic_init_irqs_and_distributor(GICState *s);
|
||||
void gic_set_priority(GICState *s, int cpu, int irq, uint8_t val);
|
||||
void gic_set_priority(GICState *s, int cpu, int irq, uint8_t val,
|
||||
MemTxAttrs attrs);
|
||||
|
||||
static inline bool gic_test_pending(GICState *s, int irq, int cm)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue