hw/char/pl011: Replace magic values by register field definitions
commit077388523620c7de05bac5fb98339bf3d101e6a5
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 22 May 2023 08:37:30 +0000 (22 10:37 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (31 19:47 +0200)
tree9a6d06c4a1b24d49b3ff54512ba337a4c4ec0ee7
parent22f7ff7f235d99032138338b4dc1037e97b83995
hw/char/pl011: Replace magic values by register field definitions

0x400 is Data Register Break Error (DR_BE),
0x10 is Line Control Register Fifo Enabled (LCR_FEN)
and 0x1 is Send Break (LCR_BRK).

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230522153144.30610-7-philmd@linaro.org>
hw/char/pl011.c