From: Tim Deegan Subject: Re: [PATCH v2 4/8] xen/arm: New callback in uart_driver to retrieve serial information Date: Thu, 1 Aug 2013 12:03:28 +0100 Message-ID: <20130801110328.GD78039@ocelot.phlegethon.org> References: <1375285109-3053-1-git-send-email-julien.grall@linaro.org> <1375285109-3053-5-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1375285109-3053-5-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: patches@linaro.org, Keir Fraser , ian.campbell@citrix.com, stefano.stabellini@eu.citrix.com, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org At 16:38 +0100 on 31 Jul (1375288704), Julien Grall wrote: > --- a/xen/include/xen/serial.h > +++ b/xen/include/xen/serial.h > @@ -32,6 +32,14 @@ enum serial_port_state { > serial_initialized > }; > > +struct vuart_info { > + unsigned long base_addr; /* Base address of the UART */ Should this field be a paddr_t? Cheers, Tim. > + unsigned long size; /* Size of the memory region */ > + unsigned long data_off; /* Data register offset */ > + unsigned long status_off; /* Status register offset */ > + unsigned long status; /* Ready status value */ > +};