mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
serial: Use enum device_endian in serial_mm_init parameter
The use of DEVICE_NATIVE_ENDIAN cleans up lots of ifdefs in many of the callers. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
8e8ffc44e8
commit
fb50cfe44d
14 changed files with 38 additions and 84 deletions
|
@ -771,7 +771,7 @@ static void sun4uv_init(ram_addr_t RAM_size,
|
|||
i = 0;
|
||||
if (hwdef->console_serial_base) {
|
||||
serial_mm_init(hwdef->console_serial_base, 0, NULL, 115200,
|
||||
serial_hds[i], 1, 1);
|
||||
serial_hds[i], 1, DEVICE_BIG_ENDIAN);
|
||||
i++;
|
||||
}
|
||||
for(; i < MAX_SERIAL_PORTS; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue