diff options
| author | Philippe Mathieu-Daudé | 2020-10-10 22:37:07 +0200 |
|---|---|---|
| committer | Peter Maydell | 2020-10-20 17:12:00 +0200 |
| commit | cdb490da8695ec67dbc151335b31450abb9e564e (patch) | |
| tree | c9c257766ae78033eda0277d709505cd0383ca9a /include | |
| parent | hw/timer/bcm2835: Introduce BCM2835_SYSTIMER_COUNT definition (diff) | |
| download | qemu-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')
| -rw-r--r-- | include/hw/timer/bcm2835_systmr.h | 2 |
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; }; |
