From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm4JK-0004FD-Kg for qemu-devel@nongnu.org; Tue, 13 Oct 2015 14:28:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm4JF-0001l9-LH for qemu-devel@nongnu.org; Tue, 13 Oct 2015 14:28:30 -0400 Received: from mail-wi0-x234.google.com ([2a00:1450:400c:c05::234]:36665) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm4JF-0001l4-F5 for qemu-devel@nongnu.org; Tue, 13 Oct 2015 14:28:25 -0400 Received: by wicgb1 with SMTP id gb1so200304427wic.1 for ; Tue, 13 Oct 2015 11:28:25 -0700 (PDT) Date: Tue, 13 Oct 2015 20:28:14 +0200 From: Beniamino Galvani Message-ID: <20151013182814.GA4175@gmail.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [Qemu-devel] [RFC 3/4] ahci: Add allwinner AHCI List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Crosthwaite Cc: jsnow@redhat.com, qemu-devel@nongnu.org, Peter Crosthwaite On Sun, Oct 11, 2015 at 09:21:35AM -0700, Peter Crosthwaite wrote: > --- a/hw/ide/ahci.c > +++ b/hw/ide/ahci.c > @@ -1692,9 +1692,107 @@ static const TypeInfo sysbus_ahci_info = { > .class_init = sysbus_ahci_class_init, > }; > > +#define ALLWINNER_AHCI_MMIO_OFF 0x80 > +#define ALLWINNER_AHCI_MMIO_SIZE 0x80 These are already defined in the header file. > +static const VMStateDescription vmstate_allwinner_ahci = { > + .name = "a10.pic", .name = "allwinner-ahci" ? Beniamino