diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-21 20:14:02 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-07 17:24:21 +0400 |
commit | 17fd1a6490b1d66cdfa60c67060e63da71a43a51 (patch) | |
tree | e83ed253bb9b48cb1d0064cf25d0fba6728a2782 /include/hw | |
parent | 490a9d9b36bfa22a6b46b27e6e9e84e1bac44c68 (diff) | |
download | qemu-17fd1a6490b1d66cdfa60c67060e63da71a43a51.zip |
serial-mm: add "regshift" property
And a property and rename "it_shift" field to "regshift", as it seems
to be more popular (and I don't know what "it" stands for).
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/char/serial.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index 730165347c..eaeda62698 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -84,7 +84,7 @@ typedef struct SerialMM { SerialState serial; - int it_shift; + uint8_t regshift; } SerialMM; extern const VMStateDescription vmstate_serial; @@ -101,7 +101,7 @@ void serial_set_frequency(SerialState *s, uint32_t frequency); SerialState *serial_init(int base, qemu_irq irq, int baudbase, Chardev *chr, MemoryRegion *system_io); SerialMM *serial_mm_init(MemoryRegion *address_space, - hwaddr base, int it_shift, + hwaddr base, int regshift, qemu_irq irq, int baudbase, Chardev *chr, enum device_endian end); |