From patchwork Tue Sep 13 08:46:37 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexander Graf X-Patchwork-Id: 114474 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8FDBBB71BB for ; Tue, 13 Sep 2011 18:45:43 +1000 (EST) Received: from localhost ([::1]:32956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3OcY-0000yI-Eb for incoming@patchwork.ozlabs.org; Tue, 13 Sep 2011 04:45:34 -0400 Received: from eggs.gnu.org ([140.186.70.92]:52992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3OcS-0000y9-UO for qemu-devel@nongnu.org; Tue, 13 Sep 2011 04:45:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R3OcR-0008Ag-So for qemu-devel@nongnu.org; Tue, 13 Sep 2011 04:45:28 -0400 Received: from cantor2.suse.de ([195.135.220.15]:44891 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R3OcR-0008AX-LM; Tue, 13 Sep 2011 04:45:27 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id C28F58B45E; Tue, 13 Sep 2011 10:45:26 +0200 (CEST) From: Alexander Graf To: qemu-devel Developers Date: Tue, 13 Sep 2011 10:46:37 +0200 Message-Id: <1315903597-10310-1-git-send-email-agraf@suse.de> X-Mailer: git-send-email 1.7.3.4 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 X-Received-From: 195.135.220.15 Cc: qemu-ppc@nongnu.org, Avi Kivity Subject: [Qemu-devel] [PATCH] PPC: Fix heathrow PIC to use little endian MMIO X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org During the memory API conversion, the indication on little endianness of MMIO for the heathrow PIC got dropped. This patch adds it back again. Signed-off-by: Alexander Graf --- hw/heathrow_pic.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/heathrow_pic.c b/hw/heathrow_pic.c index 51996ab..16f48d1 100644 --- a/hw/heathrow_pic.c +++ b/hw/heathrow_pic.c @@ -126,7 +126,7 @@ static uint64_t pic_read(void *opaque, target_phys_addr_t addr, static const MemoryRegionOps heathrow_pic_ops = { .read = pic_read, .write = pic_write, - .endianness = DEVICE_NATIVE_ENDIAN, + .endianness = DEVICE_LITTLE_ENDIAN, }; static void heathrow_pic_set_irq(void *opaque, int num, int level)