WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH] stubdom: use TARGET_PAGE_SIZE

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH] stubdom: use TARGET_PAGE_SIZE
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Tue, 21 Jul 2009 10:57:11 +0100
Cc: Ian, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Jackson <Ian.Jackson@xxxxxxxxxxxxx>
Delivery-date: Tue, 21 Jul 2009 02:57:31 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <200907201813.47155.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <200907201813.47155.Christoph.Egger@xxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
> diff --git a/xenfbfront.c b/xenfbfront.c
> index 32761a5..743c065 100644
> --- a/xenfbfront.c
> +++ b/xenfbfront.c
> @@ -28,6 +28,11 @@ static DisplayChangeListener *dcl;
>  
>  extern uint32_t vga_ram_size;
>  
> +#ifdef CONFIG_STUBDOM
> +#undef PAGE_SIZE
> +#define PAGE_SIZE TARGET_PAGE_SIZE
> +#endif
> +
>  int xenfb_connect_vkbd(const char *path)
>  {
>      kbd_path = strdup(path);
> 
> On Mon, 20 Jul 2009, Christoph Egger wrote:
> 

I think the correct way to fix this is to substitute all the occurrences
of PAGE_SIZE with XC_PAGE_SIZE in xenfbfront.c.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>