target-arm: Add GIC phandle to VirtBoardInfo
commit747d009dcac37ce7372b58b21c168f0ad66cf7be
authorChristoffer Dall <christoffer.dall@linaro.org>
Tue, 2 Jun 2015 13:56:22 +0000 (2 14:56 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Tue, 2 Jun 2015 13:56:25 +0000 (2 14:56 +0100)
tree0f10dbf1968a766f5e74c437a05f9c90efbd7a7f
parent57b6d95eb480d66c5bfa4e416d1fbcad0f84fdd2
target-arm: Add GIC phandle to VirtBoardInfo

Instead of passing the GIC phandle around between functions, add it to
the VirtBoardInfo just like we do for the clock_phandle.  We are about
to add the v2m phandle as well, and it's easier not having to pass
around a bunch of phandles, return multiple values from functions, etc.

Reviewed-by: Eric Auger <eric.auger@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
Message-id: 1432897270-7780-2-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm/virt.c