41ab7b5510
arm_gic: Introduce define for GIC_NR_SGIS
...
Instead of hardcoding 16 various places in the code, use a define to
make it more clear what is going on.
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2014-01-31 14:47:38 +00:00
04050c5c6a
arm_gic: Rename GIC_X_TRIGGER to GIC_X_EDGE_TRIGGER
...
TRIGGER can really mean mean anything (e.g. was it triggered, is it
level-triggered, is it edge-triggered, etc.). Rename to EDGE_TRIGGER to
make the code comprehensible without looking up the data structure.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org >
Message-id: 1387606179-22709-2-git-send-email-christoffer.dall@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2014-01-08 19:07:22 +00:00
c3931ee8b4
hw/intc: add allwinner A10 interrupt controller
...
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com >
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com >
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Message-id: 1387159292-10436-4-git-send-email-lig.fnst@cn.fujitsu.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org >
2013-12-17 20:12:51 +00:00
ce31825de6
realview_gic: Prepare for QOM embedding
...
Move state struct, type constant and cast macro to a new header.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-11-05 17:47:30 +01:00
83728796ad
arm_gic: Extract headers hw/intc/arm_gic{,_common}.h
...
Rename NCPU to GIC_NCPU and move GICState away from gic_internal.h.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org >
Signed-off-by: Andreas Färber <afaerber@suse.de >
2013-11-05 17:47:29 +01:00