diff options
author | Richard Henderson | 2011-08-12 01:07:14 +0200 |
---|---|---|
committer | Avi Kivity | 2011-10-02 16:14:01 +0200 |
commit | fb50cfe44dbff7be1489c5ecf5428aabd401f2e0 (patch) | |
tree | 737c44fe223d0a98a30ed36781413fb4715b7e42 /hw/sun4u.c | |
parent | serial: Convert serial_mm_init to MemoryRegion (diff) | |
download | qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.tar.gz qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.tar.xz qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.zip |
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>
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r-- | hw/sun4u.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c index fbef350a44..b6d81710fe 100644 --- a/hw/sun4u.c +++ b/hw/sun4u.c @@ -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++) { |