summaryrefslogtreecommitdiff
path: root/include/hw
diff options
context:
space:
mode:
authorChristoffer Dall <christoffer.dall@linaro.org>2013-12-20 22:09:32 -0800
committerPeter Maydell <peter.maydell@linaro.org>2014-01-07 19:18:07 +0000
commit07c935087a5541fb167fecf3bef810de2605f93f (patch)
treed0a0388ab46f52e62585e685cd213c10ccc16f42 /include/hw
parent455e1e14bbfaf72275efeddaa7bc5d6294253eff (diff)
downloadqemu-07c935087a5541fb167fecf3bef810de2605f93f.tar.gz
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>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/intc/arm_gic_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/intc/arm_gic_common.h b/include/hw/intc/arm_gic_common.h
index 4f381bdce7..0d232dfb67 100644
--- a/include/hw/intc/arm_gic_common.h
+++ b/include/hw/intc/arm_gic_common.h
@@ -37,7 +37,7 @@ typedef struct gic_irq_state {
uint8_t active;
uint8_t level;
bool model; /* 0 = N:N, 1 = 1:N */
- bool trigger; /* nonzero = edge triggered. */
+ bool edge_trigger; /* true: edge-triggered, false: level-triggered */
} gic_irq_state;
typedef struct GICState {