diff options
author | Richard Henderson <rth@twiddle.net> | 2011-08-11 16:07:14 -0700 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2011-10-02 16:14:01 +0200 |
commit | fb50cfe44dbff7be1489c5ecf5428aabd401f2e0 (patch) | |
tree | 737c44fe223d0a98a30ed36781413fb4715b7e42 /hw/ppc440.c | |
parent | 8e8ffc44e8d0a4a41e4b0bee8b1c2a3e1a11cfc4 (diff) | |
download | qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.zip qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.tar.gz qemu-fb50cfe44dbff7be1489c5ecf5428aabd401f2e0.tar.bz2 |
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/ppc440.c')
-rw-r--r-- | hw/ppc440.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc440.c b/hw/ppc440.c index 5885ff0..9dd9215 100644 --- a/hw/ppc440.c +++ b/hw/ppc440.c @@ -93,11 +93,11 @@ CPUState *ppc440ep_init(ram_addr_t *ram_size, PCIBus **pcip, if (serial_hds[0] != NULL) { serial_mm_init(0xef600300, 0, pic[0], PPC_SERIAL_MM_BAUDBASE, - serial_hds[0], 1, 1); + serial_hds[0], 1, DEVICE_BIG_ENDIAN); } if (serial_hds[1] != NULL) { serial_mm_init(0xef600400, 0, pic[1], PPC_SERIAL_MM_BAUDBASE, - serial_hds[1], 1, 1); + serial_hds[1], 1, DEVICE_BIG_ENDIAN); } return env; |