summaryrefslogtreecommitdiffstats
path: root/include/hw/timer
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé2020-10-10 22:37:07 +0200
committerPeter Maydell2020-10-20 17:12:00 +0200
commitcdb490da8695ec67dbc151335b31450abb9e564e (patch)
treec9c257766ae78033eda0277d709505cd0383ca9a /include/hw/timer
parenthw/timer/bcm2835: Introduce BCM2835_SYSTIMER_COUNT definition (diff)
downloadqemu-cdb490da8695ec67dbc151335b31450abb9e564e.tar.gz
qemu-cdb490da8695ec67dbc151335b31450abb9e564e.tar.xz
qemu-cdb490da8695ec67dbc151335b31450abb9e564e.zip
hw/timer/bcm2835: Rename variable holding CTRL_STATUS register
The variable holding the CTRL_STATUS register is misnamed 'status'. Rename it 'ctrl_status' to make it more obvious this register is also used to control the peripheral. Reviewed-by: Luc Michel <luc.michel@greensocs.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20201010203709.3116542-3-f4bug@amsat.org Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw/timer')
-rw-r--r--include/hw/timer/bcm2835_systmr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/timer/bcm2835_systmr.h b/include/hw/timer/bcm2835_systmr.h
index 43df7ee488..f15788a78d 100644
--- a/include/hw/timer/bcm2835_systmr.h
+++ b/include/hw/timer/bcm2835_systmr.h
@@ -27,7 +27,7 @@ struct BCM2835SystemTimerState {
qemu_irq irq;
struct {
- uint32_t status;
+ uint32_t ctrl_status;
uint32_t compare[BCM2835_SYSTIMER_COUNT];
} reg;
};