hw/intc/arm_gic: Switch to read/write callbacks with tx attributes
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:16 +0000 (11:57 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 12 May 2015 10:57:16 +0000 (11:57 +0100)
commita9d853533cc1a27dc09b10c7ab89677f9c5dd8f4
tree0308985b5a640ecf0ea7c5d647c852a1dab6e602
parent5543d1abb6e218a9d3b8887b777fd3947c86c4cf
hw/intc/arm_gic: Switch to read/write callbacks with tx attributes

Switch the GIC's MMIO callback functions to the read_with_attrs
and write_with_attrs functions which provide MemTxAttrs. This will
allow the GIC to correctly handle secure and nonsecure register
accesses.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
Message-id: 1430502643-25909-4-git-send-email-peter.maydell@linaro.org
hw/intc/arm_gic.c