diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-03-30 17:36:23 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-03-30 17:36:23 +0000 |
commit | 2b5eb3712350d65d3eacb3ae468aae5e846b27b3 (patch) | |
tree | 1f2469c4689462cf69c441166b74d634e81e4aac /hw/heathrow_pic.c | |
parent | add85a76bb3b589ad38710ca24f5a10f1446d5e7 (diff) | |
download | qemu-2b5eb3712350d65d3eacb3ae468aae5e846b27b3.zip qemu-2b5eb3712350d65d3eacb3ae468aae5e846b27b3.tar.gz qemu-2b5eb3712350d65d3eacb3ae468aae5e846b27b3.tar.bz2 |
Compile most PPC devices only once
Make byte swapping unconditional since PPC is big endian.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/heathrow_pic.c')
-rw-r--r-- | hw/heathrow_pic.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c index f6174b1..5e27021 100644 --- a/hw/heathrow_pic.c +++ b/hw/heathrow_pic.c @@ -68,9 +68,7 @@ static void pic_writel (void *opaque, target_phys_addr_t addr, uint32_t value) HeathrowPIC *pic; unsigned int n; -#ifdef TARGET_WORDS_BIGENDIAN value = bswap32(value); -#endif n = ((addr & 0xfff) - 0x10) >> 4; PIC_DPRINTF("writel: " TARGET_FMT_plx " %u: %08x\n", addr, n, value); if (n >= 2) @@ -120,9 +118,7 @@ static uint32_t pic_readl (void *opaque, target_phys_addr_t addr) } } PIC_DPRINTF("readl: " TARGET_FMT_plx " %u: %08x\n", addr, n, value); -#ifdef TARGET_WORDS_BIGENDIAN value = bswap32(value); -#endif return value; } |