diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2019-10-23 18:07:03 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2020-01-07 17:24:29 +0400 |
commit | 80b2eed95dd6397541cc4d7ec36db0e182a8f402 (patch) | |
tree | 1854959962dbb3920dc8d7884f1f050e3cdea655 /include/hw/char | |
parent | 17fd1a6490b1d66cdfa60c67060e63da71a43a51 (diff) |
serial-mm: add endianness property
Add a qdev property for endianness, so memory region setup can be done
in realize.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'include/hw/char')
-rw-r--r-- | include/hw/char/serial.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/char/serial.h b/include/hw/char/serial.h index eaeda62698..d586924937 100644 --- a/include/hw/char/serial.h +++ b/include/hw/char/serial.h @@ -85,6 +85,7 @@ typedef struct SerialMM { SerialState serial; uint8_t regshift; + uint8_t endianness; } SerialMM; extern const VMStateDescription vmstate_serial; |